commit:     a179f6a6d5a5755d3a2c6e3515c30c8004bfad97
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 24 07:12:36 2026 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Sat Jan 24 08:02:30 2026 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a179f6a6

dev-python/pdm: Bump to 2.26.6

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

 dev-python/pdm/Manifest          |  1 +
 dev-python/pdm/pdm-2.26.6.ebuild | 84 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 85 insertions(+)

diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest
index 3a1e6b0831c6..626de6d184b8 100644
--- a/dev-python/pdm/Manifest
+++ b/dev-python/pdm/Manifest
@@ -1 +1,2 @@
 DIST pdm-2.26.4.tar.gz 2673781 BLAKE2B 
86251ba160f1ae7ed801fced2499ad4bd283f930d9f533b2dbbaf86a6867c9027da49c3aae099cb1941dd94e900812a7e92350a2a7ded118df7fa675c99c751f
 SHA512 
7f64149b212aaa85e506ec5bf8d85b797efe4a23fa744303ab790b80bd8ad481c8000daf6e9a605fd276961fe68ff936ecaa9a9e8f3a8acf4fcf3b6d61305e61
+DIST pdm-2.26.6.tar.gz 2674295 BLAKE2B 
e263e7c06d1ec7cf84c20f7ec62e52893158e90fd81da3b83c8b00224a996fe40ac14cc082d9e564136a5a6e76d3a5a49a55decf1f215c6cf8a3cfd76ac7c391
 SHA512 
142344d92c3da170ac9ec34b686a80aabf6b25de006b30b8f56a0a7a9f9968434ce3fa58c58fe3aec7f8b2d5f42deedc49e1fef054ef8cd5ca5a49f664c54e8a

diff --git a/dev-python/pdm/pdm-2.26.6.ebuild b/dev-python/pdm/pdm-2.26.6.ebuild
new file mode 100644
index 000000000000..742b9b6e67b2
--- /dev/null
+++ b/dev-python/pdm/pdm-2.26.6.ebuild
@@ -0,0 +1,84 @@
+# Copyright 2023-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=pdm-backend
+PYTHON_COMPAT=( python3_{11..14} )
+
+inherit distutils-r1 pypi
+
+DESCRIPTION="Python package and dependency manager supporting the latest PEP 
standards"
+HOMEPAGE="
+       https://pdm-project.org/
+       https://github.com/pdm-project/pdm/
+       https://pypi.org/project/pdm/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+
+RDEPEND="
+       dev-python/certifi[${PYTHON_USEDEP}]
+       >=dev-python/dep-logic-0.5[${PYTHON_USEDEP}]
+       <dev-python/findpython-1[${PYTHON_USEDEP}]
+       >=dev-python/findpython-0.7.0[${PYTHON_USEDEP}]
+       dev-python/blinker[${PYTHON_USEDEP}]
+       dev-python/filelock[${PYTHON_USEDEP}]
+       >=dev-python/hishel-1.0.0[${PYTHON_USEDEP}]
+       >=dev-python/httpcore-1.0.6[${PYTHON_USEDEP}]
+       dev-python/httpx[${PYTHON_USEDEP}]
+       >=dev-python/id-1.5.0[${PYTHON_USEDEP}]
+       dev-python/installer[${PYTHON_USEDEP}]
+       >=dev-python/packaging-22.1[${PYTHON_USEDEP}]
+       >=dev-python/pbs-installer-2025.10.07[${PYTHON_USEDEP}]
+       dev-python/platformdirs[${PYTHON_USEDEP}]
+       dev-python/pyproject-hooks[${PYTHON_USEDEP}]
+       dev-python/python-dotenv[${PYTHON_USEDEP}]
+       >=dev-python/resolvelib-1.2.0[${PYTHON_USEDEP}]
+       dev-python/rich[${PYTHON_USEDEP}]
+       dev-python/shellingham[${PYTHON_USEDEP}]
+       dev-python/tomlkit[${PYTHON_USEDEP}]
+       >=dev-python/truststore-0.10.4[${PYTHON_USEDEP}]
+       >=dev-python/unearth-0.17.5[${PYTHON_USEDEP}]
+       dev-python/virtualenv[${PYTHON_USEDEP}]
+"
+BDEPEND="
+       ${RDEPEND}
+       test? (
+               dev-python/msgpack[${PYTHON_USEDEP}]
+               dev-python/uv
+       )
+"
+
+EPYTEST_PLUGINS=( pytest-{httpserver,httpx,mock,rerunfailures} )
+EPYTEST_RERUNS=5
+EPYTEST_XDIST=1
+distutils_enable_tests pytest
+
+src_prepare() {
+       distutils-r1_src_prepare
+
+       # unpin deps
+       sed -i -e 's:,<[0-9.a]*::' pyproject.toml || die
+       # remove pkgutil namespace magic, as it doesn't work and makes
+       # dev-python/pdm-backend tests test the wrong package
+       rm src/pdm/__init__.py || die
+}
+
+python_test() {
+       local EPYTEST_DESELECT=(
+               # Internet
+               
'tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ 
file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz]'
+               # unhappy about extra packages being installed?
+               # (also fails randomly in venv)
+               tests/cli/test_build.py::test_build_with_no_isolation
+               # TODO: random regression?
+               tests/cli/test_python.py::test_find_python
+               # TODO
+               tests/test_formats.py::test_export_from_pylock_not_empty
+       )
+
+       epytest -m "not network and not integration and not path"
+}

Reply via email to