summaryrefslogtreecommitdiff
path: root/dev-python
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2026-01-21 05:24:59 +0100
committerMichał Górny <mgorny@gentoo.org>2026-01-21 05:57:14 +0100
commitd608934dcdc75cd21d7e06d32eef047402e15180 (patch)
tree1f266bbaf091c16cc90616e2a4b89600a6263ff9 /dev-python
parent9810c809342f2518b4179394716f3e90b1252027 (diff)
downloadgentoo-d608934dcdc75cd21d7e06d32eef047402e15180.tar.gz
gentoo-d608934dcdc75cd21d7e06d32eef047402e15180.tar.bz2
gentoo-d608934dcdc75cd21d7e06d32eef047402e15180.zip
dev-python/poetry: Bump to 2.3.1
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python')
-rw-r--r--dev-python/poetry/Manifest2
-rw-r--r--dev-python/poetry/poetry-2.3.1.ebuild88
2 files changed, 90 insertions, 0 deletions
diff --git a/dev-python/poetry/Manifest b/dev-python/poetry/Manifest
index 42c00e04e417..77c8a5262c2f 100644
--- a/dev-python/poetry/Manifest
+++ b/dev-python/poetry/Manifest
@@ -1,3 +1,5 @@
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
+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
diff --git a/dev-python/poetry/poetry-2.3.1.ebuild b/dev-python/poetry/poetry-2.3.1.ebuild
new file mode 100644
index 000000000000..477168e8262a
--- /dev/null
+++ b/dev-python/poetry/poetry-2.3.1.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-$(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/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"
+}