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-04-10 20:16:59
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-devpi-server (Old)
and /work/SRC/openSUSE:Factory/.python-devpi-server.new.19717 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-devpi-server"
Mon Apr 10 20:16:59 2023 rev:11 rq:1078232 version:6.8.0
Changes:
--------
--- /work/SRC/openSUSE:Factory/python-devpi-server/python-devpi-server.changes
2022-12-13 18:56:33.743553924 +0100
+++
/work/SRC/openSUSE:Factory/.python-devpi-server.new.19717/python-devpi-server.changes
2023-04-10 20:17:02.544979749 +0200
@@ -1,0 +2,5 @@
+Mon Apr 10 07:28:50 UTC 2023 - Daniel Garcia <[email protected]>
+
+- Disable broken tests with latest version of python-packaging.
gh#devpi/devpi#948
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-devpi-server.spec ++++++
--- /var/tmp/diff_new_pack.1jhet0/_old 2023-04-10 20:17:03.048982694 +0200
+++ /var/tmp/diff_new_pack.1jhet0/_new 2023-04-10 20:17:03.052982718 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-devpi-server
#
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -16,9 +16,7 @@
#
-%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define commands export fsck gen-config import init passwd server gen-secret
-%define skip_python2 1
Name: python-devpi-server
Version: 6.8.0
Release: 0
@@ -102,6 +100,14 @@
%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"
+
%{python_expand \
mkdir bin-%{$python_version}
for c in %{commands}; do
@@ -109,7 +115,7 @@
done
export PATH=$PATH:`pwd`/bin-%{$python_version}
export PYTHONPATH=:%{buildroot}%{$python_sitelib}
-$python -m pytest --slow --ignore test_devpi_server
%{buildroot}%{$python_sitelib}/test_devpi_server
+$python -m pytest --slow --ignore test_devpi_server -k "not ($donttest)"
%{buildroot}%{$python_sitelib}/test_devpi_server
}
%post