Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-haystack for
openSUSE:Factory checked in at 2026-03-05 17:15:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-haystack (Old)
and /work/SRC/openSUSE:Factory/.python-django-haystack.new.561 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-haystack"
Thu Mar 5 17:15:26 2026 rev:13 rq:1336629 version:3.3.0
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-haystack/python-django-haystack.changes
2024-07-22 17:19:39.537255632 +0200
+++
/work/SRC/openSUSE:Factory/.python-django-haystack.new.561/python-django-haystack.changes
2026-03-05 17:23:51.404339030 +0100
@@ -1,0 +2,7 @@
+Thu Mar 5 03:41:14 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Switch to pytest macro.
+- List directories explicitly under %files.
+- Skip a broken test.
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-haystack.spec ++++++
--- /var/tmp/diff_new_pack.njz6BM/_old 2026-03-05 17:23:52.076366977 +0100
+++ /var/tmp/diff_new_pack.njz6BM/_new 2026-03-05 17:23:52.076366977 +0100
@@ -1,7 +1,7 @@
#
# spec file for package python-django-haystack
#
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2026 SUSE LLC and contributors
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -69,14 +69,17 @@
%check
export DJANGO_SETTINGS_MODULE=test_haystack.settings
+export PYTHONPATH=$PWD
# elasticsearch and solr tests require running services
# test_ensure_wgs84 is broken with some GDAL issues
-%{python_expand export PYTHONPATH=%{buildroot}%{$python_sitelib}:${PWD}
-$python -m pytest -rs -k 'not (elasticsearch or solr or test_ensure_wgs84)'
-}
+donttest="elasticsearch or solr or test_ensure_wgs84"
+# fails to highlight anything
+donttest+=" or (WhooshSearchBackendTestCase and test_highlight)"
+%pytest -rs -k "not ($donttest)"
%files %{python_files}
%doc AUTHORS README.rst
%license LICENSE
-%{python_sitelib}/*haystack*/
+%{python_sitelib}/haystack
+%{python_sitelib}/django_haystack-%{version}.dist-info