Skip to content

Commit a26f906

Browse files
committed
build: Remove workaround for hatchling upgrades
Apparently Dependabot now supports upgrading build-system.requires. Signed-off-by: Jussi Kukkonen <[email protected]>
1 parent 39388c3 commit a26f906

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

.github/workflows/cd.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ jobs:
3333

3434
- name: Build binary wheel, source tarball and changelog
3535
run: |
36-
PIP_CONSTRAINT=requirements/build.txt python3 -m build --sdist --wheel --outdir dist/ .
36+
python3 -m build --sdist --wheel --outdir dist/ .
3737
awk "/## $GITHUB_REF_NAME/{flag=1; next} /## v/{flag=0} flag" docs/CHANGELOG.md > changelog
3838
3939
- name: Store build artifacts

pyproject.toml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
[build-system]
2-
# Dependabot cannot do `build-system.requires` (dependabot/dependabot-core#8465)
3-
# workaround to get reproducibility and auto-updates:
4-
# PIP_CONSTRAINT=requirements/build.txt python3 -m build ...
5-
requires = ["hatchling"]
2+
requires = ["hatchling==1.27.0"]
63
build-backend = "hatchling.build"
74

85
[project]

requirements/build.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,3 @@
22
# during CI and CD Github workflows
33
build==1.2.2.post1
44
tox==4.1.2
5-
hatchling==1.27.0

0 commit comments

Comments
 (0)