17
0

Accepting request 1178483 from devel:languages:python

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/1178483
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-devpi-server?expand=0&rev=15
This commit is contained in:
2024-06-05 15:39:38 +00:00
committed by Git OBS Bridge
4 changed files with 35 additions and 9 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:5b2425632b55344183460051fbb44d3dd9d327e9a0201e50cd65552bcb5a44ad
size 260720

View File

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

View File

@@ -1,3 +1,27 @@
-------------------------------------------------------------------
Tue May 28 09:33:23 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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
-------------------------------------------------------------------
Thu Oct 19 01:15:47 UTC 2023 - Steve Kowalik <steven.kowalik@suse.com>

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