From 01cc60728c30446a85ee39fd7140d4d208996163711f4bc44d4c061d213142e1 Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Tue, 3 Oct 2023 06:46:26 +0000 Subject: [PATCH 1/2] =?UTF-8?q?-=20Update=20to=20v20.24.5:=20=20=20-=20Fix?= =?UTF-8?q?=20brew=20cannot=20copy=20by=20@gaborbernat=20in=20#2640=20=20?= =?UTF-8?q?=20-=20Test=20with=203.12=20rc=20by=20@gaborbernat=20in=20#2641?= =?UTF-8?q?=20=20=20-=20Upgrade=20setuptools=20by=20@gaborbernat=20in=20#2?= =?UTF-8?q?642=20=20=20-=20GitHub=20Actions:=20Add=20PyPy=203.10=20to=20te?= =?UTF-8?q?sting=20by=20@cclauss=20in=20#2638=20-=2020.24.4:=20=20=20-=20F?= =?UTF-8?q?ix=20typo=20found=20by=20codespell=20by=20@DimitriPapadopoulos?= =?UTF-8?q?=20in=20#2624=20=20=20-=20Updating=20extend.rst=20typo=20by=20@?= =?UTF-8?q?sagardesai1=20in=20#2626=20-=2020.24.3:=20=20=20-=20Update=20co?= =?UTF-8?q?mpatibility=20docs=20by=20@jugmac00=20in=20#2618=20=20=20-=20fi?= =?UTF-8?q?x=20ResourceWarning=20on=20process=20exit=20(#2472)=20by=20@sig?= =?UTF-8?q?ma67=20in=20#2617=20=20=20-=20added=20scripts=20in=20tasks=20di?= =?UTF-8?q?rectory=20to=20sdist=20on=20build=20(#2610)=20by=20@sigma67=20i?= =?UTF-8?q?n=20#2620=20=20=20-=20Bump=20wheel=20by=20@gaborbernat=20in=20#?= =?UTF-8?q?2622=20-=2020.24.2:=20=20=20-=20Bump=20pip=20and=20wheel=20by?= =?UTF-8?q?=20@gaborbernat=20in=20#2614=20-=2020.24.1:=20=20=20-=20Upgrade?= =?UTF-8?q?=20pip=20by=20@arielkirkwood=20in=20#2611=20-=2020.24.0:=20=20?= =?UTF-8?q?=20-=20Fix=20the=20CI=20by=20@gaborbernat=20in=20#2593=20=20=20?= =?UTF-8?q?-=20Quickstart=20guide=20by=20@AlvesJorge=20in=20#2599=20=20=20?= =?UTF-8?q?-=20Updated=20CLI=20documentation=20with=20config=20file=20name?= =?UTF-8?q?=20by=20@nathanczh=20in=20#2602=20=20=20-=20Exclude=20dependabo?= =?UTF-8?q?t=20and=20pre-commit=20ci=20from=20release=20notes=20by=20@gabo?= =?UTF-8?q?rbernat=20in=20#2603=20=20=20-=20Export=20VIRTUAL=5FENV=5FPROMP?= =?UTF-8?q?T=20in=20activation=20scripts=20(#2194)=20by=20@jimporter=20in?= =?UTF-8?q?=20#2606=20=20=20-=20Upgrade=20setuptools=20by=20@gaborbernat?= =?UTF-8?q?=20in=20#2607=20-=2020.23.1:=20=20=20-=20Bump=20pypa/gh-action-?= =?UTF-8?q?pypi-publish=20from=201.8.5=20to=201.8.6=20by=20@dependabot=20i?= =?UTF-8?q?n=20#2566=20=20=20-=20feat:=20=E2=9C=A8=20update=20and=20simpli?= =?UTF-8?q?fy=20nushell=20activation=20by=20@melMass=20in=20#2572=20=20=20?= =?UTF-8?q?-=20Fix=20deprecation=20warning=20by=20@jugmac00=20in=20#2575?= =?UTF-8?q?=20=20=20-=20Replace=20unmaintained=20pytest-freezegun=20by=20@?= =?UTF-8?q?jugmac00=20in=20#2576=20=20=20-=20Update=20cli=5Finterface.rst?= =?UTF-8?q?=20by=20@uberFoo=20in=20#2586?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=137 --- python-virtualenv.changes | 28 ++++++++++++++++++++++++++++ python-virtualenv.spec | 16 ++++++++-------- virtualenv-20.23.1.tar.gz | 3 --- virtualenv-20.24.5.tar.gz | 3 +++ 4 files changed, 39 insertions(+), 11 deletions(-) delete mode 100644 virtualenv-20.23.1.tar.gz create mode 100644 virtualenv-20.24.5.tar.gz diff --git a/python-virtualenv.changes b/python-virtualenv.changes index aa9a5c8..201be6d 100644 --- a/python-virtualenv.changes +++ b/python-virtualenv.changes @@ -1,3 +1,31 @@ +------------------------------------------------------------------- +Tue Oct 3 06:39:58 UTC 2023 - Daniel Garcia + +- Update to v20.24.5: + - Fix brew cannot copy by @gaborbernat in #2640 + - Test with 3.12 rc by @gaborbernat in #2641 + - Upgrade setuptools by @gaborbernat in #2642 + - GitHub Actions: Add PyPy 3.10 to testing by @cclauss in #2638 +- 20.24.4: + - Fix typo found by codespell by @DimitriPapadopoulos in #2624 + - Updating extend.rst typo by @sagardesai1 in #2626 +- 20.24.3: + - Update compatibility docs by @jugmac00 in #2618 + - fix ResourceWarning on process exit (#2472) by @sigma67 in #2617 + - added scripts in tasks directory to sdist on build (#2610) by @sigma67 in #2620 + - Bump wheel by @gaborbernat in #2622 +- 20.24.2: + - Bump pip and wheel by @gaborbernat in #2614 +- 20.24.1: + - Upgrade pip by @arielkirkwood in #2611 +- 20.24.0: + - Fix the CI by @gaborbernat in #2593 + - Quickstart guide by @AlvesJorge in #2599 + - Updated CLI documentation with config file name by @nathanczh in #2602 + - Exclude dependabot and pre-commit ci from release notes by @gaborbernat in #2603 + - Export VIRTUAL_ENV_PROMPT in activation scripts (#2194) by @jimporter in #2606 + - Upgrade setuptools by @gaborbernat in #2607 + ------------------------------------------------------------------- Fri Jun 30 15:40:31 UTC 2023 - Markéta Machová diff --git a/python-virtualenv.spec b/python-virtualenv.spec index 815b38e..682dd69 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -28,27 +28,27 @@ %define skip_python2 1 %{?sle15_python_module_pythons} Name: python-virtualenv%{psuffix} -Version: 20.23.1 +Version: 20.24.5 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 -BuildRequires: %{python_module distlib >= 0.3.6} -BuildRequires: %{python_module filelock >= 3.11} +BuildRequires: %{python_module distlib >= 0.3.7} +BuildRequires: %{python_module filelock >= 3.12.2} BuildRequires: %{python_module hatch-vcs >= 0.3} BuildRequires: %{python_module hatchling >= 1.14} -BuildRequires: %{python_module importlib-metadata >= 6.4.1 if %python-base < 3.8} +BuildRequires: %{python_module importlib-metadata >= 6.6 if %python-base < 3.8} BuildRequires: %{python_module importlib_resources >= 1.0 if %python-base < 3.7} BuildRequires: %{python_module pip} -BuildRequires: %{python_module platformdirs >= 3.2} +BuildRequires: %{python_module platformdirs} BuildRequires: %{python_module setuptools >= 41.0.0} BuildRequires: %{python_module wheel} BuildRequires: fdupes BuildRequires: python-rpm-macros -Requires: python-distlib >= 0.3.6 -Requires: python-filelock >= 3.11 -Requires: python-platformdirs >= 3.2 +Requires: python-distlib >= 0.3.7 +Requires: python-filelock >= 3.12.2 +Requires: python-platformdirs Requires(post): update-alternatives Requires(postun):update-alternatives BuildArch: noarch diff --git a/virtualenv-20.23.1.tar.gz b/virtualenv-20.23.1.tar.gz deleted file mode 100644 index 7c77da7..0000000 --- a/virtualenv-20.23.1.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:8ff19a38c1021c742148edc4f81cb43d7f8c6816d2ede2ab72af5b84c749ade1 -size 6619074 diff --git a/virtualenv-20.24.5.tar.gz b/virtualenv-20.24.5.tar.gz new file mode 100644 index 0000000..3b76d31 --- /dev/null +++ b/virtualenv-20.24.5.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8361967f6da6fbdf1426483bfe9fca8287c242ac0bc30429905721cefbff752 +size 7119883 From ca99656e7953c34e05f302cc0a9c52a50640b36731888feccd02a5a90ea3c87b Mon Sep 17 00:00:00 2001 From: Daniel Garcia Date: Tue, 3 Oct 2023 07:10:47 +0000 Subject: [PATCH 2/2] - Add fix-tests-hookimpls.patch to fix tests with latest pytest in Factory. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-virtualenv?expand=0&rev=138 --- fix-tests-hookimpls.patch | 13 +++++++++++++ python-virtualenv.changes | 6 ++++++ python-virtualenv.spec | 2 ++ 3 files changed, 21 insertions(+) create mode 100644 fix-tests-hookimpls.patch diff --git a/fix-tests-hookimpls.patch b/fix-tests-hookimpls.patch new file mode 100644 index 0000000..0b278d4 --- /dev/null +++ b/fix-tests-hookimpls.patch @@ -0,0 +1,13 @@ +Index: virtualenv-20.24.5/tests/conftest.py +=================================================================== +--- virtualenv-20.24.5.orig/tests/conftest.py ++++ virtualenv-20.24.5/tests/conftest.py +@@ -25,7 +25,7 @@ def pytest_configure(config): + """Ensure randomly is called before we re-order""" + manager = config.pluginmanager + +- order = manager.hook.pytest_collection_modifyitems._hookimpls # noqa: SLF001 ++ order = manager.hook.pytest_collection_modifyitems.get_hookimpls() # noqa: SLF001 + dest = next((i for i, p in enumerate(order) if p.plugin is manager.getplugin("randomly")), None) + if dest is not None: + from_pos = next(i for i, p in enumerate(order) if p.plugin is manager.getplugin(__file__)) diff --git a/python-virtualenv.changes b/python-virtualenv.changes index 201be6d..5189ce7 100644 --- a/python-virtualenv.changes +++ b/python-virtualenv.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Tue Oct 3 07:10:17 UTC 2023 - Daniel Garcia + +- Add fix-tests-hookimpls.patch to fix tests with latest pytest in + Factory. + ------------------------------------------------------------------- Tue Oct 3 06:39:58 UTC 2023 - Daniel Garcia diff --git a/python-virtualenv.spec b/python-virtualenv.spec index 682dd69..2ab9da9 100644 --- a/python-virtualenv.spec +++ b/python-virtualenv.spec @@ -34,6 +34,8 @@ 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 +# PATCH-FIX-OPENSUSE fix-tests-hookimpls.patch +Patch1: fix-tests-hookimpls.patch BuildRequires: %{python_module distlib >= 0.3.7} BuildRequires: %{python_module filelock >= 3.12.2} BuildRequires: %{python_module hatch-vcs >= 0.3}