Skip to content

Commit 830c8c8

Browse files
committed
Bump setuptools version
Signed-off-by: Bernát Gábor <[email protected]>
1 parent 430eb4b commit 830c8c8

File tree

5 files changed

+21
-17
lines changed

5 files changed

+21
-17
lines changed

docs/changelog/2900.bugfix.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Upgrade embedded setuptools to ``80.9.0`` from ``80.3.1`` - by :user:`gaborbernat`.

src/virtualenv/seed/wheels/embed/__init__.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,27 @@
1313
},
1414
"3.9": {
1515
"pip": "pip-25.1.1-py3-none-any.whl",
16-
"setuptools": "setuptools-80.3.1-py3-none-any.whl",
16+
"setuptools": "setuptools-80.9.0-py3-none-any.whl",
1717
},
1818
"3.10": {
1919
"pip": "pip-25.1.1-py3-none-any.whl",
20-
"setuptools": "setuptools-80.3.1-py3-none-any.whl",
20+
"setuptools": "setuptools-80.9.0-py3-none-any.whl",
2121
},
2222
"3.11": {
2323
"pip": "pip-25.1.1-py3-none-any.whl",
24-
"setuptools": "setuptools-80.3.1-py3-none-any.whl",
24+
"setuptools": "setuptools-80.9.0-py3-none-any.whl",
2525
},
2626
"3.12": {
2727
"pip": "pip-25.1.1-py3-none-any.whl",
28-
"setuptools": "setuptools-80.3.1-py3-none-any.whl",
28+
"setuptools": "setuptools-80.9.0-py3-none-any.whl",
2929
},
3030
"3.13": {
3131
"pip": "pip-25.1.1-py3-none-any.whl",
32-
"setuptools": "setuptools-80.3.1-py3-none-any.whl",
32+
"setuptools": "setuptools-80.9.0-py3-none-any.whl",
3333
},
3434
"3.14": {
3535
"pip": "pip-25.1.1-py3-none-any.whl",
36-
"setuptools": "setuptools-80.3.1-py3-none-any.whl",
36+
"setuptools": "setuptools-80.9.0-py3-none-any.whl",
3737
},
3838
}
3939
MAX = "3.8"

tasks/upgrade_wheels.py

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -109,10 +109,13 @@ def run(): # noqa: C901, PLR0912
109109
110110
111111
def get_embed_wheel(distribution, for_py_version):
112-
path = BUNDLE_FOLDER / (BUNDLE_SUPPORT.get(for_py_version, {{}}) or BUNDLE_SUPPORT[MAX]).get(distribution)
112+
mapping = BUNDLE_SUPPORT.get(for_py_version, {{}}) or BUNDLE_SUPPORT[MAX]
113+
wheel_file = mapping.get(distribution)
114+
if wheel_file is None:
115+
return None
116+
path = BUNDLE_FOLDER / wheel_file
113117
return Wheel.from_path(path)
114118
115-
116119
__all__ = [
117120
"get_embed_wheel",
118121
"BUNDLE_SUPPORT",

tox.ini

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
requires =
3-
tox>=4.2
3+
tox>=4.28
44
env_list =
55
fix
66
pypy3
@@ -46,17 +46,17 @@ uv_seed = true
4646
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
4747
skip_install = true
4848
deps =
49-
pre-commit-uv>=4.1.1
49+
pre-commit-uv>=4.1.4
5050
commands =
5151
pre-commit run --all-files --show-diff-on-failure
5252

5353
[testenv:readme]
5454
description = check that the long description is valid
5555
skip_install = true
5656
deps =
57-
check-wheel-contents>=0.6
58-
twine>=5.1.1
59-
uv>=0.4.10
57+
check-wheel-contents>=0.6.2
58+
twine>=6.1
59+
uv>=0.8
6060
commands =
6161
uv build --sdist --wheel --out-dir {envtmpdir} .
6262
twine check {envtmpdir}{/}*
@@ -77,7 +77,7 @@ base_python = {env:TOX_BASEPYTHON}
7777
description = upgrade pip/wheels/setuptools to latest
7878
skip_install = true
7979
deps =
80-
ruff>=0.6.5
80+
ruff>=0.12.4
8181
pass_env =
8282
UPGRADE_ADVISORY
8383
change_dir = {toxinidir}/tasks
@@ -88,8 +88,8 @@ uv_seed = true
8888
[testenv:release]
8989
description = do a release, required posarg of the version number
9090
deps =
91-
gitpython>=3.1.43
92-
packaging>=24.1
91+
gitpython>=3.1.44
92+
packaging>=25
9393
towncrier>=24.8
9494
change_dir = {toxinidir}/tasks
9595
commands =
@@ -109,7 +109,7 @@ commands =
109109
description = generate a zipapp
110110
skip_install = true
111111
deps =
112-
packaging>=24.1
112+
packaging>=25
113113
commands =
114114
python tasks/make_zipapp.py
115115
uv_seed = true

0 commit comments

Comments
 (0)