Skip to content

Commit 970428a

Browse files
authored
Update setuptools to 75.1.0 (#17943)
https://setuptools.pypa.io/en/stable/history.html#v75-1-0 Since setuptools `70.1` the `bdist_wheel` command is shipped with setuptools directly. It's no longer necessary to specify `wheel` as a build system requirement.
1 parent 80b5913 commit 970428a

File tree

4 files changed

+6
-7
lines changed

4 files changed

+6
-7
lines changed

.github/workflows/test.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ jobs:
183183
echo debug build; python -c 'import sysconfig; print(bool(sysconfig.get_config_var("Py_DEBUG")))'
184184
echo os.cpu_count; python -c 'import os; print(os.cpu_count())'
185185
echo os.sched_getaffinity; python -c 'import os; print(len(getattr(os, "sched_getaffinity", lambda *args: [])(0)))'
186-
pip install setuptools==68.2.2 tox==4.11.0
186+
pip install setuptools==75.1.0 tox==4.11.0
187187
188188
- name: Compiled with mypyc
189189
if: ${{ matrix.test_mypyc }}
@@ -243,7 +243,7 @@ jobs:
243243
default: 3.11.1
244244
command: python -c "import platform; print(f'{platform.architecture()=} {platform.machine()=}');"
245245
- name: Install tox
246-
run: pip install setuptools==68.2.2 tox==4.11.0
246+
run: pip install setuptools==75.1.0 tox==4.11.0
247247
- name: Setup tox environment
248248
run: tox run -e py --notest
249249
- name: Test

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@ requires = [
33
# NOTE: this needs to be kept in sync with mypy-requirements.txt
44
# and build-requirements.txt, because those are both needed for
55
# self-typechecking :/
6-
"setuptools >= 40.6.2",
7-
"wheel >= 0.30.0",
6+
"setuptools >= 75.1.0",
87
# the following is from mypy-requirements.txt/setup.py
98
"typing_extensions>=4.6.0",
109
"mypy_extensions>=1.0.0",

test-requirements.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,6 @@ pytest>=8.1.0
1313
pytest-xdist>=1.34.0
1414
pytest-cov>=2.10.0
1515
ruff==0.6.9 # must match version in .pre-commit-config.yaml
16-
setuptools>=65.5.1
16+
setuptools>=75.1.0
1717
tomli>=1.1.0 # needed even on py311+ so the self check passes with --python-version 3.8
1818
pre_commit>=3.5.0

test-requirements.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,13 @@ tomli==2.0.2
6767
# via -r test-requirements.in
6868
types-psutil==6.0.0.20241011
6969
# via -r build-requirements.txt
70-
types-setuptools==68.2.0.0
70+
types-setuptools==75.1.0.20241014
7171
# via -r build-requirements.txt
7272
typing-extensions==4.12.2
7373
# via -r mypy-requirements.txt
7474
virtualenv==20.26.6
7575
# via pre-commit
7676

7777
# The following packages are considered to be unsafe in a requirements file:
78-
setuptools==70.0.0
78+
setuptools==75.1.0
7979
# via -r test-requirements.in

0 commit comments

Comments
 (0)