#18 Fedora 32: Update to 16.7.10
Merged 4 years ago by churchyard. Opened 4 years ago by churchyard.
rpms/ churchyard/python-virtualenv 16.7.10  into  f32

file modified
+4 -8
@@ -1,8 +1,4 @@ 

- /virtualenv-13.1.2.tar.gz

- /virtualenv-14.0.6.tar.gz

- /virtualenv-15.0.3.tar.gz

- noarch

- /virtualenv-15.1.0.tar.gz

- /virtualenv-16.0.0.tar.gz

- /virtualenv-16.6.1.tar.gz

- /virtualenv-16.7.3.tar.gz

+ /virtualenv-*.tar.gz

+ /virtualenv-*/

+ /results_python-virtualenv/

+ *.rpm

file modified
+6 -2
@@ -1,6 +1,6 @@ 

  Name:           python-virtualenv

- Version:        16.7.3

- Release:        3%{?dist}

+ Version:        16.7.10

+ Release:        1%{?dist}

  Summary:        Tool to create isolated Python environments

  

  License:        MIT
@@ -140,6 +140,10 @@ 

  

  

  %changelog

+ * Tue Feb 25 2020 Miro Hrončok <mhroncok@redhat.com> - 16.7.10-1

+ - Update to 16.7.10

+ - Explicitly require setuptools < 44 with Python 3.4

+ 

  * Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 16.7.3-3

  - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild

  

file modified
+28 -2
@@ -1,8 +1,8 @@ 

  diff --git a/virtualenv.py b/virtualenv.py

- index 8f05739..cd10e9f 100755

+ index c7f71e6..3740014 100755

  --- a/virtualenv.py

  +++ b/virtualenv.py

- @@ -476,7 +476,18 @@ def virtualenv_support_dirs():

+ @@ -475,7 +475,18 @@ def virtualenv_support_dirs():

   

       # normal filesystem installation

       if os.path.isdir(join(HERE, "virtualenv_support")):
@@ -22,3 +22,29 @@ 

       elif IS_ZIPAPP:

           tmpdir = tempfile.mkdtemp()

           try:

+ @@ -998,6 +998,8 @@ def find_wheels(projects, search_dirs):

+                  )

+                  if project == "pip" and sys.version_info[0:2] == (3, 4):

+                      wheel = next(p for v, p in versions if v <= (19, 1, 1))

+ +                elif project == "setuptools" and sys.version_info[0:2] == (3, 4):

+ +                    wheel = next(p for v, p in versions if v < (44,))

+                  else:

+                      wheel = versions[0][1]

+                  wheels.append(wheel)

+ @@ -1091,9 +1093,13 @@ def _install_wheel_with_search_dir(download, project_names, py_executable, searc

+          )

+      ).encode("utf8")

+  

+ -    if sys.version_info[0:2] == (3, 4) and "pip" in project_names:

+ -        at = project_names.index("pip")

+ -        project_names[at] = "pip<19.2"

+ +    if sys.version_info[0:2] == (3, 4):

+ +        if "pip" in project_names:

+ +            at = project_names.index("pip")

+ +            project_names[at] = "pip<19.2"

+ +        if "setuptools" in project_names:

+ +            at = project_names.index("setuptools")

+ +            project_names[at] = "setuptools<44"

+  

+      cmd = [py_executable, "-"] + project_names

+      logger.start_progress("Installing {}...".format(", ".join(project_names)))

file modified
+1 -1
@@ -1,1 +1,1 @@ 

- SHA512 (virtualenv-16.7.3.tar.gz) = 0109d4260882a1ecb93556ab6661dd42314ef45618cbbe25925dc068ed199281ae5f968dfca5ab26029a4d9e486eaae916d1287b7a3461b4d5e9b92d4ebf8b8a

+ SHA512 (virtualenv-16.7.10.tar.gz) = 28bd2f81d0df629cc69ad06401ba25f2fa5c3e9678255ae151e6f2ef7c7a2b0dc89671355dbb6fb1da3a562180ae3769abca160d9933f3aafba43a6fba08793c