public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/virtualenv/
Date: Wed, 18 Sep 2024 14:03:49 +0000 (UTC)	[thread overview]
Message-ID: <1726668210.43a17bb582725984baba8e89c67feec2e0f286c1.mgorny@gentoo> (raw)

commit:     43a17bb582725984baba8e89c67feec2e0f286c1
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Sep 18 12:55:13 2024 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Sep 18 14:03:30 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=43a17bb5

dev-python/virtualenv: Bump to 20.26.5

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

 dev-python/virtualenv/Manifest                  |   1 +
 dev-python/virtualenv/virtualenv-20.26.5.ebuild | 118 ++++++++++++++++++++++++
 2 files changed, 119 insertions(+)

diff --git a/dev-python/virtualenv/Manifest b/dev-python/virtualenv/Manifest
index e6393305798c..09e6921809e0 100644
--- a/dev-python/virtualenv/Manifest
+++ b/dev-python/virtualenv/Manifest
@@ -1,2 +1,3 @@
 DIST virtualenv-20.26.3.tar.gz 9057588 BLAKE2B 74268cab291e7f1e3db6a4c56f0ede1d7995069cb5594341d9af0609196a8154e9153f920043b48100c2263b7020c819135e29532483b233f3c37bf3b780592f SHA512 0cd3b4dc082d071305b44dd2aba2b28527e630b6b4bf28b7b6c59f3e061b01c1dfcfb64293f2b1904109e9e27b70a873cc8c3f1a3cde73bfee114943cef92ca7
 DIST virtualenv-20.26.4.tar.gz 9385017 BLAKE2B a9b7f2dd105e6d7e5c85456351fc85fd6b4daa697574b6c1c8d51139d0b64f06fff024d721c4182cadb7c207c03b5f8877917dc79eb6102373503479a9f70215 SHA512 afce31d4bea624c98893d2ab5d7ea02e87e1ea18ae25195864b32c8d127d44fe7e1d07c24949138496f571b71d745d2f571c0b2a895d2282bef04dfe496fcd93
+DIST virtualenv-20.26.5.tar.gz 9371932 BLAKE2B 3b85da76f00e44b4e9fd33ef159e06cad06e4b0663aff9433712db8dcc0abb0bad7b94f260e374687f81b09a12bb3438f533267035370efbdeef20e8f9371461 SHA512 616d6565731d8b1f4ddf90eea9c7018eb1bc553c9ad6feee5f9e6669a996205afbedd900bf8d74cbcca7113fddc985ae279454274a7ec8902ac068e5e4b1b5ba

diff --git a/dev-python/virtualenv/virtualenv-20.26.5.ebuild b/dev-python/virtualenv/virtualenv-20.26.5.ebuild
new file mode 100644
index 000000000000..acc7255ef749
--- /dev/null
+++ b/dev-python/virtualenv/virtualenv-20.26.5.ebuild
@@ -0,0 +1,118 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=hatchling
+PYTHON_COMPAT=( python3_{10..13} pypy3 )
+
+inherit distutils-r1 multiprocessing pypi
+
+DESCRIPTION="Virtual Python Environment builder"
+HOMEPAGE="
+	https://virtualenv.pypa.io/en/stable/
+	https://pypi.org/project/virtualenv/
+	https://github.com/pypa/virtualenv/
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+
+RDEPEND="
+	>=dev-python/distlib-0.3.7[${PYTHON_USEDEP}]
+	>=dev-python/filelock-3.12.2[${PYTHON_USEDEP}]
+	>=dev-python/platformdirs-3.9.1[${PYTHON_USEDEP}]
+
+	dev-python/ensurepip-pip
+	dev-python/ensurepip-setuptools
+	dev-python/ensurepip-wheel
+"
+# coverage is used somehow magically in virtualenv, maybe it actually
+# tests something useful
+BDEPEND="
+	dev-python/hatch-vcs[${PYTHON_USEDEP}]
+	test? (
+		dev-python/coverage[${PYTHON_USEDEP}]
+		dev-python/flaky[${PYTHON_USEDEP}]
+		>=dev-python/pip-22.2.1[${PYTHON_USEDEP}]
+		$(python_gen_cond_dep '
+			>=dev-python/pytest-freezer-0.4.6[${PYTHON_USEDEP}]
+		' pypy3)
+		>=dev-python/pytest-mock-3.6.1[${PYTHON_USEDEP}]
+		dev-python/pytest-xdist[${PYTHON_USEDEP}]
+		>=dev-python/setuptools-67.8[${PYTHON_USEDEP}]
+		$(python_gen_cond_dep '
+			dev-python/time-machine[${PYTHON_USEDEP}]
+		' 'python3*')
+		dev-python/wheel[${PYTHON_USEDEP}]
+		>=dev-python/packaging-20.0[${PYTHON_USEDEP}]
+	)
+"
+
+EPYTEST_TIMEOUT=180
+distutils_enable_tests pytest
+
+src_prepare() {
+	local PATCHES=(
+		# use wheels from ensurepip bundle
+		"${FILESDIR}/${PN}-20.26.3-ensurepip.patch"
+	)
+
+	distutils-r1_src_prepare
+
+	# workaround test failures due to warnings from setuptools-scm, sigh
+	echo '[tool.setuptools_scm]' >> pyproject.toml || die
+
+	# remove useless pins
+	sed -i -e 's:<[0-9.]*,::' pyproject.toml || die
+
+	# remove bundled wheels
+	rm src/virtualenv/seed/wheels/embed/*.whl || die
+}
+
+python_test() {
+	local EPYTEST_DESELECT=(
+		tests/unit/seed/embed/test_bootstrap_link_via_app_data.py::test_seed_link_via_app_data
+		# tests for old wheels with py3.7 support
+		tests/unit/seed/embed/test_pip_invoke.py::test_base_bootstrap_via_pip_invoke
+		tests/unit/seed/wheels/test_wheels_util.py::test_wheel_not_support
+		# broken by different wheel versions in ensurepip
+		tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_string
+		tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_exact
+		tests/unit/seed/wheels/test_acquire_find_wheel.py::test_find_latest_none
+		tests/unit/seed/wheels/test_acquire.py::test_download_wheel_bad_output
+		# hangs on a busy system, sigh
+		tests/unit/test_util.py::test_reentrant_file_lock_is_thread_safe
+	)
+	case ${EPYTHON} in
+		python3.1[23])
+			EPYTEST_DESELECT+=(
+				tests/unit/create/via_global_ref/test_build_c_ext.py
+			)
+			;&
+		python3.11)
+			EPYTEST_DESELECT+=(
+				# TODO
+				tests/unit/discovery/py_info/test_py_info.py::test_fallback_existent_system_executable
+			)
+			;;
+	esac
+
+	local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
+	local -x TZ=UTC
+	local plugins=( -p flaky -p pytest_mock )
+	if [[ ${EPYTHON} == pypy3 ]]; then
+		plugins+=( -p freezer )
+	else
+		plugins+=( -p time_machine )
+	fi
+	epytest "${plugins[@]}" -p xdist -n "$(makeopts_jobs)" --dist=worksteal
+}
+
+src_install() {
+	distutils-r1_src_install
+
+	# remove bundled wheels, we're using ensurepip bundle instead
+	find "${ED}" -name '*.whl' -delete || die
+}


             reply	other threads:[~2024-09-18 14:03 UTC|newest]

Thread overview: 313+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-18 14:03 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-11-16  8:22 [gentoo-commits] repo/gentoo:master commit in: dev-python/virtualenv/ Michał Górny
2024-11-16  8:19 Michał Górny
2024-11-02  7:48 Michał Górny
2024-10-29  6:51 Michał Górny
2024-10-19  8:42 Michał Górny
2024-10-19  7:58 Arthur Zamarin
2024-10-18  4:29 Michał Górny
2024-10-05  7:36 Michał Górny
2024-10-05  7:12 Michał Górny
2024-09-28 12:59 Michał Górny
2024-09-28 12:37 Arthur Zamarin
2024-09-28  7:42 Michał Górny
2024-09-08  2:33 Michał Górny
2024-07-13  8:01 Michał Górny
2024-07-13  7:27 Arthur Zamarin
2024-06-22 10:16 Michał Górny
2024-06-22 10:16 Michał Górny
2024-06-22  5:33 Michał Górny
2024-05-28 12:10 Michał Górny
2024-05-14  6:16 Michał Górny
2024-05-11 10:02 Michał Górny
2024-05-04  7:25 Michał Górny
2024-05-04  7:13 Arthur Zamarin
2024-04-30  4:34 Michał Górny
2024-04-24  2:03 Michał Górny
2024-04-18  5:34 Michał Górny
2024-04-17  3:42 Michał Górny
2024-03-07 16:15 Michał Górny
2024-03-07 16:15 Michał Górny
2024-03-07 16:10 Michał Górny
2024-02-22  5:38 Michał Górny
2023-12-20 15:51 Michał Górny
2023-12-20 15:47 Michał Górny
2023-12-02  7:09 Michał Górny
2023-11-30 21:43 James Le Cuirot
2023-11-28  5:27 Arthur Zamarin
2023-11-25 10:42 Michał Górny
2023-11-25  8:51 Sam James
2023-11-22  7:49 Michał Górny
2023-11-14  7:47 Joonas Niilola
2023-10-25  2:26 Sam James
2023-10-24  5:16 Michał Górny
2023-10-14 18:43 Michał Górny
2023-10-14 16:52 Arthur Zamarin
2023-09-11 14:03 Michał Górny
2023-09-11 12:25 Arthur Zamarin
2023-09-09  3:22 Michał Górny
2023-08-31  5:04 Michał Górny
2023-08-19 18:19 Michał Górny
2023-08-19 17:53 Arthur Zamarin
2023-08-12  3:27 Michał Górny
2023-07-25  5:20 Michał Górny
2023-07-20 11:10 Michał Górny
2023-07-17  9:44 Michał Górny
2023-07-15  3:04 Michał Górny
2023-07-10  1:29 Michał Górny
2023-07-10  1:29 Michał Górny
2023-07-09 16:52 Arthur Zamarin
2023-06-17 10:30 Yixun Lan
2023-06-17  8:44 Arthur Zamarin
2023-06-17  8:44 Arthur Zamarin
2023-06-17  8:44 Arthur Zamarin
2023-06-17  8:44 Arthur Zamarin
2023-06-17  8:44 Arthur Zamarin
2023-06-17  8:44 Arthur Zamarin
2023-06-17  8:44 Arthur Zamarin
2023-06-17  7:43 Arthur Zamarin
2023-06-17  7:43 Arthur Zamarin
2023-06-17  5:59 Michał Górny
2023-06-03  7:09 WANG Xuerui
2023-05-30 13:16 James Le Cuirot
2023-05-27 17:13 Michał Górny
2023-05-27 15:53 Michał Górny
2023-05-23 18:56 Arthur Zamarin
2023-04-28  5:56 Michał Górny
2023-04-22 16:12 Michał Górny
2023-04-22 10:58 Sam James
2023-04-22  9:16 Michał Górny
2023-04-22  8:56 Arthur Zamarin
2023-03-17 17:18 Michał Górny
2023-03-17 15:54 Arthur Zamarin
2023-03-13  5:12 Michał Górny
2023-03-01  6:16 Michał Górny
2023-02-08  6:27 Michał Górny
2023-01-08  5:06 Michał Górny
2023-01-07 18:28 Arthur Zamarin
2022-12-10  9:09 Michał Górny
2022-12-10  9:05 Arthur Zamarin
2022-12-06  6:02 Michał Górny
2022-11-29  6:59 Michał Górny
2022-11-13 19:42 Michał Górny
2022-11-06  7:59 Michał Górny
2022-10-26  4:03 Michał Górny
2022-10-03  6:43 Michał Górny
2022-10-02 19:46 Arthur Zamarin
2022-08-31 18:07 Arthur Zamarin
2022-08-30 19:01 Michał Górny
2022-08-30 17:37 Arthur Zamarin
2022-08-27  6:03 Michał Górny
2022-08-26 17:40 Arthur Zamarin
2022-07-29 12:54 Michał Górny
2022-07-29 12:00 Arthur Zamarin
2022-07-29 11:03 Arthur Zamarin
2022-07-26 17:33 Michał Górny
2022-07-26 14:11 Michał Górny
2022-06-29  6:19 Michał Górny
2022-06-26  4:49 Michał Górny
2022-05-12 10:40 Michał Górny
2022-05-11 14:32 Michał Górny
2022-04-19 13:39 Michał Górny
2022-04-19 12:16 Arthur Zamarin
2022-04-11 16:07 Michał Górny
2022-03-26 10:37 Michał Górny
2022-03-18 22:28 Michał Górny
2022-03-16  7:56 Michał Górny
2022-03-09 19:13 Arthur Zamarin
2022-02-24 18:02 Arthur Zamarin
2022-02-03 20:56 Arthur Zamarin
2022-01-29  7:23 Michał Górny
2022-01-29  6:57 Arthur Zamarin
2022-01-02 21:30 Michał Górny
2022-01-02 10:59 Michał Górny
2022-01-01  1:29 Michał Górny
2021-12-29 23:14 Michał Górny
2021-12-29  6:10 Arthur Zamarin
2021-12-10 11:34 Arthur Zamarin
2021-12-10 10:59 Arthur Zamarin
2021-11-09 14:01 Michał Górny
2021-11-09 10:38 Michał Górny
2021-11-01 22:16 Michał Górny
2021-10-31 17:51 Sam James
2021-10-28 15:04 Sam James
2021-10-27  4:13 Sam James
2021-10-26  3:14 Sam James
2021-10-24  0:19 Sam James
2021-10-23 20:20 Michał Górny
2021-10-23 13:51 Sam James
2021-10-23 13:51 Sam James
2021-10-23 11:11 Michał Górny
2021-09-24 20:05 Michał Górny
2021-09-17  8:31 Michał Górny
2021-09-08  0:42 Sam James
2021-09-06 23:38 Sam James
2021-09-06 17:29 Sam James
2021-09-06  5:40 Agostino Sarubbo
2021-09-06  0:15 Sam James
2021-09-05 20:07 Agostino Sarubbo
2021-09-05 20:04 Agostino Sarubbo
2021-09-05 20:01 Agostino Sarubbo
2021-09-05  6:02 Sam James
2021-08-11  5:58 Michał Górny
2021-08-10  5:17 Michał Górny
2021-08-06 20:51 Sam James
2021-08-06 20:51 Sam James
2021-08-06 20:49 Sam James
2021-08-04 18:19 Marek Szuba
2021-08-02  3:58 Sam James
2021-08-01 20:30 Matt Turner
2021-08-01 12:25 Michał Górny
2021-07-31 22:26 Joshua Kinard
2021-07-28 15:58 Sergei Trofimovich
2021-07-27  6:19 Sergei Trofimovich
2021-07-16  7:10 Michał Górny
2021-07-03 17:11 Michał Górny
2021-07-03  1:28 Sam James
2021-06-09 15:19 Marek Szuba
2021-05-25 18:42 Michał Górny
2021-05-25 16:55 Sam James
2021-05-25  5:13 Michał Górny
2021-05-06  8:21 Michał Górny
2021-04-21  6:40 Michał Górny
2021-04-18 16:18 Michał Górny
2021-04-18  7:05 Michał Górny
2021-04-18  1:41 Sam James
2021-03-25 19:09 Michał Górny
2021-03-25 14:23 Sam James
2021-03-17  7:48 Michał Górny
2021-02-22  4:10 Joshua Kinard
2021-02-19  8:57 Michał Górny
2021-02-19  2:54 Sam James
2021-02-01 17:04 Michał Górny
2021-01-31 18:31 Michał Górny
2021-01-20  9:27 Michał Górny
2021-01-18 19:46 Fabian Groffen
2021-01-13 11:54 Michał Górny
2021-01-10 19:16 Michał Górny
2020-12-31 10:58 Michał Górny
2020-12-31  4:53 Sam James
2020-12-20 11:44 Mikle Kolyada
2020-12-13  0:16 Sam James
2020-11-28 15:44 Sam James
2020-11-26  8:26 Michał Górny
2020-11-26  6:56 Agostino Sarubbo
2020-11-25  9:52 Michał Górny
2020-11-23 17:05 Michał Górny
2020-11-21 20:54 Michał Górny
2020-11-18  9:07 Sam James
2020-11-18  9:01 Sam James
2020-11-17 19:10 Agostino Sarubbo
2020-11-17 18:50 Agostino Sarubbo
2020-11-04  6:22 Sam James
2020-11-03 22:47 Sergei Trofimovich
2020-11-03 13:08 Sam James
2020-10-25 20:40 Michał Górny
2020-10-21 22:51 Michał Górny
2020-10-16  7:42 Michał Górny
2020-10-12 19:42 Michał Górny
2020-10-05 21:47 Michał Górny
2020-10-03 17:00 Michał Górny
2020-09-26  4:57 Matt Turner
2020-09-20 14:08 Michał Górny
2020-09-11 16:57 Sergei Trofimovich
2020-08-22  7:13 Michał Górny
2020-08-18  8:17 Michał Górny
2020-08-05  7:50 Michał Górny
2020-08-01 10:09 Michał Górny
2020-07-25  8:31 Michał Górny
2020-07-25  8:31 Michał Górny
2020-07-24 14:31 Michał Górny
2020-07-19 15:48 Sam James
2020-07-17  5:56 Michał Górny
2020-07-14 15:57 Sam James
2020-07-14 13:19 Sam James
2020-07-11 11:29 Sam James
2020-07-11  4:11 Sam James
2020-07-11  2:37 Sam James
2020-07-10 10:54 Sam James
2020-07-10 10:54 Sam James
2020-07-10  5:30 Michał Górny
2020-07-09 22:08 Sergei Trofimovich
2020-07-08  8:26 Michał Górny
2020-07-06 19:01 Michał Górny
2020-07-05 13:42 Agostino Sarubbo
2020-07-02 17:05 Sergei Trofimovich
2020-07-01 12:21 Michał Górny
2020-06-24  8:00 Michał Górny
2020-06-15  7:23 Michał Górny
2020-06-10  1:52 Matt Turner
2020-06-05 16:10 Sergei Trofimovich
2020-06-03 21:16 Sergei Trofimovich
2020-06-01 20:30 Michał Górny
2020-06-01 20:30 Michał Górny
2020-05-31 10:04 Sergei Trofimovich
2020-05-30 19:48 Michał Górny
2020-05-30 19:48 Michał Górny
2020-05-30 19:37 Sergei Trofimovich
2020-05-30 14:37 Michał Górny
2020-05-30 11:51 Michał Górny
2020-05-30  8:56 Michał Górny
2020-05-21  7:08 Michał Górny
2020-05-20  7:18 Michał Górny
2020-05-18 20:25 Michał Górny
2020-05-06  6:41 Sergei Trofimovich
2020-04-18 17:08 Michał Górny
2020-04-15  5:33 Mike Gilbert
2020-03-17  2:09 Matt Turner
2020-03-14 21:37 Sergei Trofimovich
2020-02-18  8:59 Sergei Trofimovich
2020-02-03 11:31 Agostino Sarubbo
2020-01-31 13:45 Agostino Sarubbo
2020-01-26 19:41 Michał Górny
2020-01-26 17:45 Michał Górny
2019-12-23  9:43 Mikle Kolyada
2019-12-17 13:16 Michał Górny
2019-12-17  3:35 Aaron Bauman
2019-12-15 14:15 Agostino Sarubbo
2019-12-15 14:07 Agostino Sarubbo
2019-12-15 13:53 Agostino Sarubbo
2019-12-15 13:36 Sergei Trofimovich
2019-12-15 13:24 Sergei Trofimovich
2019-12-15 11:38 Agostino Sarubbo
2019-12-06  2:17 Patrick McLean
2019-11-25 12:35 Michał Górny
2019-11-23  0:47 Patrick McLean
2018-07-22  0:32 Mikle Kolyada
2018-06-25 19:07 Tim Harder
2018-03-24 13:10 Michał Górny
2017-11-25  9:29 Patrice Clement
2017-07-29 20:38 Matt Thode
2017-04-29 11:43 Jeroen Roovers
2017-02-28 11:22 Tobias Klausmann
2017-02-24  9:27 Michael Weber
2017-02-23 16:30 Agostino Sarubbo
2017-02-23 15:55 Agostino Sarubbo
2017-01-29 17:28 Fabian Groffen
2016-11-30 18:52 Michał Górny
2016-11-23 13:53 Manuel Rüger
2016-11-23 13:51 Manuel Rüger
2016-08-21 17:46 Tim Harder
2016-03-19 13:09 Manuel Rüger
2016-02-08 18:40 Justin Lecher
2016-02-01 16:27 Justin Lecher
2016-02-01 15:44 Justin Lecher
2016-01-30 15:11 Justin Lecher
2016-01-22  8:47 Justin Lecher
2016-01-21  8:33 Justin Lecher
2015-11-22 19:31 Markus Meier
2015-11-22  5:38 Jeroen Roovers
2015-11-19 10:25 Agostino Sarubbo
2015-11-17 10:29 Justin Lecher
2015-11-16 15:01 Agostino Sarubbo
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-14 13:40 Justin Lecher
2015-10-11 11:25 Justin Lecher
2015-10-10 18:49 Mikle Kolyada
2015-09-08  8:23 Joshua Kinard
2015-08-25  8:10 Justin Lecher
2015-08-21  9:35 Justin Lecher

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=1726668210.43a17bb582725984baba8e89c67feec2e0f286c1.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