Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 6c5d30a

Browse files
authoredMar 10, 2025
[FIX] name of distribution conform to PEP 625 (#916)
* [skip ci] pin twine version * [skip ci] fix issue with markdown instead * add long desription file * update setuptools to work with pep 625
1 parent e57b021 commit 6c5d30a

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed
 

‎.github/workflows/python-publish.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,9 @@ jobs:
2121
- name: Install dependencies
2222
run: |
2323
python -m pip install --upgrade pip
24-
pip install setuptools wheel twine
24+
pip install setuptools==69.5.1 wheel twine
25+
# pinned setuptools version to support PEP 625
26+
# https://github.com/pypa/setuptools/blob/main/NEWS.rst#v6930
2527
- name: Build and publish
2628
env:
2729
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}

‎pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
[build-system]
2-
requires = ["setuptools==68.2.2", "wheel"]
2+
requires = ["setuptools==69.5.1", "wheel"]
33

44
[tool.black]
55
line-length = 99

0 commit comments

Comments
 (0)
Please sign in to comment.