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