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.14.8 (rhbz#2536879)
Date: Fri, 23 Oct 2026 10:23:30 GMT	[thread overview]
Message-ID: <179275101048.1.12394128859662280444.rpms-python-virtualenv-006b40bfdf0d@fedoraproject.org> (raw)

A new commit has been pushed.

Repo   : rpms/python-virtualenv
Branch : rawhide
Commit : 006b40bfdf0d84b9f2209c5d92c9bf674e3abf5e
Author : Lumir Balhar <lbalhar@redhat.com>
Date   : 2026-10-16T16:12:09+02:00
Stats  : +25/-24 in 3 file(s)
URL    : https://src.fedoraproject.org/rpms/python-virtualenv/c/006b40bfdf0d84b9f2209c5d92c9bf674e3abf5e?branch=rawhide

Log:
Update to 21.14.8 (rhbz#2536879)

---
diff --git a/python-virtualenv.spec b/python-virtualenv.spec
index 5e48f09..a749dd0 100644
--- a/python-virtualenv.spec
+++ b/python-virtualenv.spec
@@ -2,7 +2,7 @@
 %bcond tests %{without bootstrap}
 
 Name:           python-virtualenv
-Version:        21.7.10
+Version:        21.14.8
 Release:        %autorelease
 Summary:        Tool to create isolated Python environments
 

diff --git a/rpm-wheels.patch b/rpm-wheels.patch
index b7be811..a531d86 100644
--- a/rpm-wheels.patch
+++ b/rpm-wheels.patch
@@ -1,4 +1,4 @@
-From 2a9f956caddaba4c72ef45f86a8d2db395994c89 Mon Sep 17 00:00:00 2001
+From b94d3ee5c1fa304098748275ad10c6c62d574604 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
@@ -9,7 +9,7 @@ Content-Transfer-Encoding: 8bit
 Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
 ---
  src/virtualenv/run/__init__.py                |  5 +++--
- src/virtualenv/seed/embed/base_embed.py       | 16 +++++++++++++-
+ src/virtualenv/seed/embed/base_embed.py       | 17 +++++++++++++-
  src/virtualenv/seed/embed/pip_invoke.py       |  1 +
  .../seed/embed/via_app_data/via_app_data.py   |  1 +
  src/virtualenv/seed/wheels/acquire.py         |  3 ++-
@@ -19,7 +19,7 @@ Co-Authored-By: Miro Hrončok <miro@hroncok.cz>
  create mode 100644 src/virtualenv/util/path/_system_wheels.py
 
 diff --git a/src/virtualenv/run/__init__.py b/src/virtualenv/run/__init__.py
-index 79ebc42..fa7eb91 100644
+index 9788ebd..d424406 100644
 --- a/src/virtualenv/run/__init__.py
 +++ b/src/virtualenv/run/__init__.py
 @@ -125,8 +125,9 @@ def build_parser_only(args: list[str] | None = None) -> VirtualEnvConfigParser:
@@ -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 07f15d3..10a8b05 100644
+index 65c2f4e..52507e4 100644
 --- a/src/virtualenv/seed/embed/base_embed.py
 +++ b/src/virtualenv/seed/embed/base_embed.py
 @@ -9,6 +9,7 @@ from typing import TYPE_CHECKING
@@ -73,7 +73,7 @@ index 07f15d3..10a8b05 100644
      def distributions(cls) -> dict[str, str]:
 @@ -79,6 +89,7 @@ class BaseEmbed(Seeder, ABC):
              the remedies
-
+ 
          """
 +        return None  # RPM-provided wheels support any Python version
          if interpreter.version_info[:2] >= OLDEST_SUPPORTED:
@@ -82,12 +82,12 @@ index 07f15d3..10a8b05 100644
 @@ -163,6 +174,10 @@ class BaseEmbed(Seeder, ABC):
              result += f" {distribution}{ver},"
          return result[:-1] + ")"
-
+ 
 +    def insert_system_wheels_paths(self, creator):
 +        system_wheels_paths = get_system_wheels_paths(creator.interpreter)
 +        self.extra_search_dir = list(system_wheels_paths) + self.extra_search_dir
 +
-
+ 
  __all__ = [
      "BaseEmbed",
 diff --git a/src/virtualenv/seed/embed/pip_invoke.py b/src/virtualenv/seed/embed/pip_invoke.py
@@ -103,7 +103,7 @@ 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 c60f35e..ac36433 100644
+index 48f2767..8c02fac 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
 @@ -56,6 +56,7 @@ class FromAppData(BaseEmbed):
@@ -115,25 +115,26 @@ index c60f35e..ac36433 100644
              pip_version = name_to_whl["pip"].version_tuple if "pip" in name_to_whl else None
              installer_class = self.installer_class(pip_version)
 diff --git a/src/virtualenv/seed/wheels/acquire.py b/src/virtualenv/seed/wheels/acquire.py
-index 63f5376..7a1a244 100644
+index bd42796..9ba60d6 100644
 --- a/src/virtualenv/seed/wheels/acquire.py
 +++ b/src/virtualenv/seed/wheels/acquire.py
-@@ -68,11 +68,12 @@ def get_wheel(  # noqa: PLR0913
+@@ -83,12 +83,13 @@ def get_wheel(  # ruff:ignore[too-many-arguments]
  
      if download and wheel is None and version != Version.embed:
          # 2. download from the internet
 +        from virtualenv.util.path._system_wheels import get_system_wheels_paths
-         wheel = download_wheel(
-             distribution=distribution,
-             version_spec=Version.as_version_spec(version),
-             for_py_version=for_py_version,
--            search_dirs=search_dirs,
-+            search_dirs=get_system_wheels_paths(sys),
-             app_data=app_data,
-             to_folder=app_data.house,
-             env=env,
+         try:
+             wheel = download_wheel(
+                 distribution=distribution,
+                 version_spec=Version.as_version_spec(version),
+                 for_py_version=for_py_version,
+-                search_dirs=search_dirs,
++                search_dirs=get_system_wheels_paths(sys),
+                 app_data=app_data,
+                 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 ac9a85f..60f8745 100644
+index 1d8be73..c5c8cae 100644
 --- a/src/virtualenv/seed/wheels/embed/__init__.py
 +++ b/src/virtualenv/seed/wheels/embed/__init__.py
 @@ -53,6 +53,9 @@ def _release_tuple(version: str) -> tuple[int, ...]:
@@ -146,7 +147,7 @@ index ac9a85f..60f8745 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 = {
-@@ -77,6 +80,7 @@ def get_embed_wheel(distribution: str, for_py_version: str | None) -> Wheel | No
+@@ -78,6 +81,7 @@ def get_embed_wheel(distribution: str, for_py_version: str | None) -> Wheel | No
      :raises RuntimeError: if the bundled wheel on disk fails SHA-256 verification.
  
      """
@@ -183,5 +184,5 @@ index 0000000..f3fd9b1
 +    if wheels_dir.exists():
 +        yield wheels_dir
 -- 
-2.54.0
+2.56.0
 

diff --git a/sources b/sources
index e910373..8365fd4 100644
--- a/sources
+++ b/sources
@@ -1 +1 @@
-SHA512 (virtualenv-21.7.10.tar.gz) = 87e8de301a3d089c1066a87cc40848c0e60985eddaba9aff217f41aaa10149d96dc0ec39ee507066c3f3cc402a9ca09ca8b22d14cf369c63075e2eb703187311
+SHA512 (virtualenv-21.14.8.tar.gz) = 2819b57c96132fdd81ef99e5a8963845d35b45a057e47e7bbfa0f9c985c0ceb7998845eb78cbf0e8803b47a81396a9f147f8f212df0f6c5a05a3c6b9bb459da1

                 reply	other threads:[~2026-10-23 10:23 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=179275101048.1.12394128859662280444.rpms-python-virtualenv-006b40bfdf0d@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