From 0dca495570fb6148b126edfa7acfb750fc9d07b5c182e9d4d2cf4c144815c57d Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 14 Jun 2022 11:31:22 +0000 Subject: [PATCH] - Update to 5.2.3: - Bump upper version limit on pluggy to <2.0. - fix #406: support ``--all`` to show all versions when listing more than one project. - Pin tox to <4dev. The next major version of devpi-client will use tox as a binary to support newer versions. - Support for basic authentication and client side certificates is deprecated now. Take a look at devpi-lockdown instead. - Hide password from index url in pip config with ``devpi use``. - Remove upstreamed patch test_sys_executable.patch. OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-client?expand=0&rev=11 --- devpi-client-5.2.0.tar.gz | 3 --- devpi-client-5.2.3.tar.gz | 3 +++ python-devpi-client.changes | 15 +++++++++++++++ python-devpi-client.spec | 14 +++++++------- test_sys_executable.patch | 14 -------------- 5 files changed, 25 insertions(+), 24 deletions(-) delete mode 100644 devpi-client-5.2.0.tar.gz create mode 100644 devpi-client-5.2.3.tar.gz delete mode 100644 test_sys_executable.patch diff --git a/devpi-client-5.2.0.tar.gz b/devpi-client-5.2.0.tar.gz deleted file mode 100644 index ee4bcd4..0000000 --- a/devpi-client-5.2.0.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:80e038364d83c923fb180245ad5eb0c224a50510cc4aecedcafe81ade40d19f9 -size 75092 diff --git a/devpi-client-5.2.3.tar.gz b/devpi-client-5.2.3.tar.gz new file mode 100644 index 0000000..3be21f4 --- /dev/null +++ b/devpi-client-5.2.3.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:362eb26e95136a792491861cc2728d14a6309a9d4c4f13a7b9c3e6fd39de58ec +size 76127 diff --git a/python-devpi-client.changes b/python-devpi-client.changes index 73094bf..229b8f8 100644 --- a/python-devpi-client.changes +++ b/python-devpi-client.changes @@ -1,3 +1,18 @@ +------------------------------------------------------------------- +Tue Jun 14 05:59:02 UTC 2022 - Matej Cepl + +- Update to 5.2.3: + - Bump upper version limit on pluggy to <2.0. + - fix #406: support ``--all`` to show all versions when listing + more than one project. + - Pin tox to <4dev. The next major version of devpi-client will + use tox as a binary to support newer versions. + - Support for basic authentication and client side certificates + is deprecated now. Take a look at devpi-lockdown instead. + - Hide password from index url in pip config with ``devpi + use``. +- Remove upstreamed patch test_sys_executable.patch. + ------------------------------------------------------------------- Tue Jun 9 19:25:40 UTC 2020 - Dirk Mueller diff --git a/python-devpi-client.spec b/python-devpi-client.spec index 5ceca69..0526f59 100644 --- a/python-devpi-client.spec +++ b/python-devpi-client.spec @@ -1,7 +1,7 @@ # # spec file for package python-devpi-client # -# Copyright (c) 2020 SUSE LLC +# Copyright (c) 2022 SUSE LLC # # All modifications and additions to the file contributed by third parties # remain the property of their copyright owners, unless otherwise agreed @@ -18,14 +18,13 @@ %{?!python_module:%define python_module() python-%{**} python3-%{**}} Name: python-devpi-client -Version: 5.2.0 +Version: 5.2.3 Release: 0 Summary: Client for devpi License: MIT Group: Development/Languages/Python URL: https://github.com/devpi/devpi Source: https://files.pythonhosted.org/packages/source/d/devpi-client/devpi-client-%{version}.tar.gz -Patch0: test_sys_executable.patch BuildRequires: %{python_module setuptools} BuildRequires: fdupes BuildRequires: python-rpm-macros @@ -37,7 +36,7 @@ Requires: python-py >= 1.4.31 Requires: python-tox >= 3.1.0 Requires: python-wheel Requires(post): update-alternatives -Requires(postun): update-alternatives +Requires(postun):update-alternatives Recommends: git-core Recommends: python-Sphinx BuildArch: noarch @@ -64,7 +63,7 @@ for invoking tox. %prep %setup -q -n devpi-client-%{version} rm tox.ini -%patch0 -p1 +%autopatch -p1 sed -i 's/"python \(setup.py[^"]*\)"/(sys.executable + " \1")/' testing/test_upload.py sed -i 's/"python", "setup.py"/sys.executable, "setup.py"/' testing/test_test.py @@ -81,9 +80,10 @@ sed -i 's/"python", "setup.py"/sys.executable, "setup.py"/' testing/test_test.py export LANG=en_US.UTF-8 export PYTHONDONTWRITEBYTECODE=1 export PATH=$PATH:%{buildroot}/%{_bindir} -# Unknown failures https://github.com/devpi/devpi/issues/706 +# Unknown failures gh#devpi/devpi#706 # test_help: devpi binary is not available (update-alternatives) -%pytest -k 'not (test_simple_install_new_venv_workflow or test_simple_install_activated_venv_workflow or test_help)' +# gh#devpi/devpi#896 to skip test_delete_*_with_inheritance +%pytest -k 'not (test_simple_install_new_venv_workflow or test_simple_install_activated_venv_workflow or test_help or test_delete_version_with_inheritance or test_delete_project_with_inheritance)' %post %python_install_alternative devpi diff --git a/test_sys_executable.patch b/test_sys_executable.patch deleted file mode 100644 index 5611ac2..0000000 --- a/test_sys_executable.patch +++ /dev/null @@ -1,14 +0,0 @@ ---- devpi-client-5.0.0/testing/test_upload.py.orig 2019-09-13 09:09:28.701349155 +0700 -+++ devpi-client-5.0.0/testing/test_upload.py 2019-09-13 09:09:49.097574807 +0700 -@@ -45,11 +45,6 @@ - - @pytest.mark.skipif("config.option.fast") - class TestCheckout: -- @pytest.fixture(autouse=True) -- def no_sys_executable(self, monkeypatch): -- """ make sure sys.executable is not used accidentally. """ -- monkeypatch.setattr(sys, "executable", None) -- - @pytest.fixture(scope="class", params=[".", "setupdir"]) - def setupdir_rel(self, request): - return request.param