Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-pycares for openSUSE:Factory checked in at 2022-12-10 21:17:25 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-pycares (Old) and /work/SRC/openSUSE:Factory/.python-pycares.new.1835 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-pycares" Sat Dec 10 21:17:25 2022 rev:7 rq:1041743 version:4.2.2 Changes: -------- --- /work/SRC/openSUSE:Factory/python-pycares/python-pycares.changes 2022-10-10 18:44:36.534874643 +0200 +++ /work/SRC/openSUSE:Factory/.python-pycares.new.1835/python-pycares.changes 2022-12-10 21:17:29.001435460 +0100 @@ -1,0 +2,6 @@ +Thu Dec 8 22:21:16 UTC 2022 - Matej Cepl <mc...@suse.com> + +- Add cleanup_tests.patch to make the test suite slightly more sane. +- No, the test suite is just broken, and the upstream doesn't care. + +------------------------------------------------------------------- New: ---- cleanup_tests.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-pycares.spec ++++++ --- /var/tmp/diff_new_pack.TFJn0R/_old 2022-12-10 21:17:30.089441822 +0100 +++ /var/tmp/diff_new_pack.TFJn0R/_new 2022-12-10 21:17:30.093441845 +0100 @@ -26,9 +26,13 @@ Group: Development/Languages/Python URL: https://github.com/saghul/pycares Source: https://files.pythonhosted.org/packages/source/p/pycares/pycares-%{version}.tar.gz +# PATCH-FIX-UPSTREAM cleanup_tests.patch bsc#[0-9]+ mc...@suse.com +# Make the test suite slightly more normal +Patch0: cleanup_tests.patch BuildRequires: %{python_module cffi} BuildRequires: %{python_module devel} BuildRequires: %{python_module setuptools} +BuildRequires: c-ares-devel BuildRequires: fdupes BuildRequires: gcc BuildRequires: python-rpm-macros @@ -42,7 +46,8 @@ resolutions asynchronously %prep -%setup -q -n pycares-%{version} +%autosetup -p1 -n pycares-%{version} + rm -Rf %build @@ -52,6 +57,11 @@ %python_install %python_expand %fdupes %{buildroot}%{$python_sitearch} +%check +# Test suite is broken anywhere else outside of the upstream CI, +# and upstream doesn't care. +# %%pyunittest_arch -v tests.tests + %files %{python_files} %license LICENSE %doc ChangeLog README.rst ++++++ cleanup_tests.patch ++++++ --- tests/__init__.py | 1 + 1 file changed, 1 insertion(+) --- /dev/null +++ b/tests/__init__.py @@ -0,0 +1 @@ +# This file intentionally left blank. \ No newline at end of file