Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-extensions for
openSUSE:Factory checked in at 2024-12-16 19:17:49
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-extensions (Old)
and /work/SRC/openSUSE:Factory/.python-django-extensions.new.29675 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-extensions"
Mon Dec 16 19:17:49 2024 rev:19 rq:1231380 version:3.2.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-extensions/python-django-extensions.changes
2024-02-08 19:03:11.505324569 +0100
+++
/work/SRC/openSUSE:Factory/.python-django-extensions.new.29675/python-django-extensions.changes
2024-12-16 19:18:03.492757344 +0100
@@ -1,0 +2,7 @@
+Mon Dec 16 10:27:01 UTC 2024 - Markéta Machová <[email protected]>
+
+- Fix build
+ * use older Django, not compatible with the new one
+ * skip tests failing with new pytest
+
+-------------------------------------------------------------------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-extensions.spec ++++++
--- /var/tmp/diff_new_pack.ZZGZKK/_old 2024-12-16 19:18:04.032779767 +0100
+++ /var/tmp/diff_new_pack.ZZGZKK/_new 2024-12-16 19:18:04.036779933 +0100
@@ -26,7 +26,8 @@
Source:
https://github.com/django-extensions/django-extensions/archive/%{version}.tar.gz#/django-extensions-%{version}.tar.gz
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
-Requires: python-Django >= 3.2
+# not compatible with Django 5.1 yet
+Requires: (python-Django >= 3.2 with python-Django < 5.1)
Recommends: python-Pygments
Recommends: python-Werkzeug
Recommends: python-django-json-widget
@@ -41,7 +42,7 @@
# SECTION test requirements
# See https://github.com/django-extensions/django-extensions/issues/1617
# for optional dependency django-pdb
-BuildRequires: %{python_module Django >= 3.2}
+BuildRequires: %{python_module Django >= 3.2 with %python-Django < 5.1}
BuildRequires: %{python_module Pygments}
BuildRequires: %{python_module Werkzeug}
BuildRequires: %{python_module django-json-widget}
@@ -98,6 +99,9 @@
# when pygments is updated. Uncomment this when that occurs, and raise an
issue upstream.
#skips="$skips or test_should_colorize_noclasses_with_default_lexer"
+# many DumpScriptTests fail with pytest 8
https://github.com/django-extensions/django-extensions/issues/1877
+skips="$skips or DumpScriptTests"
+
# test_export_emails, test_set_fake_emails and test_set_fake_emails fail in
setup due to missing fixtures in sdist
%pytest -rs -v -k "not ($skips)" --ignore
tests/management/commands/test_set_fake_passwords.py --ignore
tests/management/commands/test_set_fake_emails.py --ignore
tests/management/commands/test_export_emails.py