From 1288d6bc7b28d28e03d8604a2f37777a6b128ad4cdf79ab6007aa05acc7dad61 Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 28 May 2024 13:52:51 +0000 Subject: [PATCH] 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 --- devpi-server-6.9.2.tar.gz | 3 --- devpi_server-6.11.0.tar.gz | 3 +++ python-devpi-server.changes | 24 ++++++++++++++++++++++++ python-devpi-server.spec | 14 ++++++++------ 4 files changed, 35 insertions(+), 9 deletions(-) delete mode 100644 devpi-server-6.9.2.tar.gz create mode 100644 devpi_server-6.11.0.tar.gz diff --git a/devpi-server-6.9.2.tar.gz b/devpi-server-6.9.2.tar.gz deleted file mode 100644 index 84b8272..0000000 --- a/devpi-server-6.9.2.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:5b2425632b55344183460051fbb44d3dd9d327e9a0201e50cd65552bcb5a44ad -size 260720 diff --git a/devpi_server-6.11.0.tar.gz b/devpi_server-6.11.0.tar.gz new file mode 100644 index 0000000..4064245 --- /dev/null +++ b/devpi_server-6.11.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e8e32d1f1978e85843b29dc9a8c4446a054287ef2b90fa25f4fb3d8978be9c76 +size 266378 diff --git a/python-devpi-server.changes b/python-devpi-server.changes index 6b4ed8a..a5d9532 100644 --- a/python-devpi-server.changes +++ b/python-devpi-server.changes @@ -1,3 +1,27 @@ +------------------------------------------------------------------- +Tue May 28 09:33:23 UTC 2024 - John Paul Adrian Glaubitz + +- 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 diff --git a/python-devpi-server.spec b/python-devpi-server.spec index bcd5ab5..bb48ee5 100644 --- a/python-devpi-server.spec +++ b/python-devpi-server.spec @@ -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