From 97cf27d08c8616270ffcb0c33d759cd6b770d51a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Mon, 13 Apr 2026 04:48:30 +0200 Subject: [PATCH] dev-python/poetry: Bump to 2.3.4 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/poetry/Manifest | 2 + dev-python/poetry/poetry-2.3.4.ebuild | 82 +++++++++++++++++++++++++++ 2 files changed, 84 insertions(+) create mode 100644 dev-python/poetry/poetry-2.3.4.ebuild diff --git a/dev-python/poetry/Manifest b/dev-python/poetry/Manifest index ce32ab3b24c87..9176823b9cd69 100644 --- a/dev-python/poetry/Manifest +++ b/dev-python/poetry/Manifest @@ -2,3 +2,5 @@ DIST poetry-2.3.2.tar.gz 3462586 BLAKE2B 6cb2adcc4b725ad5abe868e60a4ce22a715d498 DIST poetry-2.3.2.tar.gz.provenance 9442 BLAKE2B 86298b07138ca0369bb234a43e527067d8f801271a4c8b772fc1dda9820d05351abb9a1d9d016cf584db882747f2c8ed79562b35c5a7f21962253ec2c49dddda SHA512 7a78ad74af4b241954afc4ee4b72f8b5a1bead50dc4c9e35ccf3d3b3299e6673e86a4f8de9264d27975dd2e5eb360f9649e8ff5511d3d35e2757add38bb397cd DIST poetry-2.3.3.tar.gz 3465814 BLAKE2B e9447c2cf5e4dc67fee721567433e0a3a5c2a1c9bad95aedc255f50bc3b399ced296b5b71730b7da227449a1937cba122c04378e649177b1e699fc5b69cc6f94 SHA512 ace6168aeb4f4ea89ce6c08f8ad2833baa115ba55e90580275774b2c999efa5299b4390778e74ad871a2c0eb43bf25e08d84f3a5bad97290b5970f3b503162d5 DIST poetry-2.3.3.tar.gz.provenance 9763 BLAKE2B 90f8dafa4453e8229da3abc190c88bb21c014ebc54a49e33bb38cc1df0dac1d0eadc6f0310d88e079f629e25b5756c4cc65d5c5a386cb604e1813b0b13500e7b SHA512 699413f9722ab6cf1a9d6012f84cc86910aece4fc85c1cd831ba1c0db06363eb84bea31eb0473755596d9d8c018a1f3bd4c8870f0777d7b58ef9e32a9ce3c1c3 +DIST poetry-2.3.4.tar.gz 3467967 BLAKE2B 178243c66673b2a447552c3747b0bd4474c486b4f99b104fab5ae37ccfe813a0f2c71b5a5fbaec9f3220a864406f367606d6c55581c91274eeccbabde8ddc82b SHA512 331e8225568e7080d22a4fe85520dedcf73db09aa7638d55e3af52df1104d1f8ea158b76197799ecbc792c4657bd88c87bcb759ab8225cb34aa467178371d503 +DIST poetry-2.3.4.tar.gz.provenance 9293 BLAKE2B 7ea6dd2b4aaf8be261b8f8356cfb4e06626befe7140a9a3337d5a4c75ab13142f1888327c0ac6abac73387409b762576c812ea3efde4042cc625f2c77bf44147 SHA512 20dd95f18e65262c2f4e628d4becd572c0e49b8f29395220a3894b4d2f077583c21d70b2f1c383bd458460dbfb1f6fe87b508ec010ae870665ee5f3d44f658ba diff --git a/dev-python/poetry/poetry-2.3.4.ebuild b/dev-python/poetry/poetry-2.3.4.ebuild new file mode 100644 index 0000000000000..586e55775a36a --- /dev/null +++ b/dev-python/poetry/poetry-2.3.4.ebuild @@ -0,0 +1,82 @@ +# Copyright 2023-2026 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYPI_VERIFY_REPO=https://github.com/python-poetry/poetry +PYTHON_COMPAT=( python3_{11..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="A frontend for poetry - a python dependency management and packaging tool" +HOMEPAGE=" + https://python-poetry.org/ + https://github.com/python-poetry/poetry/ + https://pypi.org/project/poetry/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~x86" + +RDEPEND=" + =dev-python/poetry-core-$(ver_cut 1-2)*[${PYTHON_USEDEP}] + >=dev-python/poetry-plugin-export-1.6.0[${PYTHON_USEDEP}] + >=dev-python/build-1.2.1[${PYTHON_USEDEP}] + >=dev-python/cachecontrol-0.14.0[${PYTHON_USEDEP}] + >=dev-python/cleo-2.1.0[${PYTHON_USEDEP}] + >=dev-python/dulwich-0.25.0[${PYTHON_USEDEP}] + >=dev-python/fastjsonschema-2.18.0[${PYTHON_USEDEP}] + >=dev-python/findpython-0.6.2[${PYTHON_USEDEP}] + >=dev-python/installer-0.7.0[${PYTHON_USEDEP}] + >=dev-python/keyring-25.1.0[${PYTHON_USEDEP}] + >=dev-python/packaging-24.2[${PYTHON_USEDEP}] + >=dev-python/pbs-installer-2025.06.10[${PYTHON_USEDEP}] + >=dev-python/pkginfo-1.12[${PYTHON_USEDEP}] + >=dev-python/platformdirs-3.0.0[${PYTHON_USEDEP}] + >=dev-python/requests-2.26[${PYTHON_USEDEP}] + >=dev-python/requests-toolbelt-1.0.0[${PYTHON_USEDEP}] + >=dev-python/shellingham-1.5.0[${PYTHON_USEDEP}] + >=dev-python/tomlkit-0.11.6[${PYTHON_USEDEP}] + >=dev-python/trove-classifiers-2022.5.19[${PYTHON_USEDEP}] + >=dev-python/virtualenv-20.26.6[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + >=dev-python/deepdiff-6.3.1[${PYTHON_USEDEP}] + >=dev-python/jaraco-classes-3.3.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] + dev-python/responses[${PYTHON_USEDEP}] + ) +" + +EPYTEST_PLUGINS=( pytest-mock ) +EPYTEST_RERUNS=5 +EPYTEST_XDIST=1 +distutils_enable_tests pytest + +EPYTEST_DESELECT=( + # Internal test for lockfile being up-to-date + # Meaningless, also sdist does not include lockfile + tests/installation/test_installer.py::test_not_fresh_lock + + # broken if poetry-plugin-export is installed + 'tests/console/test_application_command_not_found.py::test_application_command_not_found_messages[x-None]' + + # whitespace differences + # https://github.com/python-poetry/poetry/issues/10796 + 'tests/console/commands/python/test_python_list.py::test_list_poetry_managed[False]' +) + +src_prepare() { + # unpin + sed -e 's:,<[0-9.]*::' -e 's:==\([0-9]\):>=\1:' -i pyproject.toml || die + + distutils-r1_src_prepare +} + +python_test() { + epytest -m "not network" +}