Skip to content

Commit 0bb07dd

Browse files
authored
Merge pull request #301 from bgilbert/pep_625
setuptools 69.3+ normalizes sdist name to `openslide_python`
2 parents d65b24a + 7d0efd7 commit 0bb07dd

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

.github/workflows/python.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -283,14 +283,14 @@ jobs:
283283
run: |
284284
version=$(echo "${{ github.ref_name }}" | sed "s/^v//")
285285
# recompress tarball with xz
286-
gunzip -k "${{ needs.pre-commit.outputs.dist-base }}/openslide-python-${version}.tar.gz"
287-
tar xf "${{ needs.pre-commit.outputs.dist-base }}/openslide-python-${version}.tar"
288-
xz -9 "${{ needs.pre-commit.outputs.dist-base }}/openslide-python-${version}.tar"
286+
gunzip -k "${{ needs.pre-commit.outputs.dist-base }}/openslide_python-${version}.tar.gz"
287+
tar xf "${{ needs.pre-commit.outputs.dist-base }}/openslide_python-${version}.tar"
288+
xz -9 "${{ needs.pre-commit.outputs.dist-base }}/openslide_python-${version}.tar"
289289
# extract changelog
290290
awk -e '/^## / && ok {exit}' \
291291
-e '/^## / {ok=1; next}' \
292292
-e 'ok {print}' \
293-
"openslide-python-$version/CHANGELOG.md" > changes
293+
"openslide_python-$version/CHANGELOG.md" > changes
294294
gh release create --latest --verify-tag \
295295
--repo "${{ github.repository }}" \
296296
--title "OpenSlide Python $version" \

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
### Changes
1414

1515
* Drop wheel for 32-bit Windows
16+
* Rename source distribution to `openslide_python` per [PEP 625][]
1617
* Require `AbstractSlide` subclasses to implement all abstract methods
1718
* Provide default `AbstractSlide.set_cache()` implementation
1819
* Switch to [PEP 621][] project metadata
@@ -29,6 +30,7 @@
2930
* docs: Fix types of properties that return tuples of items
3031

3132
[installed from PyPI]: https://pypi.org/project/openslide-bin/
33+
[PEP 625]: https://peps.python.org/pep-0625/
3234
[PEP 621]: https://peps.python.org/pep-0621/
3335
[Python filesystem encoding]: https://docs.python.org/3/glossary.html#term-filesystem-encoding-and-error-handler
3436

0 commit comments

Comments
 (0)