Skip to content

Commit 9f276d3

Browse files
authored
allow virtualenv >= 20.33.0 again (#10506)
1 parent 68ea7c8 commit 9f276d3

File tree

3 files changed

+10
-10
lines changed

3 files changed

+10
-10
lines changed

poetry.lock

Lines changed: 8 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,7 @@ dependencies = [
2727
"tomlkit (>=0.11.4,<1.0.0)",
2828
# trove-classifiers uses calver, so version is unclamped
2929
"trove-classifiers (>=2022.5.19)",
30-
# upper pin as quickfix for https://github.com/python-poetry/poetry/issues/10490
31-
"virtualenv (>=20.26.6,<20.33.0)",
30+
"virtualenv (>=20.26.6)",
3231
"xattr (>=1.0.0,<2.0.0) ; sys_platform == 'darwin'",
3332
"findpython (>=0.6.2,<0.7.0)",
3433
"pbs-installer[download,install] (>=2025.1.6,<2026.0.0)",

src/poetry/utils/env/env_manager.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -532,7 +532,7 @@ def build_venv(
532532
args = [
533533
"--no-download",
534534
"--no-periodic-update",
535-
"--try-first-with",
535+
"--python",
536536
executable_str or sys.executable,
537537
]
538538

0 commit comments

Comments
 (0)