From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 34E061581F2 for ; Sat, 11 Jan 2025 06:52:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E4205E087C; Sat, 11 Jan 2025 06:52:22 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5120DE0874 for ; Sat, 11 Jan 2025 06:52:22 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 9702C33BEED for ; Sat, 11 Jan 2025 06:52:21 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E41D2202C for ; Sat, 11 Jan 2025 06:52:18 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1736578322.6b518d1dacd91a42cb0c12c01bd2bf8a43dbc563.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pdm/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pdm/Manifest dev-python/pdm/pdm-2.22.2.ebuild X-VCS-Directories: dev-python/pdm/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: 6b518d1dacd91a42cb0c12c01bd2bf8a43dbc563 X-VCS-Branch: master Date: Sat, 11 Jan 2025 06:52:18 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: b80fe696-6c6f-44e8-9556-fe60432de29f X-Archives-Hash: 61ffd426311446249674a45990949b10 commit: 6b518d1dacd91a42cb0c12c01bd2bf8a43dbc563 Author: Michał Górny gentoo org> AuthorDate: Sat Jan 11 05:46:33 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sat Jan 11 06:52:02 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b518d1d dev-python/pdm: Bump to 2.22.2 Signed-off-by: Michał Górny gentoo.org> dev-python/pdm/Manifest | 1 + dev-python/pdm/pdm-2.22.2.ebuild | 132 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 133 insertions(+) diff --git a/dev-python/pdm/Manifest b/dev-python/pdm/Manifest index 40e3159d0199..5343789e342d 100644 --- a/dev-python/pdm/Manifest +++ b/dev-python/pdm/Manifest @@ -1 +1,2 @@ DIST pdm-2.22.1.tar.gz 2645872 BLAKE2B 3bb614a02cea489b6698160a7aaed3623199dc62ed3c5055d33ca084639d03fa0f4d380cf6e41fcb812e93c5606c6571250d17c85271c2f81daabfaec8224190 SHA512 335fc2eecbe3c6a63d5f4cf277a1ef6898c40190441da84282662ddd9ac45646b156544b056155bc6bfe6e0d4c4c6a454524fffb564394083eb77207db0ee414 +DIST pdm-2.22.2.tar.gz 2646982 BLAKE2B 673798ac6f2658040b1b9bdf5a1e78933030bf280fb5eaeed3f2996566a9b8828ce3500c67a6810d4def4685450b68677f00155ed2530af9c5de87276cca7f58 SHA512 52ece85fd6b116ad0c74bf53f19c811308f65f507977c0e47a2ac9f8e346aa122022b07f6ebc27ea9e8eeeefbed55c266cfda9316fe8525c610bd0339acca549 diff --git a/dev-python/pdm/pdm-2.22.2.ebuild b/dev-python/pdm/pdm-2.22.2.ebuild new file mode 100644 index 000000000000..d8a8156f0d6f --- /dev/null +++ b/dev-python/pdm/pdm-2.22.2.ebuild @@ -0,0 +1,132 @@ +# Copyright 2023-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=pdm-backend +PYTHON_COMPAT=( python3_{10..13} ) + +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.4.4[${PYTHON_USEDEP}] + =dev-python/findpython-0.6.0[${PYTHON_USEDEP}] + dev-python/blinker[${PYTHON_USEDEP}] + dev-python/filelock[${PYTHON_USEDEP}] + >=dev-python/hishel-0.0.32[${PYTHON_USEDEP}] + >=dev-python/httpcore-1.0.6[${PYTHON_USEDEP}] + dev-python/httpx[${PYTHON_USEDEP}] + dev-python/installer[${PYTHON_USEDEP}] + dev-python/msgpack[${PYTHON_USEDEP}] + dev-python/packaging[${PYTHON_USEDEP}] + >=dev-python/pbs-installer-2024.4.18[${PYTHON_USEDEP}] + dev-python/platformdirs[${PYTHON_USEDEP}] + dev-python/pyproject-hooks[${PYTHON_USEDEP}] + dev-python/python-dotenv[${PYTHON_USEDEP}] + >=dev-python/resolvelib-1.1[${PYTHON_USEDEP}] + dev-python/rich[${PYTHON_USEDEP}] + dev-python/shellingham[${PYTHON_USEDEP}] + dev-python/tomlkit[${PYTHON_USEDEP}] + >=dev-python/truststore-0.9[${PYTHON_USEDEP}] + >=dev-python/unearth-0.17.0[${PYTHON_USEDEP}] + dev-python/virtualenv[${PYTHON_USEDEP}] + $(python_gen_cond_dep ' + dev-python/tomli[${PYTHON_USEDEP}] + ' 3.10) +" +BDEPEND=" + ${RDEPEND} + test? ( + dev-python/pytest-mock[${PYTHON_USEDEP}] + dev-python/pytest-httpserver[${PYTHON_USEDEP}] + dev-python/uv + ) +" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # unpin deps + sed -i -e 's:,<[0-9.a]*::' pyproject.toml || die +} + +python_test() { + local EPYTEST_DESELECT=( + # Internet + 'tests/cli/test_build.py::test_build_with_no_isolation[False]' + tests/test_project.py::test_access_index_with_auth + "tests/test_project.py::test_find_interpreters_with_PDM_IGNORE_ACTIVE_VENV[True]" + tests/cli/test_others.py::test_build_distributions + 'tests/models/test_candidates.py::test_expand_project_root_in_url[demo @ file:///${PROJECT_ROOT}/tests/fixtures/artifacts/demo-0.0.1.tar.gz]' + 'tests/models/test_candidates.py::test_expand_project_root_in_url[-e file:///${PROJECT_ROOT}/tests/fixtures/projects/demo-#-with-hash#egg=demo]' + tests/models/test_candidates.py::test_find_candidates_from_find_links + tests/cli/test_build.py::test_build_single_module + tests/cli/test_build.py::test_build_single_module_with_readme + tests/cli/test_build.py::test_build_package + tests/cli/test_build.py::test_build_src_package + tests/cli/test_build.py::test_build_package_include + tests/cli/test_build.py::test_build_src_package_by_include + tests/cli/test_build.py::test_build_with_config_settings + tests/cli/test_build.py::test_cli_build_with_config_settings + tests/cli/test_build.py::test_build_ignoring_pip_environment + tests/cli/test_others.py::test_show_self_package + tests/cli/test_publish.py::test_publish_and_build_in_one_run + "tests/cli/test_hooks.py::test_hooks[build]" + "tests/cli/test_hooks.py::test_hooks[publish]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[build-pre_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[build-post_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-pre_publish]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-pre_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-post_build]" + "tests/cli/test_hooks.py::test_skip_option_from_signal[publish-post_publish]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:all-build]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:all-publish]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:pre,:post-build]" + "tests/cli/test_hooks.py::test_skip_all_option_from_signal[:pre,:post-publish]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[pre-build]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[pre-publish]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[post-build]" + "tests/cli/test_hooks.py::test_skip_pre_post_option_from_signal[post-publish]" + "tests/cli/test_venv.py::test_conda_backend_create[True]" + "tests/cli/test_venv.py::test_conda_backend_create[False]" + tests/cli/test_lock.py::test_lock_all_with_excluded_groups + 'tests/resolver/test_resolve.py::test_resolve_local_artifacts[sdist]' + 'tests/resolver/test_resolve.py::test_resolve_two_extras_from_the_same_package' + 'tests/resolver/test_resolve.py::test_resolve_file_req_with_prerelease' + # hangs on interactive keyring prompts + tests/cli/test_config.py::test_repository_overwrite_default + tests/cli/test_config.py::test_hide_password_in_output_repository + tests/cli/test_config.py::test_hide_password_in_output_pypi + # junk output, sigh + tests/cli/test_others.py::test_info_command_json + # why does it try to use python 2.7?! + tests/cli/test_run.py::test_import_another_sitecustomize + # fails in tinderbox (bug #928964) + tests/test_project.py::test_project_packages_path + # i guess doesn't expect some dep to be present + tests/cli/test_build.py::test_build_with_no_isolation + ) + [[ ${EPYTHON} != python3.10 ]] && EPYTEST_DESELECT+=( + # test seems hardcoded to 3.10 + tests/test_project.py::test_project_packages_path + ) + + local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1 + epytest -m "not network and not integration and not path" \ + -p pytest_mock +}