Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-devpi-server for
openSUSE:Factory checked in at 2023-10-19 22:47:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-devpi-server (Old)
and /work/SRC/openSUSE:Factory/.python-devpi-server.new.1945 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-devpi-server"
Thu Oct 19 22:47:35 2023 rev:14 rq:1118748 version:6.9.2
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-devpi-server/python-devpi-server.changes
2023-08-13 19:18:13.268207735 +0200
+++
/work/SRC/openSUSE:Factory/.python-devpi-server.new.1945/python-devpi-server.changes
2023-10-19 22:50:04.640433638 +0200
@@ -1,0 +2,7 @@
+Thu Oct 19 01:15:47 UTC 2023 - Steve Kowalik <[email protected]>
+
+- Switch to pyproject macros.
+- Stop using greedy globs in %files.
+- Clean up skipping tests, packaging >22 is now required
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-devpi-server.spec ++++++
--- /var/tmp/diff_new_pack.ddFcyK/_old 2023-10-19 22:50:05.388460769 +0200
+++ /var/tmp/diff_new_pack.ddFcyK/_new 2023-10-19 22:50:05.392460914 +0200
@@ -24,14 +24,14 @@
Release: 0
Summary: Private PyPI caching server
License: MIT
-Group: Development/Languages/Python
URL: https://doc.devpi.net
Source:
https://files.pythonhosted.org/packages/source/d/devpi-server/devpi-server-%{version}.tar.gz
+BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
+BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-aiohttp
-Requires: python-appdirs
Requires: python-argon2-cffi >= 16.2
Requires: python-attrs
Requires: python-defusedxml
@@ -59,7 +59,6 @@
# SECTION test requirements
BuildRequires: %{python_module WebTest}
BuildRequires: %{python_module aiohttp}
-BuildRequires: %{python_module appdirs}
BuildRequires: %{python_module argon2-cffi >= 16.2}
BuildRequires: %{python_module attrs}
BuildRequires: %{python_module beautifulsoup4}
@@ -91,10 +90,10 @@
sed -i "s/--flake8//" tox.ini
%build
-%python_build
+%pyproject_wheel
%install
-%python_install
+%pyproject_install
for c in %{commands}; do
%python_clone -a %{buildroot}%{_bindir}/devpi-$c
done
@@ -103,14 +102,7 @@
%check
export PYTHONDONTWRITEBYTECODE=1
-# Broken tests with latest version of packaging, gh#devpi/devpi#948
-donttest="test_dashes_to_undescores_when_imported_from_v1"
-donttest+=" or test_name_mangling_relates_to_issue132"
-donttest+=" or test_parse_index_with_valid_basenames[py.tar.gz]"
-donttest+=" or test_parse_index_with_valid_basenames[py-1.3.1-1.0rc4.tar.gz]"
-donttest+=" or test_simple_project_pypi_egg"
-donttest+=" or test_streaming"
-donttest+=" or test_streaming_replica"
+donttest="test_auth_mirror_url"
%{python_expand \
mkdir bin-%{$python_version}
@@ -143,5 +135,8 @@
%python_alternative %{_bindir}/devpi-passwd
%python_alternative %{_bindir}/devpi-server
%python_alternative %{_bindir}/devpi-gen-secret
-%{python_sitelib}/*
+%{python_sitelib}/devpi_server
+%{python_sitelib}/test_devpi_server
+%{python_sitelib}/pytest_devpi_server
+%{python_sitelib}/devpi_server-%{version}.dist-info