public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
* [rpms/python-virtualenv] rawhide: Update to 21.7.4 (rhbz#2503679)
@ 2026-08-12 10:02 Lumir Balhar
0 siblings, 0 replies; only message in thread
From: Lumir Balhar @ 2026-08-12 10:02 UTC (permalink / raw)
To: git-commits
A new commit has been pushed.
Repo : rpms/python-virtualenv
Branch : rawhide
Commit : 4caff808442151470c09e832161bde0157467580
Author : Lumir Balhar <lbalhar@redhat.com>
Date : 2026-08-12T11:55:52+02:00
Stats : +9/-9 in 3 file(s)
URL : https://src.fedoraproject.org/rpms/python-virtualenv/c/4caff808442151470c09e832161bde0157467580?branch=rawhide
Log:
Update to 21.7.4 (rhbz#2503679)
Assisted-By: Claude
---
diff --git a/python-virtualenv.spec b/python-virtualenv.spec
index c73c1e8..2f4dde1 100644
--- a/python-virtualenv.spec
+++ b/python-virtualenv.spec
@@ -2,7 +2,7 @@
%bcond tests %{without bootstrap}
Name: python-virtualenv
-Version: 21.6.1
+Version: 21.7.4
Release: %autorelease
Summary: Tool to create isolated Python environments
diff --git a/python3.6.patch b/python3.6.patch
index c5615b9..c614a27 100644
--- a/python3.6.patch
+++ b/python3.6.patch
@@ -1,4 +1,4 @@
-From 7f460dead249a499b98119df7b1a03ba34671597 Mon Sep 17 00:00:00 2001
+From a20686de6683ecf9664834fc848da593a6477254 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Miro=20Hron=C4=8Dok?= <miro@hroncok.cz>
Date: Fri, 9 Jan 2026 11:52:40 +0100
Subject: [PATCH] Restore support for Python 3.6 virtual environments
@@ -12,7 +12,7 @@ It's only tested on Fedora CI, not in %check.
2 files changed, 4 insertions(+), 14 deletions(-)
diff --git a/src/virtualenv/create/via_global_ref/_virtualenv.py b/src/virtualenv/create/via_global_ref/_virtualenv.py
-index 8b15354..f665724 100644
+index c5b5fa6..fe843aa 100644
--- a/src/virtualenv/create/via_global_ref/_virtualenv.py
+++ b/src/virtualenv/create/via_global_ref/_virtualenv.py
@@ -1,21 +1,13 @@
@@ -40,10 +40,10 @@ index 8b15354..f665724 100644
Some of this arguments though don't make sense in context of the virtual environment files, let's fix them up.
@@ -55,7 +47,7 @@ class _Finder:
# See https://github.com/pypa/virtualenv/issues/1895 for details.
- lock = [] # noqa: RUF012
+ lock = [] # ruff:ignore[mutable-class-default]
-- def find_spec(self, fullname: str, path: object, target: object = None) -> ModuleSpec | None: # noqa: ARG002
-+ def find_spec(self, fullname: str, path: object, target: object = None): # noqa: ARG002
+- def find_spec(self, fullname: str, path: object, target: object = None) -> ModuleSpec | None: # ruff:ignore[unused-method-argument]
++ def find_spec(self, fullname: str, path: object, target: object = None): # ruff:ignore[unused-method-argument]
# Guard against race conditions during file rewrite by checking if _DISTUTILS_PATCH is defined.
# This can happen when the file is being overwritten while it's being imported by another process.
# See https://github.com/pypa/virtualenv/issues/2969 for details.
@@ -55,7 +55,7 @@ index 8b15354..f665724 100644
+ def _patch_spec(self, spec, partial):
old = getattr(spec.loader, "exec_module", None)
if old is not None and old is not self.exec_module:
- try: # noqa: SIM105
+ try: # ruff:ignore[suppressible-exception]
@@ -100,7 +92,7 @@ class _Finder:
return spec
@@ -78,5 +78,5 @@ index 5115865..fc5c4c6 100644
__all__ = [
--
-2.54.0
+2.55.0
diff --git a/sources b/sources
index e34f369..a22b121 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (virtualenv-21.6.1.tar.gz) = bb5388dec00fa8e607188b1bd9240f2bbccf1b80ba94e4df30737eb435aae2be8637d534e2448cf7eae14dcc2f2b02a63168816c2207c8251c129db2a5665f39
+SHA512 (virtualenv-21.7.4.tar.gz) = 52db3945bf8c3c8f87db9b2e9df3ff22ab45b4ce3f0ffdbb9a7b3678df4cde0b0980dd9040adf478a6909d0650ff6f873a2db2d022e402e8d46edc8b67cf5c97
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-08-12 10:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-08-12 10:02 [rpms/python-virtualenv] rawhide: Update to 21.7.4 (rhbz#2503679) Lumir Balhar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox