mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-01-06 02:17:34 -08:00
dev-python/virtualenv-clone: fix tests on python3_{11,12}
See: https://github.com/edwardgeorge/virtualenv-clone/pull/79 Bug: https://bugs.gentoo.org/918079 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Closes: https://github.com/gentoo/gentoo/pull/34903 Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
parent
23ad4d7b02
commit
122f0d9495
@ -0,0 +1,28 @@
|
||||
https://bugs.gentoo.org/918079
|
||||
https://github.com/edwardgeorge/virtualenv-clone/pull/79
|
||||
|
||||
From 028494ee84cf4626aab291c621b2b9ec23f8688a Mon Sep 17 00:00:00 2001
|
||||
From: matoro <matoro@users.noreply.github.com>
|
||||
Date: Mon, 18 Dec 2023 18:18:17 -0500
|
||||
Subject: [PATCH] Support Python 3.11, 3.12
|
||||
|
||||
---
|
||||
.travis.yml | 2 ++
|
||||
setup.py | 2 ++
|
||||
tests/__init__.py | 2 +-
|
||||
tox.ini | 2 +-
|
||||
4 files changed, 6 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/tests/__init__.py b/tests/__init__.py
|
||||
index c9a52ca..14648f4 100644
|
||||
--- a/tests/__init__.py
|
||||
+++ b/tests/__init__.py
|
||||
@@ -8,7 +8,7 @@
|
||||
tmplocation = tempfile.mkdtemp()
|
||||
venv_path = os.path.realpath(os.path.join(tmplocation,'srs_venv'))
|
||||
clone_path = os.path.realpath(os.path.join(tmplocation,'clone_venv'))
|
||||
-versions = ['2.7', '3.4', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10']
|
||||
+versions = ['2.7', '3.4', '3.5', '3.6', '3.7', '3.8', '3.9', '3.10', '3.11', '3.12']
|
||||
|
||||
def clean():
|
||||
if os.path.exists(tmplocation): shutil.rmtree(tmplocation)
|
||||
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@ -28,4 +28,6 @@ BDEPEND="
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.5.7-backport-pr79.patch" )
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user