From: "Arthur Zamarin" <arthurzam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pip/
Date: Mon, 15 May 2023 20:13:55 +0000 (UTC) [thread overview]
Message-ID: <1684181607.3dc3c2a545aa9bf2a7071aff19f30ae94e75abe9.arthurzam@gentoo> (raw)
commit: 3dc3c2a545aa9bf2a7071aff19f30ae94e75abe9
Author: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon May 15 20:13:27 2023 +0000
Commit: Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon May 15 20:13:27 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3dc3c2a5
dev-python/pip: drop 22.3.1, 23.0.1, 23.1, 23.1.1
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>
dev-python/pip/Manifest | 7 --
dev-python/pip/pip-22.3.1.ebuild | 139 ---------------------------------------
dev-python/pip/pip-23.0.1.ebuild | 123 ----------------------------------
dev-python/pip/pip-23.1.1.ebuild | 127 -----------------------------------
dev-python/pip/pip-23.1.ebuild | 127 -----------------------------------
5 files changed, 523 deletions(-)
diff --git a/dev-python/pip/Manifest b/dev-python/pip/Manifest
index eabf71a1d61b..ac3667d59e20 100644
--- a/dev-python/pip/Manifest
+++ b/dev-python/pip/Manifest
@@ -1,8 +1 @@
-DIST pip-22.3.1.gh.tar.gz 9326504 BLAKE2B b125599a9f77e49414dae13ca3fe0ac27c9b7e127f6ca7f467f3af4e0b51d835f2790f8311b2ec616966c299fb431403b456f7b38ea1f3fe1e7f769f7d5a78e5 SHA512 c7865c4ce79b0fea7ba469fe593af3be205b3bdb574a6ae019842e0f82a0af406ec905d8c6ff02fbbafe01630c8899a398d071ce74501ca830249160f2f6df98
-DIST pip-23.0.1.gh.tar.gz 9336422 BLAKE2B 1781b0340ba7f76299fa8e37f0509f15a08cc599d196c74b90a2cb79321de570240ed9f12bc64d45ede2182ec8a3eead44ce1b840eaa83931d089ecc07923203 SHA512 ed14ce37293e749b4fd93d7f93d81356c77428b1fb14dfd760b59aea720ebb3cce5a49c2d32ab600e73b37389937830ff4dee04750e83078c8ab9d57513f294c
-DIST pip-23.1.1.gh.tar.gz 9345830 BLAKE2B 4b566507189bed38de572d3641f4f1cdf795a928462fbdb43f6d03f98a5efdce31c3c6ffb8ac0761eb8dd7667f02f195241aacbebc06b26f8e4d22d1ca4a8fb9 SHA512 9cc8d414625a59d98e485251fdc3707edd30a94b597954e9d03b42076f3adaca6f7e3f1ef80e37e7fb12b51941ac359114b23aae4722588bb7f4b44813397db5
DIST pip-23.1.2.gh.tar.gz 9345911 BLAKE2B 511ac1a9405e377ccb2525e89676f4a63f138aa526d40e76f4d9681139d94db1f92772beab1a647654c17abc6bee09f52cf4c4f4484716874194565fda07d056 SHA512 b33070cb59a1258904a60b48ec8abfd9e316c5f87681fea13d89ddf6d516afac10965ae1db54fea299a0a72f98602ce02e8b3be46f239e857db84866045730e1
-DIST pip-23.1.gh.tar.gz 9346045 BLAKE2B 2d4e0dcfa730fe68b6b73d87fb3706a5c68f8eb497fe84c15a8a4ed5aa436a5ef07949d3c3d1393aa836bc8d2f67dbfad25609f807519a3d36b3aed34aff4756 SHA512 ba1417811d69462b1e858d6a431abdafdf66a217f9fb25ad9c8430b3ea5289c631a282f3c399f607539d2ce9e2a71b556926f6ebf30be18d86ccda192afe0dfb
-DIST setuptools-62.3.2-py3-none-any.whl 1225929 BLAKE2B 608952e201f749ebf557e3962ba9856d5bdcbc534f3a25598cab0d6c53282cfb3b9f007ba135497a8addf49db4c02bc4387c486d95a4529d01ce4114154ec28a SHA512 366d69dc44e326dd7549cdacd8dec481a14dce4feef4338adc38b9de5c4c338f04d61696e13ce8603be1315f2e8734100f92d3fe4b4b11843e19f550c9631978
-DIST virtualenv-16.7.12.gh.tar.gz 8906590 BLAKE2B a1f206769e4e5797562906162e492e44c4a72720e4f88a0362dc802ce2df20c65aaab6a72dce2238445601a10fae59bd90cd362217994d30911f105afd71c5fa SHA512 0278b33fb19f6553e70ad3dcffa6ea1a455ff435b216ac9b4fadff216b2932714faa2bb6027af3058010111d8511a5c2fcd424f31c9645be361603971f111c8e
-DIST wheel-0.36.2-py2.py3-none-any.whl 35046 BLAKE2B bc4e8dab7c74eea34d3b4a813b7eaf6295a99a396a861b6cdd76f743043e89140bad132bdd13e385e8945ce02e0798e1d3ac73fc1b23bde5b2a83e4bb4dd5cdc SHA512 6bb5119b4d3704fe1e3c1eaaa3124edab13f61b46f8a0a8e75974fac4e5b25d8b53606071a03a8d8990ad1cfe2ab247ddea260098df2c0c35ae965be47080284
diff --git a/dev-python/pip/pip-22.3.1.ebuild b/dev-python/pip/pip-22.3.1.ebuild
deleted file mode 100644
index 0dfc64f4ea0a..000000000000
--- a/dev-python/pip/pip-22.3.1.ebuild
+++ /dev/null
@@ -1,139 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# please bump dev-python/ensurepip-wheels along with this package!
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_TESTED=( python3_{9..10} )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_11 pypy3 )
-PYTHON_REQ_USE="ssl(+),threads(+)"
-
-inherit bash-completion-r1 distutils-r1 multiprocessing
-
-# setuptools & wheel .whl files are required for testing,
-# the exact version is not very important.
-SETUPTOOLS_WHL="setuptools-62.3.2-py3-none-any.whl"
-WHEEL_WHL="wheel-0.36.2-py2.py3-none-any.whl"
-# upstream still requires virtualenv-16 for testing, we are now fetching
-# it directly to avoid blockers with virtualenv-20
-VENV_PV=16.7.12
-
-DESCRIPTION="The PyPA recommended tool for installing Python packages"
-HOMEPAGE="
- https://pip.pypa.io/en/stable/
- https://pypi.org/project/pip/
- https://github.com/pypa/pip/
-"
-SRC_URI="
- https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
- test? (
- https://files.pythonhosted.org/packages/py3/s/setuptools/${SETUPTOOLS_WHL}
- https://files.pythonhosted.org/packages/py2.py3/w/wheel/${WHEEL_WHL}
- https://github.com/pypa/virtualenv/archive/${VENV_PV}.tar.gz
- -> virtualenv-${VENV_PV}.gh.tar.gz
- )
-"
-
-LICENSE="MIT"
-# bundled deps
-LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-SLOT="0"
-IUSE="test-rust vanilla"
-
-RDEPEND="
- >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
- ${RDEPEND}
- test? (
- $(python_gen_cond_dep '
- dev-python/freezegun[${PYTHON_USEDEP}]
- dev-python/pretend[${PYTHON_USEDEP}]
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- dev-python/scripttest[${PYTHON_USEDEP}]
- dev-python/tomli-w[${PYTHON_USEDEP}]
- dev-python/werkzeug[${PYTHON_USEDEP}]
- dev-python/wheel[${PYTHON_USEDEP}]
- test-rust? (
- dev-python/cryptography[${PYTHON_USEDEP}]
- )
- ' "${PYTHON_TESTED[@]}")
- )
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
- local PATCHES=(
- "${FILESDIR}/pip-22.2.1-no-coverage.patch"
- )
- if ! use vanilla; then
- PATCHES+=( "${FILESDIR}/pip-20.0.2-disable-system-install.patch" )
- fi
-
- distutils-r1_python_prepare_all
-
- if use test; then
- mkdir tests/data/common_wheels/ || die
- cp "${DISTDIR}"/{${SETUPTOOLS_WHL},${WHEEL_WHL}} \
- tests/data/common_wheels/ || die
- fi
-}
-
-python_compile_all() {
- # 'pip completion' command embeds full $0 into completion script, which confuses
- # 'complete' and causes QA warning when running as "${PYTHON} -m pip".
- # This trick sets correct $0 while still calling just installed pip.
- local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())'
- "${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die
- "${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die
-}
-
-python_test() {
- if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
- einfo "Skipping tests on ${EPYTHON} since virtualenv-16 is broken"
- return 0
- fi
-
- local EPYTEST_DESELECT=(
- tests/functional/test_inspect.py::test_inspect_basic
- tests/functional/test_install.py::test_double_install_fail
- tests/functional/test_list.py::test_multiple_exclude_and_normalization
- # Internet
- tests/functional/test_install.py::test_install_dry_run
- tests/functional/test_install.py::test_install_editable_with_prefix_setup_cfg
- tests/functional/test_install.py::test_editable_install__local_dir_no_setup_py_with_pyproject
- tests/functional/test_install.py::test_editable_install__local_dir_setup_requires_with_pyproject
- tests/functional/test_install.py::test_install_8559_wheel_package_present
- # git: fatal: transport 'file' not allowed
- tests/functional/test_install_vcs_git.py::test_check_submodule_addition
- )
-
- if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then
- EPYTEST_DESELECT+=(
- tests/functional/test_install.py::test_install_sends_client_cert
- tests/functional/test_install_config.py::test_do_not_prompt_for_authentication
- tests/functional/test_install_config.py::test_prompt_for_authentication
- tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed
- )
- fi
-
- local -x GENTOO_PIP_TESTING=1
- local -x PYTHONPATH="${WORKDIR}/virtualenv-${VENV_PV}"
- local -x SETUPTOOLS_USE_DISTUTILS=stdlib
- local -x PIP_DISABLE_PIP_VERSION_CHECK=1
- epytest -m "not network" -n "$(makeopts_jobs)"
-}
-
-python_install_all() {
- local DOCS=( AUTHORS.txt docs/html/**/*.rst )
- distutils-r1_python_install_all
-
- newbashcomp completion.bash pip
-
- insinto /usr/share/zsh/site-functions
- newins completion.zsh _pip
-}
diff --git a/dev-python/pip/pip-23.0.1.ebuild b/dev-python/pip/pip-23.0.1.ebuild
deleted file mode 100644
index cc7c86dab278..000000000000
--- a/dev-python/pip/pip-23.0.1.ebuild
+++ /dev/null
@@ -1,123 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# please bump dev-python/ensurepip-pip along with this package!
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_TESTED=( python3_{9..11} )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 )
-PYTHON_REQ_USE="ssl(+),threads(+)"
-
-inherit bash-completion-r1 distutils-r1 multiprocessing
-
-DESCRIPTION="The PyPA recommended tool for installing Python packages"
-HOMEPAGE="
- https://pip.pypa.io/en/stable/
- https://pypi.org/project/pip/
- https://github.com/pypa/pip/
-"
-SRC_URI="
- https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-# bundled deps
-LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~loong ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86"
-SLOT="0"
-IUSE="test-rust"
-
-RDEPEND="
- >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
- ${RDEPEND}
- test? (
- $(python_gen_cond_dep '
- dev-python/ensurepip-setuptools
- dev-python/ensurepip-wheel
- dev-python/freezegun[${PYTHON_USEDEP}]
- dev-python/pretend[${PYTHON_USEDEP}]
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- dev-python/scripttest[${PYTHON_USEDEP}]
- dev-python/tomli-w[${PYTHON_USEDEP}]
- dev-python/virtualenv[${PYTHON_USEDEP}]
- dev-python/werkzeug[${PYTHON_USEDEP}]
- dev-python/wheel[${PYTHON_USEDEP}]
- test-rust? (
- dev-python/cryptography[${PYTHON_USEDEP}]
- )
- ' "${PYTHON_TESTED[@]}")
- )
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
- local PATCHES=(
- "${FILESDIR}/pip-22.2.1-no-coverage.patch"
- )
-
- distutils-r1_python_prepare_all
-
- if use test; then
- local wheels=(
- "${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl
- )
- mkdir tests/data/common_wheels/ || die
- cp "${wheels[@]}" tests/data/common_wheels/ || die
- fi
-}
-
-python_compile_all() {
- # 'pip completion' command embeds full $0 into completion script, which confuses
- # 'complete' and causes QA warning when running as "${PYTHON} -m pip".
- # This trick sets correct $0 while still calling just installed pip.
- local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())'
- "${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die
- "${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die
-}
-
-python_test() {
- if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
- einfo "Skipping tests on ${EPYTHON}"
- return 0
- fi
-
- local EPYTEST_DESELECT=(
- tests/functional/test_inspect.py::test_inspect_basic
- tests/functional/test_install.py::test_double_install_fail
- # Internet
- tests/functional/test_install.py::test_install_dry_run
- tests/functional/test_install.py::test_editable_install__local_dir_setup_requires_with_pyproject
- tests/functional/test_install.py::test_install_8559_wheel_package_present
- # TODO
- tests/unit/test_network_auth.py::test_keyring_cli_get_password
- tests/unit/test_network_auth.py::test_keyring_cli_set_password
- )
-
- if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then
- EPYTEST_DESELECT+=(
- tests/functional/test_install.py::test_install_sends_client_cert
- tests/functional/test_install_config.py::test_do_not_prompt_for_authentication
- tests/functional/test_install_config.py::test_prompt_for_authentication
- tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed
- )
- fi
-
- local -x SETUPTOOLS_USE_DISTUTILS=stdlib
- local -x PIP_DISABLE_PIP_VERSION_CHECK=1
- epytest -m "not network" -n "$(makeopts_jobs)"
-}
-
-python_install_all() {
- local DOCS=( AUTHORS.txt docs/html/**/*.rst )
- distutils-r1_python_install_all
-
- newbashcomp completion.bash pip
-
- insinto /usr/share/zsh/site-functions
- newins completion.zsh _pip
-}
diff --git a/dev-python/pip/pip-23.1.1.ebuild b/dev-python/pip/pip-23.1.1.ebuild
deleted file mode 100644
index a54946d50bf3..000000000000
--- a/dev-python/pip/pip-23.1.1.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# please bump dev-python/ensurepip-pip along with this package!
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_TESTED=( python3_{9..11} )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 )
-PYTHON_REQ_USE="ssl(+),threads(+)"
-
-inherit bash-completion-r1 distutils-r1 multiprocessing
-
-DESCRIPTION="The PyPA recommended tool for installing Python packages"
-HOMEPAGE="
- https://pip.pypa.io/en/stable/
- https://pypi.org/project/pip/
- https://github.com/pypa/pip/
-"
-SRC_URI="
- https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-# bundled deps
-LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-SLOT="0"
-IUSE="test-rust"
-
-RDEPEND="
- >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
- ${RDEPEND}
- test? (
- $(python_gen_cond_dep '
- dev-python/ensurepip-setuptools
- dev-python/ensurepip-wheel
- dev-python/freezegun[${PYTHON_USEDEP}]
- dev-python/pretend[${PYTHON_USEDEP}]
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- dev-python/scripttest[${PYTHON_USEDEP}]
- dev-python/tomli-w[${PYTHON_USEDEP}]
- dev-python/virtualenv[${PYTHON_USEDEP}]
- dev-python/werkzeug[${PYTHON_USEDEP}]
- dev-python/wheel[${PYTHON_USEDEP}]
- test-rust? (
- dev-python/cryptography[${PYTHON_USEDEP}]
- )
- ' "${PYTHON_TESTED[@]}")
- )
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
- local PATCHES=(
- "${FILESDIR}/pip-23.1-no-coverage.patch"
- )
-
- distutils-r1_python_prepare_all
-
- if use test; then
- local wheels=(
- "${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl
- )
- mkdir tests/data/common_wheels/ || die
- cp "${wheels[@]}" tests/data/common_wheels/ || die
- fi
-}
-
-python_compile_all() {
- # 'pip completion' command embeds full $0 into completion script, which confuses
- # 'complete' and causes QA warning when running as "${PYTHON} -m pip".
- # This trick sets correct $0 while still calling just installed pip.
- local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())'
- "${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die
- "${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die
-}
-
-python_test() {
- if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
- einfo "Skipping tests on ${EPYTHON}"
- return 0
- fi
-
- local EPYTEST_DESELECT=(
- tests/functional/test_inspect.py::test_inspect_basic
- tests/functional/test_install.py::test_double_install_fail
- # Internet
- tests/functional/test_install.py::test_install_dry_run
- tests/functional/test_install.py::test_editable_install__local_dir_setup_requires_with_pyproject
- tests/functional/test_install.py::test_install_8559_wheel_package_present
- tests/functional/test_config_settings.py::test_backend_sees_config_via_sdist
- tests/functional/test_install.py::test_link_hash_in_dep_fails_require_hashes
- # TODO
- tests/unit/test_network_auth.py::test_keyring_cli_get_password
- tests/unit/test_network_auth.py::test_keyring_cli_set_password
- # wants to install keyring from Internet, sigh
- tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed
- )
-
- if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then
- EPYTEST_DESELECT+=(
- tests/functional/test_install.py::test_install_sends_client_cert
- tests/functional/test_install_config.py::test_do_not_prompt_for_authentication
- tests/functional/test_install_config.py::test_prompt_for_authentication
- tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed
- )
- fi
-
- local -x SETUPTOOLS_USE_DISTUTILS=stdlib
- local -x PIP_DISABLE_PIP_VERSION_CHECK=1
- epytest -m "not network" -n "$(makeopts_jobs)"
-}
-
-python_install_all() {
- local DOCS=( AUTHORS.txt docs/html/**/*.rst )
- distutils-r1_python_install_all
-
- newbashcomp completion.bash pip
-
- insinto /usr/share/zsh/site-functions
- newins completion.zsh _pip
-}
diff --git a/dev-python/pip/pip-23.1.ebuild b/dev-python/pip/pip-23.1.ebuild
deleted file mode 100644
index a54946d50bf3..000000000000
--- a/dev-python/pip/pip-23.1.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-# please bump dev-python/ensurepip-pip along with this package!
-
-DISTUTILS_USE_PEP517=setuptools
-PYTHON_TESTED=( python3_{9..11} )
-PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 )
-PYTHON_REQ_USE="ssl(+),threads(+)"
-
-inherit bash-completion-r1 distutils-r1 multiprocessing
-
-DESCRIPTION="The PyPA recommended tool for installing Python packages"
-HOMEPAGE="
- https://pip.pypa.io/en/stable/
- https://pypi.org/project/pip/
- https://github.com/pypa/pip/
-"
-SRC_URI="
- https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
-"
-
-LICENSE="MIT"
-# bundled deps
-LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2"
-KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-SLOT="0"
-IUSE="test-rust"
-
-RDEPEND="
- >=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
-"
-BDEPEND="
- ${RDEPEND}
- test? (
- $(python_gen_cond_dep '
- dev-python/ensurepip-setuptools
- dev-python/ensurepip-wheel
- dev-python/freezegun[${PYTHON_USEDEP}]
- dev-python/pretend[${PYTHON_USEDEP}]
- dev-python/pytest-xdist[${PYTHON_USEDEP}]
- dev-python/scripttest[${PYTHON_USEDEP}]
- dev-python/tomli-w[${PYTHON_USEDEP}]
- dev-python/virtualenv[${PYTHON_USEDEP}]
- dev-python/werkzeug[${PYTHON_USEDEP}]
- dev-python/wheel[${PYTHON_USEDEP}]
- test-rust? (
- dev-python/cryptography[${PYTHON_USEDEP}]
- )
- ' "${PYTHON_TESTED[@]}")
- )
-"
-
-distutils_enable_tests pytest
-
-python_prepare_all() {
- local PATCHES=(
- "${FILESDIR}/pip-23.1-no-coverage.patch"
- )
-
- distutils-r1_python_prepare_all
-
- if use test; then
- local wheels=(
- "${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl
- )
- mkdir tests/data/common_wheels/ || die
- cp "${wheels[@]}" tests/data/common_wheels/ || die
- fi
-}
-
-python_compile_all() {
- # 'pip completion' command embeds full $0 into completion script, which confuses
- # 'complete' and causes QA warning when running as "${PYTHON} -m pip".
- # This trick sets correct $0 while still calling just installed pip.
- local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())'
- "${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die
- "${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die
-}
-
-python_test() {
- if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
- einfo "Skipping tests on ${EPYTHON}"
- return 0
- fi
-
- local EPYTEST_DESELECT=(
- tests/functional/test_inspect.py::test_inspect_basic
- tests/functional/test_install.py::test_double_install_fail
- # Internet
- tests/functional/test_install.py::test_install_dry_run
- tests/functional/test_install.py::test_editable_install__local_dir_setup_requires_with_pyproject
- tests/functional/test_install.py::test_install_8559_wheel_package_present
- tests/functional/test_config_settings.py::test_backend_sees_config_via_sdist
- tests/functional/test_install.py::test_link_hash_in_dep_fails_require_hashes
- # TODO
- tests/unit/test_network_auth.py::test_keyring_cli_get_password
- tests/unit/test_network_auth.py::test_keyring_cli_set_password
- # wants to install keyring from Internet, sigh
- tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed
- )
-
- if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then
- EPYTEST_DESELECT+=(
- tests/functional/test_install.py::test_install_sends_client_cert
- tests/functional/test_install_config.py::test_do_not_prompt_for_authentication
- tests/functional/test_install_config.py::test_prompt_for_authentication
- tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed
- )
- fi
-
- local -x SETUPTOOLS_USE_DISTUTILS=stdlib
- local -x PIP_DISABLE_PIP_VERSION_CHECK=1
- epytest -m "not network" -n "$(makeopts_jobs)"
-}
-
-python_install_all() {
- local DOCS=( AUTHORS.txt docs/html/**/*.rst )
- distutils-r1_python_install_all
-
- newbashcomp completion.bash pip
-
- insinto /usr/share/zsh/site-functions
- newins completion.zsh _pip
-}
next reply other threads:[~2023-05-15 20:13 UTC|newest]
Thread overview: 266+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-05-15 20:13 Arthur Zamarin [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-11-10 3:03 [gentoo-commits] repo/gentoo:master commit in: dev-python/pip/ Eli Schwartz
2024-11-09 13:57 Michał Górny
2024-11-09 13:30 Michał Górny
2024-10-25 12:09 Arthur Zamarin
2024-08-17 11:15 Michał Górny
2024-08-17 11:15 Michał Górny
2024-08-17 11:15 Michał Górny
2024-08-17 9:57 Michał Górny
2024-08-17 9:57 Michał Górny
2024-08-17 9:57 Michał Górny
2024-08-12 17:18 Arthur Zamarin
2024-07-30 11:51 Michał Górny
2024-07-30 11:51 Michał Górny
2024-07-29 4:50 Eli Schwartz
2024-07-29 3:26 Michał Górny
2024-07-27 11:58 Sam James
2024-07-27 11:58 Sam James
2024-07-27 9:28 Arthur Zamarin
2024-07-27 9:17 Arthur Zamarin
2024-07-27 6:00 Michał Górny
2024-07-11 22:28 James Le Cuirot
2024-07-09 2:10 Michał Górny
2024-07-07 1:03 Ionen Wolkens
2024-07-05 19:41 Viorel Munteanu
2024-07-05 19:41 Viorel Munteanu
2024-07-05 19:41 Viorel Munteanu
2024-06-27 2:53 Michał Górny
2024-06-25 23:16 Sam James
2024-06-24 17:57 Jakov Smolić
2024-06-24 0:13 Sam James
2024-06-23 20:19 Sam James
2024-05-11 10:02 Michał Górny
2024-05-11 10:02 Michał Górny
2024-02-20 7:48 Sam James
2024-02-04 15:56 Michał Górny
2024-02-04 15:56 Michał Górny
2024-02-04 14:47 Michał Górny
2024-01-17 17:11 Michał Górny
2024-01-17 17:11 Michał Górny
2024-01-06 10:27 Michał Górny
2024-01-06 10:24 Michał Górny
2023-12-17 18:00 Arthur Zamarin
2023-11-25 10:31 Michał Górny
2023-11-25 7:35 Arthur Zamarin
2023-10-22 6:55 Michał Górny
2023-10-15 17:56 Michał Górny
2023-08-19 18:19 Michał Górny
2023-08-19 17:04 Arthur Zamarin
2023-07-23 6:53 Michał Górny
2023-07-17 7:34 Michał Górny
2023-05-27 15:53 Michał Górny
2023-05-15 20:08 Arthur Zamarin
2023-04-27 3:10 Michał Górny
2023-04-23 19:30 Michał Górny
2023-03-03 17:48 Michał Górny
2023-03-03 17:38 Arthur Zamarin
2023-02-19 19:46 Michał Górny
2023-02-19 15:32 Michał Górny
2023-02-18 7:03 Michał Górny
2023-02-18 7:03 Michał Górny
2023-02-18 7:03 Michał Górny
2023-02-07 14:31 Michał Górny
2023-01-31 7:23 Michał Górny
2022-11-19 8:49 Arthur Zamarin
2022-11-19 8:49 Arthur Zamarin
2022-11-06 7:59 Michał Górny
2022-10-16 5:41 Arthur Zamarin
2022-10-13 4:54 Michał Górny
2022-08-30 17:12 Arthur Zamarin
2022-08-04 17:55 Arthur Zamarin
2022-08-02 13:02 Michał Górny
2022-08-02 13:02 Michał Górny
2022-07-29 14:37 Michał Górny
2022-06-12 12:46 Sam James
2022-06-01 7:21 Michał Górny
2022-05-12 8:57 Michał Górny
2022-05-12 8:57 Michał Górny
2022-04-25 16:50 Sam James
2022-04-17 16:54 Michał Górny
2022-04-17 8:07 Jakov Smolić
2022-03-15 17:56 Jakov Smolić
2022-03-14 21:00 Arthur Zamarin
2022-01-31 23:47 Michał Górny
2022-01-31 8:32 Michał Górny
2022-01-31 0:26 Michał Górny
2022-01-06 20:52 Michał Górny
2022-01-01 11:05 Sam James
2021-12-31 16:53 Matt Turner
2021-12-30 13:10 Sam James
2021-12-29 10:36 Arthur Zamarin
2021-12-29 6:10 Arthur Zamarin
2021-12-28 21:40 Arthur Zamarin
2021-12-28 21:40 Arthur Zamarin
2021-12-28 21:40 Arthur Zamarin
2021-12-28 21:39 Arthur Zamarin
2021-12-20 8:40 Michał Górny
2021-12-07 6:46 Joshua Kinard
2021-11-30 22:26 James Le Cuirot
2021-11-29 19:41 Marek Szuba
2021-11-29 5:22 Arthur Zamarin
2021-11-28 19:01 Arthur Zamarin
2021-11-28 19:01 Arthur Zamarin
2021-11-28 19:01 Arthur Zamarin
2021-11-28 19:01 Arthur Zamarin
2021-11-28 19:01 Arthur Zamarin
2021-11-28 14:42 Michał Górny
2021-11-28 11:01 Michał Górny
2021-11-28 7:38 Arthur Zamarin
2021-11-27 7:46 Arthur Zamarin
2021-11-27 7:19 Michał Górny
2021-11-27 7:19 Michał Górny
2021-09-24 21:36 James Le Cuirot
2021-08-26 8:15 Michał Górny
2021-08-26 3:00 Sam James
2021-08-13 6:58 Michał Górny
2021-08-07 8:50 Michał Górny
2021-08-01 12:25 Michał Górny
2021-07-31 22:23 Sam James
2021-07-25 8:41 Michał Górny
2021-07-21 7:25 Michał Górny
2021-06-26 21:35 Michał Górny
2021-06-24 8:20 Michał Górny
2021-06-24 4:28 Agostino Sarubbo
2021-06-09 20:54 Michał Górny
2021-06-09 15:46 Marek Szuba
2021-06-09 15:19 Marek Szuba
2021-06-03 19:15 Sam James
2021-06-02 14:19 Michał Górny
2021-05-26 8:04 Sam James
2021-05-24 10:22 Michał Górny
2021-05-24 2:39 Joshua Kinard
2021-05-01 7:45 Michał Górny
2021-03-02 8:43 Michał Górny
2021-03-02 3:15 Sam James
2021-02-25 7:40 Michał Górny
2021-02-24 23:26 Sam James
2021-01-30 16:59 Michał Górny
2021-01-24 21:48 Michał Górny
2021-01-24 11:41 Michał Górny
2021-01-18 19:06 Michał Górny
2021-01-18 17:42 Sam James
2021-01-05 21:32 Michał Górny
2021-01-05 21:03 Sam James
2020-12-16 10:09 Michał Górny
2020-12-15 11:05 Michał Górny
2020-12-06 12:21 Michał Górny
2020-11-28 15:44 Sam James
2020-11-26 8:26 Michał Górny
2020-11-26 6:56 Agostino Sarubbo
2020-10-18 6:25 Michał Górny
2020-09-28 18:20 Sergei Trofimovich
2020-09-28 17:41 Sergei Trofimovich
2020-09-20 22:40 Thomas Deutschmann
2020-09-20 9:36 Michał Górny
2020-09-19 21:33 Michał Górny
2020-09-19 20:19 Mikle Kolyada
2020-09-19 20:18 Mikle Kolyada
2020-09-18 8:05 Agostino Sarubbo
2020-09-18 7:54 Agostino Sarubbo
2020-09-18 7:45 Agostino Sarubbo
2020-09-08 19:11 Michał Górny
2020-09-07 8:47 Sergei Trofimovich
2020-09-07 8:20 Sergei Trofimovich
2020-08-12 10:01 Michał Górny
2020-08-05 14:08 Agostino Sarubbo
2020-08-04 23:51 Sam James
2020-08-04 13:48 Michał Górny
2020-08-04 3:39 Sam James
2020-08-03 16:34 Sergei Trofimovich
2020-07-30 21:30 Sam James
2020-07-17 6:14 Michał Górny
2020-06-18 10:26 Michał Górny
2020-06-11 21:48 Sergei Trofimovich
2020-06-11 21:48 Sergei Trofimovich
2020-06-11 8:01 Michał Górny
2020-06-10 20:20 Sergei Trofimovich
2020-06-10 20:20 Sergei Trofimovich
2020-06-01 20:30 Michał Górny
2020-05-31 23:10 Matt Turner
2020-05-30 20:04 Sergei Trofimovich
2020-05-30 19:48 Michał Górny
2020-05-30 19:48 Michał Górny
2020-05-30 12:48 Michał Górny
2020-05-30 7:46 Michał Górny
2020-05-29 20:42 Sergei Trofimovich
2020-05-29 12:04 Michał Górny
2020-05-28 8:00 Michał Górny
2020-05-20 7:18 Michał Górny
2020-05-10 9:21 Mikle Kolyada
2020-05-06 17:13 Mikle Kolyada
2020-05-06 16:43 Mikle Kolyada
2020-05-06 16:43 Mikle Kolyada
2020-05-06 14:22 Mikle Kolyada
2020-04-30 14:46 Michał Górny
2020-04-28 17:14 Michał Górny
2020-04-27 0:45 Matt Turner
2020-04-27 0:45 Matt Turner
2020-03-21 16:32 Michał Górny
2020-03-21 9:24 Mart Raudsepp
2020-02-11 12:03 Alexey Shvetsov
2020-02-03 11:31 Agostino Sarubbo
2020-01-31 13:45 Agostino Sarubbo
2020-01-17 16:31 Mike Gilbert
2020-01-17 16:27 Mike Gilbert
2019-12-10 19:25 Sergei Trofimovich
2019-12-04 19:44 Sergei Trofimovich
2019-12-04 6:48 Aaron Bauman
2019-11-30 4:32 Aaron Bauman
2019-11-24 19:31 Michał Górny
2019-11-24 15:09 Michał Górny
2019-11-23 1:11 Patrick McLean
2019-08-13 20:31 Maxim Koltsov
2019-06-27 15:25 Matthew Thode
2019-05-09 14:50 Manuel Rüger
2019-04-28 8:15 Maxim Koltsov
2019-04-28 8:15 Maxim Koltsov
2018-06-26 5:49 Michał Górny
2018-06-03 13:55 Mike Frysinger
2018-03-18 11:31 Sergei Trofimovich
2018-02-18 0:03 Patrice Clement
2017-10-11 16:55 Tim Harder
2017-07-26 19:49 Markus Meier
2017-06-23 2:05 Mike Gilbert
2017-06-23 1:44 Matt Thode
2017-06-13 12:31 Agostino Sarubbo
2017-06-10 13:45 Agostino Sarubbo
2017-06-04 19:20 Tobias Klausmann
2017-06-04 16:01 Agostino Sarubbo
2017-05-18 19:14 Michael Weber
2017-01-04 4:28 Mike Gilbert
2016-09-05 21:39 Manuel Rüger
2016-03-19 13:19 Manuel Rüger
2016-03-10 0:10 Mike Gilbert
2016-02-28 5:58 Matt Thode
2016-02-25 19:06 Justin Lecher
2016-02-25 18:56 Justin Lecher
2016-02-03 14:14 Justin Lecher
2016-01-26 14:41 Justin Lecher
2016-01-22 8:34 Justin Lecher
2016-01-22 8:03 Justin Lecher
2016-01-22 6:14 Matt Thode
2016-01-20 15:36 Justin Lecher
2015-12-28 13:34 Justin Lecher
2015-11-23 10:05 Justin Lecher
2015-11-23 6:44 Jeroen Roovers
2015-11-22 19:32 Markus Meier
2015-11-19 10:25 Agostino Sarubbo
2015-11-16 15:01 Agostino Sarubbo
2015-11-12 18:38 Justin Lecher
2015-11-11 17:27 Justin Lecher
2015-11-08 21:05 Mike Gilbert
2015-11-05 11:52 Agostino Sarubbo
2015-11-04 16:09 Agostino Sarubbo
2015-11-04 15:50 Agostino Sarubbo
2015-11-02 13:12 Agostino Sarubbo
2015-11-02 13:09 Agostino Sarubbo
2015-10-10 18:49 Mikle Kolyada
2015-10-01 20:47 Markus Meier
2015-09-22 17:36 Tobias Klausmann
2015-09-08 8:16 Joshua Kinard
2015-09-06 5:20 Jeroen Roovers
2015-08-27 9:37 Justin Lecher
2015-08-27 7:59 Justin Lecher
2015-08-25 23:23 Mike Gilbert
2015-08-25 3:03 Tim Harder
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=1684181607.3dc3c2a545aa9bf2a7071aff19f30ae94e75abe9.arthurzam@gentoo \
--to=arthurzam@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