Skip to content

Bump setuptools version #2900

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 21, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions docs/changelog/2900.bugfix.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Upgrade embedded setuptools to ``80.9.0`` from ``80.3.1`` - by :user:`gaborbernat`.
12 changes: 6 additions & 6 deletions src/virtualenv/seed/wheels/embed/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,27 +13,27 @@
},
"3.9": {
"pip": "pip-25.1.1-py3-none-any.whl",
"setuptools": "setuptools-80.3.1-py3-none-any.whl",
"setuptools": "setuptools-80.9.0-py3-none-any.whl",
},
"3.10": {
"pip": "pip-25.1.1-py3-none-any.whl",
"setuptools": "setuptools-80.3.1-py3-none-any.whl",
"setuptools": "setuptools-80.9.0-py3-none-any.whl",
},
"3.11": {
"pip": "pip-25.1.1-py3-none-any.whl",
"setuptools": "setuptools-80.3.1-py3-none-any.whl",
"setuptools": "setuptools-80.9.0-py3-none-any.whl",
},
"3.12": {
"pip": "pip-25.1.1-py3-none-any.whl",
"setuptools": "setuptools-80.3.1-py3-none-any.whl",
"setuptools": "setuptools-80.9.0-py3-none-any.whl",
},
"3.13": {
"pip": "pip-25.1.1-py3-none-any.whl",
"setuptools": "setuptools-80.3.1-py3-none-any.whl",
"setuptools": "setuptools-80.9.0-py3-none-any.whl",
},
"3.14": {
"pip": "pip-25.1.1-py3-none-any.whl",
"setuptools": "setuptools-80.3.1-py3-none-any.whl",
"setuptools": "setuptools-80.9.0-py3-none-any.whl",
},
}
MAX = "3.8"
Expand Down
Binary file not shown.
7 changes: 5 additions & 2 deletions tasks/upgrade_wheels.py
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,13 @@ def run(): # noqa: C901, PLR0912
def get_embed_wheel(distribution, for_py_version):
path = BUNDLE_FOLDER / (BUNDLE_SUPPORT.get(for_py_version, {{}}) or BUNDLE_SUPPORT[MAX]).get(distribution)
mapping = BUNDLE_SUPPORT.get(for_py_version, {{}}) or BUNDLE_SUPPORT[MAX]
wheel_file = mapping.get(distribution)
if wheel_file is None:
return None
path = BUNDLE_FOLDER / wheel_file
return Wheel.from_path(path)
__all__ = [
"get_embed_wheel",
"BUNDLE_SUPPORT",
Expand Down
18 changes: 9 additions & 9 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
requires =
tox>=4.2
tox>=4.28
env_list =
fix
pypy3
Expand Down Expand Up @@ -46,17 +46,17 @@ uv_seed = true
description = format the code base to adhere to our styles, and complain about what we cannot do automatically
skip_install = true
deps =
pre-commit-uv>=4.1.1
pre-commit-uv>=4.1.4
commands =
pre-commit run --all-files --show-diff-on-failure

[testenv:readme]
description = check that the long description is valid
skip_install = true
deps =
check-wheel-contents>=0.6
twine>=5.1.1
uv>=0.4.10
check-wheel-contents>=0.6.2
twine>=6.1
uv>=0.8
commands =
uv build --sdist --wheel --out-dir {envtmpdir} .
twine check {envtmpdir}{/}*
Expand All @@ -77,7 +77,7 @@ base_python = {env:TOX_BASEPYTHON}
description = upgrade pip/wheels/setuptools to latest
skip_install = true
deps =
ruff>=0.6.5
ruff>=0.12.4
pass_env =
UPGRADE_ADVISORY
change_dir = {toxinidir}/tasks
Expand All @@ -88,8 +88,8 @@ uv_seed = true
[testenv:release]
description = do a release, required posarg of the version number
deps =
gitpython>=3.1.43
packaging>=24.1
gitpython>=3.1.44
packaging>=25
towncrier>=24.8
change_dir = {toxinidir}/tasks
commands =
Expand All @@ -109,7 +109,7 @@ commands =
description = generate a zipapp
skip_install = true
deps =
packaging>=24.1
packaging>=25
commands =
python tasks/make_zipapp.py
uv_seed = true
Loading