Skip to content

Commit 2a149ec

Browse files
authored
Bump embeded wheels (#2741)
Signed-off-by: Bernát Gábor <[email protected]>
1 parent bd91d48 commit 2a149ec

File tree

10 files changed

+33
-22
lines changed

10 files changed

+33
-22
lines changed

.github/workflows/check.yml

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
fail-fast: false
2323
matrix:
2424
py:
25-
- "3.13.0-alpha.6"
25+
- "3.13.0-beta.2"
2626
- "3.12"
2727
- "3.11"
2828
- "3.10"
@@ -46,6 +46,9 @@ jobs:
4646
- { os: ubuntu-latest, py: "pypy-3.7" }
4747
- { os: windows-latest, py: "pypy-3.7" }
4848
- { os: macos-12, py: "pypy-3.7" }
49+
exclude:
50+
- { os: windows-latest, py: "pypy-3.10" }
51+
- { os: windows-latest, py: "pypy-3.9" }
4952
steps:
5053
- uses: taiki-e/install-action@cargo-binstall
5154
- name: Install OS dependencies

.pre-commit-config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ repos:
2424
hooks:
2525
- id: pyproject-fmt
2626
- repo: https://github.com/astral-sh/ruff-pre-commit
27-
rev: "v0.4.9"
27+
rev: "v0.4.10"
2828
hooks:
2929
- id: ruff-format
3030
- id: ruff

docs/changelog/2741.bugfix.rst

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
Upgrade embedded wheels:
2+
3+
* setuptools to ``70.1.0`` from ``69.5.1``
4+
* pip to ``24.1``from ``24.0``

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ optional-dependencies.test = [
6464
"packaging>=23.1",
6565
"pytest>=7.4",
6666
"pytest-env>=0.8.2",
67-
"pytest-freezer>=0.4.8; platform_python_implementation=='PyPy'",
67+
"pytest-freezer>=0.4.8; platform_python_implementation=='PyPy' or (platform_python_implementation=='CPython' and sys_platform=='win32' and python_version>='3.13')",
6868
"pytest-mock>=3.11.1",
6969
"pytest-randomly>=3.12",
7070
"pytest-timeout>=2.1",

src/virtualenv/discovery/builtin.py

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -164,11 +164,10 @@ def get_paths(env: Mapping[str, str]) -> Generator[Path, None, None]:
164164
path = os.confstr("CS_PATH")
165165
except (AttributeError, ValueError):
166166
path = os.defpath
167-
if not path:
168-
return None
169-
for p in map(Path, path.split(os.pathsep)):
170-
if p.exists():
171-
yield p
167+
if path:
168+
for p in map(Path, path.split(os.pathsep)):
169+
if p.exists():
170+
yield p
172171

173172

174173
class LazyPathDump:

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

Lines changed: 17 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -12,33 +12,38 @@
1212
"wheel": "wheel-0.42.0-py3-none-any.whl",
1313
},
1414
"3.8": {
15-
"pip": "pip-24.0-py3-none-any.whl",
16-
"setuptools": "setuptools-69.5.1-py3-none-any.whl",
15+
"pip": "pip-24.1-py3-none-any.whl",
16+
"setuptools": "setuptools-70.1.0-py3-none-any.whl",
1717
"wheel": "wheel-0.43.0-py3-none-any.whl",
1818
},
1919
"3.9": {
20-
"pip": "pip-24.0-py3-none-any.whl",
21-
"setuptools": "setuptools-69.5.1-py3-none-any.whl",
20+
"pip": "pip-24.1-py3-none-any.whl",
21+
"setuptools": "setuptools-70.1.0-py3-none-any.whl",
2222
"wheel": "wheel-0.43.0-py3-none-any.whl",
2323
},
2424
"3.10": {
25-
"pip": "pip-24.0-py3-none-any.whl",
26-
"setuptools": "setuptools-69.5.1-py3-none-any.whl",
25+
"pip": "pip-24.1-py3-none-any.whl",
26+
"setuptools": "setuptools-70.1.0-py3-none-any.whl",
2727
"wheel": "wheel-0.43.0-py3-none-any.whl",
2828
},
2929
"3.11": {
30-
"pip": "pip-24.0-py3-none-any.whl",
31-
"setuptools": "setuptools-69.5.1-py3-none-any.whl",
30+
"pip": "pip-24.1-py3-none-any.whl",
31+
"setuptools": "setuptools-70.1.0-py3-none-any.whl",
3232
"wheel": "wheel-0.43.0-py3-none-any.whl",
3333
},
3434
"3.12": {
35-
"pip": "pip-24.0-py3-none-any.whl",
36-
"setuptools": "setuptools-69.5.1-py3-none-any.whl",
35+
"pip": "pip-24.1-py3-none-any.whl",
36+
"setuptools": "setuptools-70.1.0-py3-none-any.whl",
3737
"wheel": "wheel-0.43.0-py3-none-any.whl",
3838
},
3939
"3.13": {
40-
"pip": "pip-24.0-py3-none-any.whl",
41-
"setuptools": "setuptools-69.5.1-py3-none-any.whl",
40+
"pip": "pip-24.1-py3-none-any.whl",
41+
"setuptools": "setuptools-70.1.0-py3-none-any.whl",
42+
"wheel": "wheel-0.43.0-py3-none-any.whl",
43+
},
44+
"3.14": {
45+
"pip": "pip-24.1-py3-none-any.whl",
46+
"setuptools": "setuptools-70.1.0-py3-none-any.whl",
4247
"wheel": "wheel-0.43.0-py3-none-any.whl",
4348
},
4449
}
Binary file not shown.

tasks/upgrade_wheels.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
STRICT = "UPGRADE_ADVISORY" not in os.environ
1616

1717
BUNDLED = ["pip", "setuptools", "wheel"]
18-
SUPPORT = [(3, i) for i in range(7, 14)]
18+
SUPPORT = [(3, i) for i in range(7, 15)]
1919
DEST = Path(__file__).resolve().parents[1] / "src" / "virtualenv" / "seed" / "wheels" / "embed"
2020

2121

tests/conftest.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -351,7 +351,7 @@ def _skip_if_test_in_system(session_app_data):
351351
pytest.skip("test not valid if run under system")
352352

353353

354-
if IS_PYPY:
354+
if IS_PYPY or (IS_WIN and sys.version_info[0:2] >= (3, 13)): # https://github.com/adamchainz/time-machine/issues/456
355355

356356
@pytest.fixture()
357357
def time_freeze(freezer):

0 commit comments

Comments
 (0)