commit: 81c865c5ac2fbcb4f1bc3f4048cb71682cf7baef Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Mon Feb 2 04:03:27 2026 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Mon Feb 2 04:03:27 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=81c865c5
dev-python/poetry: Bump to 2.3.2 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> dev-python/poetry/Manifest | 2 + dev-python/poetry/poetry-2.3.2.ebuild | 88 +++++++++++++++++++++++++++++++++++ 2 files changed, 90 insertions(+) diff --git a/dev-python/poetry/Manifest b/dev-python/poetry/Manifest index 77c8a5262c2f..558ed85e876a 100644 --- a/dev-python/poetry/Manifest +++ b/dev-python/poetry/Manifest @@ -3,3 +3,5 @@ DIST poetry-2.3.0.tar.gz 3462277 BLAKE2B 83f307ae58bea60d69c0acb8a28b9c989d1add2 DIST poetry-2.3.0.tar.gz.provenance 9524 BLAKE2B fe89ab58ba2fb9d0cbf9d79967254946543ae22ba2375b877f7a01f15f3c4f7a722547de1b94709df9f92ad868da820211f5250563377d63ed98a57a9594a8c3 SHA512 fe291e605649aba9150adf4bcc19c1b05ef9100b60d03fd7c3d84419e8f8944dfa8109c6165fa784aa66c20ca7f924ed8e0c27378d1a0bce7c11103cf97323a6 DIST poetry-2.3.1.tar.gz 3462579 BLAKE2B ebe239465c8b20e3019b0b83d7e41a89c975266366db34bd14cdc21cffe0790c784c148b677b3bd8f7291ec62d453fc0a2b654c6a994e727d39fdb3f85f86154 SHA512 801a1c56b5bd9e6823d2a2a0ae9b2f8ceecdeebc4d2d1f101ec8649df554ab0dfddef3295db7fb1a199010e575dedbbd043743c28ea5df77999b7f1791e226b0 DIST poetry-2.3.1.tar.gz.provenance 9442 BLAKE2B 558f1664ad9309e42d2f5c7ebab79d6470ef9f66fbc6dd0c30621815af0a442ff63294cea54a4d076271a6b16c5bba79a4762acd4135bd82230d9c189f26faea SHA512 288fe88526b199ecb97566ab8b38bc39ae93c46c28cc8f21eb4ecd7f0623279e5e14a88942061b07bce4aff4172069df2d5493d7d1d26a90ab90fd22e7e11f34 +DIST poetry-2.3.2.tar.gz 3462586 BLAKE2B 6cb2adcc4b725ad5abe868e60a4ce22a715d498ba9a5b7964cc73387c02615a6acb110630d04e9ac0cc0a9c0d82cc4985bc894880604eb55fa9afa22b0dc3d2e SHA512 3a7206206c454b348fdcbd54ae253e3b56fa2d2d1ffd57efc0270afc8777b08762ab8a11596c092d6ca180d36f3e96b74e5f90ef6bc7aeebad001e45fd1c4d98 +DIST poetry-2.3.2.tar.gz.provenance 9442 BLAKE2B 86298b07138ca0369bb234a43e527067d8f801271a4c8b772fc1dda9820d05351abb9a1d9d016cf584db882747f2c8ed79562b35c5a7f21962253ec2c49dddda SHA512 7a78ad74af4b241954afc4ee4b72f8b5a1bead50dc4c9e35ccf3d3b3299e6673e86a4f8de9264d27975dd2e5eb360f9649e8ff5511d3d35e2757add38bb397cd diff --git a/dev-python/poetry/poetry-2.3.2.ebuild b/dev-python/poetry/poetry-2.3.2.ebuild new file mode 100644 index 000000000000..51ca4600dab6 --- /dev/null +++ b/dev-python/poetry/poetry-2.3.2.ebuild @@ -0,0 +1,88 @@ +# 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-2.3.1[${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/httpretty-1.1[${PYTHON_USEDEP}] + >=dev-python/jaraco-classes-3.3.1[${PYTHON_USEDEP}] + >=dev-python/pytest-mock-3.9[${PYTHON_USEDEP}] + dev-python/pytest-rerunfailures[${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]' + + # TODO + tests/console/commands/env/test_activate.py::test_no_additional_output_in_verbose_mode + tests/installation/test_executor.py::test_executor_known_hashes + tests/puzzle/test_provider.py::test_search_for_directory_setup_read_setup_with_no_dependencies + tests/utils/env/test_env_manager.py::test_create_venv_finds_no_python_executable + tests/utils/test_python_manager.py::test_python_get_preferred_default + 'tests/inspection/test_info.py::test_info_setup_missing_mandatory_should_trigger_pep517[name]' + '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" +}
