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 (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5B29215800F for ; Sun, 19 Feb 2023 15:32:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 884FBE08C3; Sun, 19 Feb 2023 15:32:44 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 6D6B1E08C3 for ; Sun, 19 Feb 2023 15:32:44 +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 15981340F2B for ; Sun, 19 Feb 2023 15:32:42 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7A78C8AC for ; Sun, 19 Feb 2023 15:32:40 +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: <1676820757.f8430fd04549e33585a60d7a03273b8ed72cabc1.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/pip/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/pip/pip-23.0.1.ebuild X-VCS-Directories: dev-python/pip/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: f8430fd04549e33585a60d7a03273b8ed72cabc1 X-VCS-Branch: master Date: Sun, 19 Feb 2023 15:32:40 +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: 3d809d9c-67a5-4938-9203-a85b525ec534 X-Archives-Hash: 9c758daaa15ba06980a5325ee4a58838 commit: f8430fd04549e33585a60d7a03273b8ed72cabc1 Author: Michał Górny gentoo org> AuthorDate: Sun Feb 19 15:32:10 2023 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Feb 19 15:32:37 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8430fd0 dev-python/pip: Use new virtualenv to permit testing on py3.11 Signed-off-by: Michał Górny gentoo.org> dev-python/pip/pip-23.0.1.ebuild | 18 +++++------------- 1 file changed, 5 insertions(+), 13 deletions(-) diff --git a/dev-python/pip/pip-23.0.1.ebuild b/dev-python/pip/pip-23.0.1.ebuild index a27c9b63b397..6fd14699751b 100644 --- a/dev-python/pip/pip-23.0.1.ebuild +++ b/dev-python/pip/pip-23.0.1.ebuild @@ -6,16 +6,12 @@ EAPI=8 # please bump dev-python/ensurepip-pip along with this package! DISTUTILS_USE_PEP517=setuptools -PYTHON_TESTED=( python3_{9..10} ) -PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_11 pypy3 ) +PYTHON_TESTED=( python3_{9..11} ) +PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" pypy3 ) PYTHON_REQ_USE="ssl(+),threads(+)" inherit bash-completion-r1 distutils-r1 multiprocessing -# 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/ @@ -23,11 +19,7 @@ HOMEPAGE=" https://github.com/pypa/pip/ " SRC_URI=" - https://github.com/pypa/${PN}/archive/${PV}.tar.gz -> ${P}.gh.tar.gz - test? ( - https://github.com/pypa/virtualenv/archive/${VENV_PV}.tar.gz - -> virtualenv-${VENV_PV}.gh.tar.gz - ) + https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz " LICENSE="MIT" @@ -51,6 +43,7 @@ BDEPEND=" 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? ( @@ -89,7 +82,7 @@ python_compile_all() { python_test() { if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then - einfo "Skipping tests on ${EPYTHON} since virtualenv-16 is broken" + einfo "Skipping tests on ${EPYTHON}" return 0 fi @@ -119,7 +112,6 @@ python_test() { ) fi - 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)"