From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/poetry/
Date: Sun, 16 Feb 2025 03:15:25 +0000 (UTC) [thread overview]
Message-ID: <1739674216.8400217b228c03df1650acf60180496d7803dd02.mgorny@gentoo> (raw)
commit: 8400217b228c03df1650acf60180496d7803dd02
Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 16 02:40:45 2025 +0000
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sun Feb 16 02:50:16 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8400217b
dev-python/poetry: Bump to 2.1.0
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
dev-python/poetry/Manifest | 1 +
dev-python/poetry/poetry-2.1.0.ebuild | 86 +++++++++++++++++++++++++++++++++++
2 files changed, 87 insertions(+)
diff --git a/dev-python/poetry/Manifest b/dev-python/poetry/Manifest
index bba87580de30..5d2e384cd948 100644
--- a/dev-python/poetry/Manifest
+++ b/dev-python/poetry/Manifest
@@ -1 +1,2 @@
DIST poetry-2.0.1.tar.gz 2846041 BLAKE2B 691ffcd39799d0794f8853cdb9742d95d5dd64a62488af56f58b6ac1d8b7e734b109375d595f975e7b310bd3c36a5b5c846dd37e2ffd7bf2fe7d25bd1835cff1 SHA512 9a53fe5cbaea7c923e8af6920b545a54402d49937f31c5812dcc8939f8db44ea2557302f54e015fd7f7e96de66d8fc90596cd06a30dc53ef474a8bb54fdc2c97
+DIST poetry-2.1.0.tar.gz 3433096 BLAKE2B 27feceb8c5bced84f508a538da231749f18724fd92051f328dbe9cc103c1988773a04e5526c5117c499df5a3121228d50dedb0d12f3a90f0d89b4438ae61245e SHA512 09757d3ca668e014d1591cb56a54013f34eec3b3d4216a2408ae73c2b784a2798727bfd65fb35cf604423cf0d67f2cfcff8f709d14debc9623d1dc9a863f4e68
diff --git a/dev-python/poetry/poetry-2.1.0.ebuild b/dev-python/poetry/poetry-2.1.0.ebuild
new file mode 100644
index 000000000000..8af87f6b1849
--- /dev/null
+++ b/dev-python/poetry/poetry-2.1.0.ebuild
@@ -0,0 +1,86 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=poetry
+PYTHON_COMPAT=( python3_{10..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"
+
+RDEPEND="
+ >=dev-python/poetry-core-2.1.0[${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.22.6[${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.0[${PYTHON_USEDEP}]
+ >=dev-python/pbs-installer-2025.01.06[${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.0[${PYTHON_USEDEP}]
+ $(python_gen_cond_dep '
+ >=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
+ ' 3.10)
+"
+
+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}]
+ )
+"
+
+src_prepare() {
+ # unpin
+ sed -e 's:,<[0-9.]*::' -e 's:==\([0-9]\):>=\1:' -i pyproject.toml || die
+
+ distutils-r1_src_prepare
+}
+
+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/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]'
+)
+
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+python_test() {
+ local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+ epytest -m "not network" -p pytest_mock
+}
next reply other threads:[~2025-02-16 3:15 UTC|newest]
Thread overview: 31+ messages / expand[flat|nested] mbox.gz Atom feed top
2025-02-16 3:15 Michał Górny [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-08 10:55 [gentoo-commits] repo/gentoo:master commit in: dev-python/poetry/ Michał Górny
2025-03-06 7:30 Arthur Zamarin
2025-02-17 20:47 Michał Górny
2025-02-01 10:13 Michał Górny
2025-01-13 4:37 Michał Górny
2025-01-12 18:39 Michał Górny
2025-01-06 6:42 Michał Górny
2025-01-06 6:42 Michał Górny
2025-01-06 6:42 Michał Górny
2024-12-07 6:33 Michał Górny
2024-12-07 6:33 Michał Górny
2024-07-09 14:50 Michał Górny
2024-06-02 15:39 Andrew Ammerlaan
2024-05-19 17:55 Andrew Ammerlaan
2024-05-09 4:08 Michał Górny
2024-05-09 4:08 Michał Górny
2024-03-02 19:47 Michał Górny
2024-02-27 6:18 Michał Górny
2024-02-26 17:48 Michał Górny
2023-12-30 18:32 Michał Górny
2023-11-17 13:32 Michał Górny
2023-11-17 13:32 Michał Górny
2023-11-03 18:35 Michał Górny
2023-09-14 2:51 Sam James
2023-08-22 4:12 Michał Górny
2023-08-21 2:52 Michał Górny
2023-07-28 9:26 Michał Górny
2023-07-28 6:13 Michał Górny
2023-07-28 6:13 Michał Górny
2023-07-22 13:16 Michał Górny
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1739674216.8400217b228c03df1650acf60180496d7803dd02.mgorny@gentoo \
--to=mgorny@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox