commit:     b084f7b2daff45f00bfdbc16394bc2004f8fcd32
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 19 05:06:14 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jan 19 05:38:15 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b084f7b2

dev-python/poetry: Bump to 2.3.0

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-python/poetry/Manifest            |  2 +
 dev-python/poetry/poetry-2.3.0.ebuild | 88 +++++++++++++++++++++++++++++++++++
 2 files changed, 90 insertions(+)

diff --git a/dev-python/poetry/Manifest b/dev-python/poetry/Manifest
index 1b5b0ff1ae1b..42c00e04e417 100644
--- a/dev-python/poetry/Manifest
+++ b/dev-python/poetry/Manifest
@@ -1 +1,3 @@
 DIST poetry-2.2.1.tar.gz 3441978 BLAKE2B 
01276f5ee71fd2e8bf1be5f4f503590e7966b32ba22f95fe181ec3514004879d1b00c3184d523a78a0ecf3121291d2c02a4171c1a1525c945879da8a2c8e9f9e
 SHA512 
38ef42297c66a52953ed58dcc705201fa67e3c81f2504e320e01e0b76504b6439b8b224e86c9d886dcbe1adba9a2ec5e5c5f0e2308082e7931bc5fce218e5480
+DIST poetry-2.3.0.tar.gz 3462277 BLAKE2B 
83f307ae58bea60d69c0acb8a28b9c989d1add2c273f20552c2cced33e388003c99f061828e8254b1c1ed06de30d7f05d5f785eb6e74b055f72f0e0427458111
 SHA512 
e7cbafc4ff163e167c7a79379ac427a9ea857faf3a7ce5c351a356e26618cbb928eb9819f200d49496523148234f9941892f39f69720695d03184a1c0cc67e2b
+DIST poetry-2.3.0.tar.gz.provenance 9524 BLAKE2B 
fe89ab58ba2fb9d0cbf9d79967254946543ae22ba2375b877f7a01f15f3c4f7a722547de1b94709df9f92ad868da820211f5250563377d63ed98a57a9594a8c3
 SHA512 
fe291e605649aba9150adf4bcc19c1b05ef9100b60d03fd7c3d84419e8f8944dfa8109c6165fa784aa66c20ca7f924ed8e0c27378d1a0bce7c11103cf97323a6

diff --git a/dev-python/poetry/poetry-2.3.0.ebuild 
b/dev-python/poetry/poetry-2.3.0.ebuild
new file mode 100644
index 000000000000..eff293f92706
--- /dev/null
+++ b/dev-python/poetry/poetry-2.3.0.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-${PV}[${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"
+}

Reply via email to