From 614264c5f856b8a4ccdae5e779417ad1d3e24632 Mon Sep 17 00:00:00 2001 From: Po-Chuan Hsieh Date: Mon, 8 Sep 2025 06:36:31 +0800 Subject: devel/py-poetry: Update to 2.1.4 - Backport upstream commit to relax py-virtualenv Changes: https://github.com/python-poetry/poetry/releases https://python-poetry.org/history/ Obtained from: https://github.com/python-poetry/poetry/commit/9f276d3dab71ba741107a5a7f4efc12fdda5cb0b --- devel/py-poetry/files/patch-virtualenv | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 devel/py-poetry/files/patch-virtualenv (limited to 'devel/py-poetry/files/patch-virtualenv') diff --git a/devel/py-poetry/files/patch-virtualenv b/devel/py-poetry/files/patch-virtualenv new file mode 100644 index 000000000000..7c944365b029 --- /dev/null +++ b/devel/py-poetry/files/patch-virtualenv @@ -0,0 +1,25 @@ +Obtained from: https://github.com/python-poetry/poetry/commit/9f276d3dab71ba741107a5a7f4efc12fdda5cb0b + +--- pyproject.toml.orig 1970-01-01 00:00:00 UTC ++++ pyproject.toml +@@ -27,8 +27,7 @@ dependencies = [ + "tomlkit (>=0.11.4,<1.0.0)", + # trove-classifiers uses calver, so version is unclamped + "trove-classifiers (>=2022.5.19)", +- # upper pin as quickfix for https://github.com/python-poetry/poetry/issues/10490 +- "virtualenv (>=20.26.6,<20.33.0)", ++ "virtualenv (>=20.26.6)", + "xattr (>=1.0.0,<2.0.0) ; sys_platform == 'darwin'", + "findpython (>=0.6.2,<0.7.0)", + "pbs-installer[download,install] (>=2025.1.6,<2026.0.0)", +--- src/poetry/utils/env/env_manager.py.orig 1970-01-01 00:00:00 UTC ++++ src/poetry/utils/env/env_manager.py +@@ -532,7 +532,7 @@ class EnvManager: + args = [ + "--no-download", + "--no-periodic-update", +- "--try-first-with", ++ "--python", + executable_str or sys.executable, + ] + -- cgit v1.2.3