17
0

- 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
This commit is contained in:
2022-06-14 11:31:22 +00:00
committed by Git OBS Bridge
parent f90f6d3b59
commit 0dca495570
5 changed files with 25 additions and 24 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:80e038364d83c923fb180245ad5eb0c224a50510cc4aecedcafe81ade40d19f9
size 75092

View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:362eb26e95136a792491861cc2728d14a6309a9d4c4f13a7b9c3e6fd39de58ec
size 76127

View File

@@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Jun 14 05:59:02 UTC 2022 - Matej Cepl <mcepl@suse.com>
- 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 <dmueller@suse.com>

View File

@@ -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

View File

@@ -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