diff --git a/packages/p/python-virtualenv/.files b/packages/p/python-virtualenv/.files index 9b91b95443b..67933445875 100644 Binary files a/packages/p/python-virtualenv/.files and b/packages/p/python-virtualenv/.files differ diff --git a/packages/p/python-virtualenv/.rev b/packages/p/python-virtualenv/.rev index aa61e9fd52e..aaff031ed7c 100644 --- a/packages/p/python-virtualenv/.rev +++ b/packages/p/python-virtualenv/.rev @@ -459,4 +459,34 @@ ers toes by using a lock while creating the base images. By :user:`gaborbernat`. - by :user:`gaborbernat`. (`#1781 <https://github.com/pypa/virtualenv/issues/1781>`_) 819158 + + a8c59ef12a4cfecb6230a894d6e1a346 + 20.0.33 + + dimstar_suse + - Update to 20.0.33: + * Fix ``None`` type error in cygwin if POSIX path in dest - by :user:`danyeaw`. (`#1962 <https://github.com/pypa/virtualenv/issues/1962>`_) + * Fix Python 3.4 incompatibilities (added back to the CI) - by :user:`gaborbernat`. (`#1963 <https://github.com/pypa/virtualenv/issues/1963>`_) + * For activation scripts always use UNIX line endings (unless it's BATCH shell related) - by :user:`saytosid`. (`#1818 <https://github.com/pypa/virtualenv/issues/1818>`_) + * Avoid spawning new windows when doing seed package upgrades in the background on Windows - by :user:`gaborbernat`. (`#1928 <https://github.com/pypa/virtualenv/issues/1928>`_) + * Fix a bug that reading and writing on the same file may cause race on multiple processes. (`#1938 <https://github.com/pypa/virtualenv/issues/1938>`_) + * Provide correct path for bash activator in cygwin or msys2 - by :user:`danyeaw`. (`#1940 <https://github.com/pypa/virtualenv/issues/1940>`_) + * Relax importlib requirement to allow version<3 - by :user:`usamasadiq` (`#1953 <https://github.com/pypa/virtualenv/issues/1953>`_) + * pth files were not processed on CPython2 if $PYTHONPATH was pointing to site-packages/ - by :user:`navytux`. (`#1959 <https://github.com/pypa/virtualenv/issues/1959>`_) (`#1960 <https://github.com/pypa/virtualenv/issues/1960>`_) + * Fix test suite failing if run from system Python - by :user:`gaborbernat`. (`#1882 <https://github.com/pypa/virtualenv/issues/1882>`_) + * Provide ``setup_logging`` flag to python API so that users can bypass logging handling if their application already + * performs this - by :user:`gaborbernat`. (`#1896 <https://github.com/pypa/virtualenv/issues/1896>`_) + * Use ``\n`` instead if ``\r\n`` as line separator for report (because Python already performs this transformation + * automatically upon write to the logging pipe) - by :user:`gaborbernat`. (`#1905 <https://github.com/pypa/virtualenv/issues/1905>`_) + * No longer preimport threading to fix support for `gpython <https://pypi.org/project/pygolang/#gpython>`_ and `gevent <https://www.gevent.org/>`_ - by :user:`navytux`. (`#1897 <https://github.com/pypa/virtualenv/issues/1897>`_) + * Bump dependency ``distutils >= 0.3.1`` - by :user:`gaborbernat`. (`#1880 <https://github.com/pypa/virtualenv/issues/1880>`_) + * Improve periodic update handling: + + better logging output while running and enable logging on background process call (``_VIRTUALENV_PERIODIC_UPDATE_INLINE`` may be used to debug behaviour inline) + + fallback to unverified context when querying the PyPi for release date, + + stop downloading wheels once we reach the embedded version, by :user:`gaborbernat`. (`#1883 <https://github.com/pypa/virtualenv/issues/1883>`_) + * Do not print error message if the application exists with ``SystemExit(0)`` - by :user:`gaborbernat`. (`#1885 <https://github.com/pypa/virtualenv/issues/1885>`_) +- Update Requires of python-distlib +- Drop tests.patch, included upstream. + 840217 + diff --git a/packages/p/python-virtualenv/python-virtualenv.changes b/packages/p/python-virtualenv/python-virtualenv.changes index e3351edb6ec..b7ebe790cd8 100644 --- a/packages/p/python-virtualenv/python-virtualenv.changes +++ b/packages/p/python-virtualenv/python-virtualenv.changes @@ -1,3 +1,30 @@ +------------------------------------------------------------------- +Thu Oct 8 04:11:15 UTC 2020 - Steve Kowalik + +- Update to 20.0.33: + * Fix ``None`` type error in cygwin if POSIX path in dest - by :user:`danyeaw`. (`#1962 `_) + * Fix Python 3.4 incompatibilities (added back to the CI) - by :user:`gaborbernat`. (`#1963 `_) + * For activation scripts always use UNIX line endings (unless it's BATCH shell related) - by :user:`saytosid`. (`#1818 `_) + * Avoid spawning new windows when doing seed package upgrades in the background on Windows - by :user:`gaborbernat`. (`#1928 `_) + * Fix a bug that reading and writing on the same file may cause race on multiple processes. (`#1938 `_) + * Provide correct path for bash activator in cygwin or msys2 - by :user:`danyeaw`. (`#1940 `_) + * Relax importlib requirement to allow version<3 - by :user:`usamasadiq` (`#1953 `_) + * pth files were not processed on CPython2 if $PYTHONPATH was pointing to site-packages/ - by :user:`navytux`. (`#1959 `_) (`#1960 `_) + * Fix test suite failing if run from system Python - by :user:`gaborbernat`. (`#1882 `_) + * Provide ``setup_logging`` flag to python API so that users can bypass logging handling if their application already + * performs this - by :user:`gaborbernat`. (`#1896 `_) + * Use ``\n`` instead if ``\r\n`` as line separator for report (because Python already performs this transformation + * automatically upon write to the logging pipe) - by :user:`gaborbernat`. (`#1905 `_) + * No longer preimport threading to fix support for `gpython `_ and `gevent `_ - by :user:`navytux`. (`#1897 `_) + * Bump dependency ``distutils >= 0.3.1`` - by :user:`gaborbernat`. (`#1880 `_) + * Improve periodic update handling: + + better logging output while running and enable logging on background process call (``_VIRTUALENV_PERIODIC_UPDATE_INLINE`` may be used to debug behaviour inline) + + fallback to unverified context when querying the PyPi for release date, + + stop downloading wheels once we reach the embedded version, by :user:`gaborbernat`. (`#1883 `_) + * Do not print error message if the application exists with ``SystemExit(0)`` - by :user:`gaborbernat`. (`#1885 `_) +- Update Requires of python-distlib +- Drop tests.patch, included upstream. + ------------------------------------------------------------------- Tue Jul 7 07:20:17 UTC 2020 - Tomáš Chvátal diff --git a/packages/p/python-virtualenv/python-virtualenv.spec b/packages/p/python-virtualenv/python-virtualenv.spec index a67410e788c..6536170f71f 100644 --- a/packages/p/python-virtualenv/python-virtualenv.spec +++ b/packages/p/python-virtualenv/python-virtualenv.spec @@ -26,19 +26,18 @@ %bcond_with test %endif Name: python-virtualenv%{psuffix} -Version: 20.0.25 +Version: 20.0.33 Release: 0 Summary: Virtual Python Environment builder License: MIT URL: http://www.virtualenv.org/ Source: https://files.pythonhosted.org/packages/source/v/virtualenv/virtualenv-%{version}.tar.gz -Patch0: tests.patch BuildRequires: %{python_module setuptools >= 41.0.0} BuildRequires: %{python_module setuptools_scm >= 2} BuildRequires: fdupes BuildRequires: python-rpm-macros Requires: python-appdirs >= 1.4.3 -Requires: python-distlib >= 0.3.0 +Requires: python-distlib >= 0.3.1 Requires: python-filelock >= 3.0.0 Requires: python-importlib-metadata >= 0.12 Requires: python-importlib_resources >= 1.0 @@ -88,7 +87,6 @@ libraries either). %prep %setup -q -n virtualenv-%{version} -%autopatch -p1 %build %python_build diff --git a/packages/p/python-virtualenv/tests.patch b/packages/p/python-virtualenv/tests.patch deleted file mode 100644 index 2fd9906cabf..00000000000 --- a/packages/p/python-virtualenv/tests.patch +++ /dev/null @@ -1,48 +0,0 @@ -From 1f937b09bc268725cfdb09fc88939d1acde24b25 Mon Sep 17 00:00:00 2001 -From: Bernat Gabor -Date: Sat, 4 Jul 2020 17:37:51 +0100 -Subject: [PATCH] Fix test suite failing if run under system Python - -Signed-off-by: Bernat Gabor ---- - docs/changelog/1882.bufix.rst | 1 + - tests/conftest.py | 7 +++++++ - tests/unit/discovery/py_info/test_py_info.py | 2 +- - 3 files changed, 9 insertions(+), 1 deletion(-) - create mode 100644 docs/changelog/1882.bufix.rst - -diff --git a/docs/changelog/1882.bufix.rst b/docs/changelog/1882.bufix.rst -new file mode 100644 -index 000000000..25669a364 ---- /dev/null -+++ b/docs/changelog/1882.bufix.rst -@@ -0,0 +1 @@ -+Fix test suite failing if run from system Python - by :user:`gaborbernat`. -diff --git a/tests/conftest.py b/tests/conftest.py -index 97e109e93..e69e4d72d 100644 ---- a/tests/conftest.py -+++ b/tests/conftest.py -@@ -342,3 +342,10 @@ def cross_python(is_inside_ci, session_app_data): - @pytest.fixture(scope="session") - def for_py_version(): - return "{}.{}".format(*sys.version_info[0:2]) -+ -+ -+@pytest.fixture() -+def skip_if_test_in_system(session_app_data): -+ current = PythonInfo.current(session_app_data) -+ if current.system_executable is not None: -+ pytest.skip("test not valid if run under system") -diff --git a/tests/unit/discovery/py_info/test_py_info.py b/tests/unit/discovery/py_info/test_py_info.py -index 11f3dcc26..6ed11c3e2 100644 ---- a/tests/unit/discovery/py_info/test_py_info.py -+++ b/tests/unit/discovery/py_info/test_py_info.py -@@ -299,7 +299,7 @@ def test_py_info_setuptools(): - PythonInfo() - - --def test_py_info_to_system_raises(session_app_data, mocker, caplog): -+def test_py_info_to_system_raises(session_app_data, mocker, caplog, skip_if_test_in_system): - caplog.set_level(logging.DEBUG) - mocker.patch.object(PythonInfo, "_find_possible_folders", return_value=[]) - result = PythonInfo.from_exe(sys.executable, app_data=session_app_data, raise_on_error=False) diff --git a/packages/p/python-virtualenv/virtualenv-20.0.25.tar.gz b/packages/p/python-virtualenv/virtualenv-20.0.25.tar.gz deleted file mode 120000 index 197e0068864..00000000000 --- a/packages/p/python-virtualenv/virtualenv-20.0.25.tar.gz +++ /dev/null @@ -1 +0,0 @@ -/ipfs/bafybeierx3jj3hdq6wptlmjwq6yx6tlayzlpk76s7zpx67bcdemaujguaq \ No newline at end of file diff --git a/packages/p/python-virtualenv/virtualenv-20.0.33.tar.gz b/packages/p/python-virtualenv/virtualenv-20.0.33.tar.gz new file mode 120000 index 00000000000..5f87e06ea78 --- /dev/null +++ b/packages/p/python-virtualenv/virtualenv-20.0.33.tar.gz @@ -0,0 +1 @@ +/ipfs/bafybeihwbkvhmmfhfjf7ppuoyy6folrh4rizykqspnuq577smhzjiel33q \ No newline at end of file