Skip to content

Commit 5c11e29

Browse files
committed
Update build/setuptools sdist CI checks
setuptools has been fixed to canonicalize the package name in sdist names per the sdist spec (PEP 625). This requires that hyphens convert to underscores. Testing use of that sdist requires correct naming to match, naturally.
1 parent aad4ca4 commit 5c11e29

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/build.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,11 +51,11 @@ jobs:
5151
python -m build --sdist
5252
version="$(grep '^version' setup.cfg | cut -d '=' -f2 | tr -d ' ')"
5353
cd dist
54-
tar -xzf "check-jsonschema-${version}.tar.gz"
54+
tar -xzf "check_jsonschema-${version}.tar.gz"
5555
- name: test
5656
run: |
5757
version="$(grep '^version' setup.cfg | cut -d '=' -f2 | tr -d ' ')"
58-
cd "dist/check-jsonschema-${version}"
58+
cd "dist/check_jsonschema-${version}"
5959
python -m tox run -m ci
6060
6161
ci-test-matrix:

0 commit comments

Comments
 (0)