public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Lumir Balhar <lbalhar@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/python-virtualenv] rawhide: Update to 21.4.2 (rhbz#2482455)
Date: Wed, 10 Jun 2026 18:59:02 GMT	[thread overview]
Message-ID: <178111794242.1.9183404622993687818.rpms-python-virtualenv-c27d004099e0@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-virtualenv
Branch : rawhide
Commit : c27d004099e0838d5d875b2e1b00c4a56a0f3553
Author : Lumir Balhar <lbalhar@redhat.com>
Date   : 2026-06-09T13:01:28+02:00
Stats  : +24/-24 in 4 file(s)
URL    : https://src.fedoraproject.org/rpms/python-virtualenv/c/c27d004099e0838d5d875b2e1b00c4a56a0f3553?branch=rawhide

Log:
Update to 21.4.2 (rhbz#2482455)

---
diff --git a/python-virtualenv.spec b/python-virtualenv.spec
index ace3838..69aff8e 100644
--- a/python-virtualenv.spec
+++ b/python-virtualenv.spec
@@ -2,7 +2,7 @@
 %bcond tests %{without bootstrap}
 
 Name:           python-virtualenv
-Version:        21.3.1
+Version:        21.4.2
 Release:        %autorelease
 Summary:        Tool to create isolated Python environments
 

diff --git a/python3.6.patch b/python3.6.patch
index 1de57ee..c5615b9 100644
--- a/python3.6.patch
+++ b/python3.6.patch
@@ -1,4 +1,4 @@
-From 92f605c199a98a645ee08a92fca2443a38d9ea8d Mon Sep 17 00:00:00 2001
+From 7f460dead249a499b98119df7b1a03ba34671597 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 f63332c..7eacf13 100644
+index 8b15354..f665724 100644
 --- a/src/virtualenv/create/via_global_ref/_virtualenv.py
 +++ b/src/virtualenv/create/via_global_ref/_virtualenv.py
 @@ -1,21 +1,13 @@
@@ -47,24 +47,24 @@ index f63332c..7eacf13 100644
          # 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.
-@@ -100,7 +92,7 @@ class _Finder:
+@@ -90,7 +82,7 @@ class _Finder:
+                     return self._patch_spec(spec, partial)
          return None
  
+-    def _patch_spec(self, spec: ModuleSpec, partial: Callable[..., object]) -> ModuleSpec:
++    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
+@@ -100,7 +92,7 @@ class _Finder:
+         return spec
+ 
      @staticmethod
 -    def exec_module(old: Callable[..., object], module: types.ModuleType) -> None:
 +    def exec_module(old, module) -> None:
          old(module)
          try:
              distutils_patch = _DISTUTILS_PATCH
-@@ -112,7 +104,7 @@ class _Finder:
-                 patch_dist(module)
- 
-     @staticmethod
--    def load_module(old: Callable[..., types.ModuleType], name: str) -> types.ModuleType:
-+    def load_module(old, name: str):
-         module = old(name)
-         try:
-             distutils_patch = _DISTUTILS_PATCH
 diff --git a/src/virtualenv/discovery/py_info.py b/src/virtualenv/discovery/py_info.py
 index 5115865..fc5c4c6 100644
 --- a/src/virtualenv/discovery/py_info.py
@@ -78,5 +78,5 @@ index 5115865..fc5c4c6 100644
  
  __all__ = [
 -- 
-2.53.0
+2.54.0
 

diff --git a/rpm-wheels.patch b/rpm-wheels.patch
index 19c0de4..e629fb4 100644
--- a/rpm-wheels.patch
+++ b/rpm-wheels.patch
@@ -1,4 +1,4 @@
-From 1c13910b2f18076c6db7455fe7d1acd7b49c6563 Mon Sep 17 00:00:00 2001
+From 83d8fb54d8e86184b6aae22fee8b53095397b652 Mon Sep 17 00:00:00 2001
 From: Lumir Balhar <lbalhar@redhat.com>
 Date: Thu, 23 Apr 2026 07:38:31 +0200
 Subject: [PATCH] RPM wheels
@@ -35,7 +35,7 @@ index 79ebc42..fa7eb91 100644
  
  def load_app_data(
 diff --git a/src/virtualenv/seed/embed/base_embed.py b/src/virtualenv/seed/embed/base_embed.py
-index 9980dab..9588f8a 100644
+index cb344ce..af69b64 100644
 --- a/src/virtualenv/seed/embed/base_embed.py
 +++ b/src/virtualenv/seed/embed/base_embed.py
 @@ -8,6 +8,7 @@ from typing import TYPE_CHECKING
@@ -95,10 +95,10 @@ index fb44229..d516697 100644
          with self.get_pip_install_cmd(creator.exe, for_py_version) as cmd:
              env = pip_wheel_env_run(self.extra_search_dir, self.app_data, self.env)
 diff --git a/src/virtualenv/seed/embed/via_app_data/via_app_data.py b/src/virtualenv/seed/embed/via_app_data/via_app_data.py
-index 092ef74..12fec7b 100644
+index c60f35e..ac36433 100644
 --- a/src/virtualenv/seed/embed/via_app_data/via_app_data.py
 +++ b/src/virtualenv/seed/embed/via_app_data/via_app_data.py
-@@ -55,6 +55,7 @@ class FromAppData(BaseEmbed):
+@@ -56,6 +56,7 @@ class FromAppData(BaseEmbed):
      def run(self, creator: Creator) -> None:
          if not self.enabled:
              return
@@ -125,12 +125,12 @@ index 63f5376..7a1a244 100644
              to_folder=app_data.house,
              env=env,
 diff --git a/src/virtualenv/seed/wheels/embed/__init__.py b/src/virtualenv/seed/wheels/embed/__init__.py
-index df58d6d..bc8e890 100644
+index 05b359e..92057ad 100644
 --- a/src/virtualenv/seed/wheels/embed/__init__.py
 +++ b/src/virtualenv/seed/wheels/embed/__init__.py
-@@ -45,6 +45,9 @@ BUNDLE_SUPPORT = {
+@@ -49,6 +49,9 @@ BUNDLE_SUPPORT = {
  }
- MAX = "3.8"
+ MAX = next(reversed(BUNDLE_SUPPORT))
  
 +# Redefined here because bundled wheels are removed in RPM build
 +BUNDLE_SUPPORT = None
@@ -138,7 +138,7 @@ index df58d6d..bc8e890 100644
  # SHA-256 of every bundled wheel. Verified on load so a corrupted or tampered wheel on disk fails loud instead of
  # being handed to pip. Generated together with ``BUNDLE_SUPPORT`` by ``tasks/upgrade_wheels.py``.
  BUNDLE_SHA256 = {
-@@ -70,6 +73,7 @@ def get_embed_wheel(distribution: str, for_py_version: str) -> Wheel | None:
+@@ -75,6 +78,7 @@ def get_embed_wheel(distribution: str, for_py_version: str) -> Wheel | None:
      :raises RuntimeError: if the bundled wheel on disk fails SHA-256 verification.
  
      """
@@ -175,5 +175,5 @@ index 0000000..f3fd9b1
 +    if wheels_dir.exists():
 +        yield wheels_dir
 -- 
-2.53.0
+2.54.0
 

diff --git a/sources b/sources
index b3fc1d2..b7533c3 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (virtualenv-21.3.1.tar.gz) = 2e445492b2c02e47c57db39bdf7d3506dcf09958a73a814c4629e1e32281d9ca337c381cc61b3da46b583f08a77d7729eb3a655471b0f70196cff90daf4f24a0
+SHA512 (virtualenv-21.4.2.tar.gz) = 5e42f3a751b274284bf3885a964d3e855c0edc24a8a0d676c58645c91f54050202540273023e21d49f0fa25a0a195777296b3cb3e3e76202f2f6328846623897

                 reply	other threads:[~2026-06-10 18:59 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=178111794242.1.9183404622993687818.rpms-python-virtualenv-c27d004099e0@fedoraproject.org \
    --to=lbalhar@redhat.com \
    --cc=git-commits@fedoraproject.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