Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-treebeard for
openSUSE:Factory checked in at 2026-03-31 16:26:35
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-treebeard (Old)
and /work/SRC/openSUSE:Factory/.python-django-treebeard.new.1999 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-treebeard"
Tue Mar 31 16:26:35 2026 rev:6 rq:1343782 version:5.0.5
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-treebeard/python-django-treebeard.changes
2022-12-24 14:55:21.276703918 +0100
+++
/work/SRC/openSUSE:Factory/.python-django-treebeard.new.1999/python-django-treebeard.changes
2026-03-31 16:26:36.553697394 +0200
@@ -1,0 +2,10 @@
+Mon Mar 30 21:47:35 UTC 2026 - Dirk Müller <[email protected]>
+
+- update to 5.0.5:
+ * Added support for Django 5.2 and 6.0.
+ * Dropped support for Django 4.1 and lower.
+ * Requires Python 3.10 or newer.
+ * Tests moved to top-level 'tests/' directory.
+- drop update-tests.patch (merged upstream)
+
+-------------------------------------------------------------------
Old:
----
django-treebeard-4.5.1.tar.gz
update-tests.patch
New:
----
django_treebeard-5.0.5.tar.gz
----------(Old B)----------
Old: * Tests moved to top-level 'tests/' directory.
- drop update-tests.patch (merged upstream)
----------(Old E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-treebeard.spec ++++++
--- /var/tmp/diff_new_pack.txGqII/_old 2026-03-31 16:26:37.217725235 +0200
+++ /var/tmp/diff_new_pack.txGqII/_new 2026-03-31 16:26:37.217725235 +0200
@@ -1,7 +1,7 @@
#
# spec file for package python-django-treebeard
#
-# Copyright (c) 2022 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
@@ -16,26 +16,22 @@
#
-%define skip_python2 1
Name: python-django-treebeard
-Version: 4.5.1
+Version: 5.0.5
Release: 0
Summary: Efficient tree implementations for Django
License: Apache-2.0
Group: Development/Languages/Python
URL: https://github.com/django-treebeard/django-treebeard/
-Source:
https://files.pythonhosted.org/packages/source/d/django-treebeard/django-treebeard-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM update-tests.patch
gh#django-treebeard/django-treebeard#241 [email protected]
-# update tests to work with the modern versions of libraries
-Patch0: update-tests.patch
+Source:
https://files.pythonhosted.org/packages/source/d/django-treebeard/django_treebeard-%{version}.tar.gz
BuildRequires: %{python_module pip}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
-Requires: python-Django >= 3.2
+Requires: python-Django >= 5.2
BuildArch: noarch
# SECTION test requirements
-BuildRequires: %{python_module Django >= 3.2}
+BuildRequires: %{python_module Django >= 5.2}
BuildRequires: %{python_module pytest-django >= 4.0}
BuildRequires: %{python_module pytest}
# /SECTION
@@ -50,39 +46,33 @@
- Nested Sets
%prep
-%autosetup -p1 -n django-treebeard-%{version}
+%autosetup -p1 -n django_treebeard-%{version}
-sed -i 's/\r//' CHANGES.md README.md UPDATING
+sed -i 's/\r//' README.md UPDATING
%build
%pyproject_wheel
%install
%pyproject_install
-%{python_expand rm -r %{buildroot}%{$python_sitelib}/treebeard/tests/
-%fdupes %{buildroot}%{$python_sitelib}
-}
+%fdupes %{buildroot}%{python_sitelib}
%check
cat << EOF >>pytest.ini
[pytest]
-DJANGO_SETTINGS_MODULE = treebeard.tests.settings
+DJANGO_SETTINGS_MODULE = tests.settings
python_files = tests.py test_*.py *_tests.py
django_find_project = false
markers =
django_db
EOF
-%python_expand cp -r treebeard/tests/ %{buildroot}%{$python_sitelib}/treebeard/
-
-export DJANGO_SETTINGS_MODULE=treebeard.tests.settings
+export DJANGO_SETTINGS_MODULE=tests.settings
PYTHONPATH=.
%pytest
-%python_expand rm -r %{buildroot}%{$python_sitelib}/treebeard/tests/
-
%files %{python_files}
-%doc CHANGES.md README.md UPDATING
%license LICENSE
+%doc README.md UPDATING
%{python_sitelib}/treebeard
%{python_sitelib}/django_treebeard-%{version}*-info