15
0

Accepting request 1177307 from home:glaubitz:branches:devel:languages:python

- Update to version 6.11.0
  * The ``devpi-fsck`` script now returns an error code when
    there have been missing files or checksum errors.
  * Fix #983: Add plugin hook for mirror authentication header.
  * Preserve last modified of docs and toxresults during export/import.
  * Fix #1033: Use ``int`` for ``--mirror-cache-expiry`` to fix value of
    ``proxy_cache_valid`` in nginx caching config.
- from version 6.10.0
  * Use ``Authorization`` header instead of adding username/password
    to URL when fetching from mirror.
  * Fix #998: Use the pure Python httpx library instead of aiohttp to
    prevent delays in supporting newest Python releases.
  * Fix #996: support hashes other than sha256 in application/\
    vnd.pypi.simple.v1+json responses.
  * Only compare hostname instead of full URL prefix when parsing mirror
    packages to fix mirrors with basic authentication and absolute URLs.
    See #1006
- Adjust upstream source name in spec file
- Remove unrecognized --slow parameter from pytest command line
- Update BuildRequires and Requires from setup.py

OBS-URL: https://build.opensuse.org/request/show/1177307
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-devpi-server?expand=0&rev=28
This commit is contained in:
2024-05-28 13:52:51 +00:00
committed by Git OBS Bridge
parent 90e2d3f7d3
commit 1288d6bc7b
4 changed files with 35 additions and 9 deletions

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-devpi-server
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -20,12 +20,13 @@
%{?sle15_python_module_pythons}
Name: python-devpi-server
Version: 6.9.2
Version: 6.11.0
Release: 0
Summary: Private PyPI caching server
License: MIT
URL: https://doc.devpi.net
Source: https://files.pythonhosted.org/packages/source/d/devpi-server/devpi-server-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/d/devpi-server/devpi_server-%{version}.tar.gz
BuildRequires: %{python_module httpx}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
@@ -37,6 +38,7 @@ Requires: python-attrs
Requires: python-defusedxml
Requires: python-devpi-common >= 3.3.0
Requires: python-execnet >= 1.2
Requires: python-httpx
Requires: python-itsdangerous >= 0.24
Requires: python-lazy
Requires: python-passlib
@@ -49,7 +51,7 @@ Requires: python-ruamel.yaml >= 0.15.94
Requires: python-strictyaml
Requires: python-waitress >= 1.0.1
Requires(post): update-alternatives
Requires(postun):update-alternatives
Requires(postun): update-alternatives
# nginx tests failing when not skipped, likely due to rpmbuild environment
Suggests: nginx
Suggests: python-WebTest
@@ -85,7 +87,7 @@ A private PyPI caching server, providing user or team based indices which can
inherit packages from each other or from the pypi.org site.
%prep
%setup -q -n devpi-server-%{version}
%setup -q -n devpi_server-%{version}
sed -i "s/ruamel.yaml<=[^']*,/ruamel.yaml/g" setup.py
sed -i "s/--flake8//" tox.ini
@@ -111,7 +113,7 @@ for c in %{commands}; do
done
export PATH=$PATH:`pwd`/bin-%{$python_version}
export PYTHONPATH=:%{buildroot}%{$python_sitelib}
$python -m pytest --slow --ignore test_devpi_server -k "not ($donttest)" %{buildroot}%{$python_sitelib}/test_devpi_server
$python -m pytest --ignore test_devpi_server -k "not ($donttest)" %{buildroot}%{$python_sitelib}/test_devpi_server
}
%post