Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package python-django-polymorphic for 
openSUSE:Factory checked in at 2026-08-04 21:36:32
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-polymorphic (Old)
 and      /work/SRC/openSUSE:Factory/.python-django-polymorphic.new.16738 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "python-django-polymorphic"

Tue Aug  4 21:36:32 2026 rev:5 rq:1369346 version:4.11.7

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/python-django-polymorphic/python-django-polymorphic.changes
      2024-11-13 15:29:33.468461436 +0100
+++ 
/work/SRC/openSUSE:Factory/.python-django-polymorphic.new.16738/python-django-polymorphic.changes
   2026-08-04 21:38:59.601765624 +0200
@@ -1,0 +2,30 @@
+Tue Aug  4 02:59:11 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Update to 4.11.7:
+  * fix: add kwargs to save method to keep compatability with other tools
+  * fix: KeyError when accessing fields deferred by base manager
+  * jazzband -> django-commons updates
+  * fix: remove get_preserved_filters and add AdminPreservedFiltersTests
+  * fix annotate with F
+  * Fix show_in_index=False visibility in admin sites and sidebar
+  * Fix migration state check false negative
+  * fix: AttributeError Using .alias() On Polymorphic Querysets
+  * Fix infinite recursion bug when using only()
+  * Test abstract base model custom manager specification
+  * Replace deepcopy of the Q object
+  * Support Q expressions that contain subquery expressions
+  * Make related polymorphic object manager selection more robust to multiple
+    inheritance scenarios
+  * Caching in inheritance accessor functions
+  * Fix use of is and is not vs. ==
+  * Check for None on real_model in get_real_instance
+  * Move from rst to markdown for repo level docs
+  * PolymorphicQuerySet: Prevent NoneType error in test___lookup
+  * Removed usage of deprecated pkg_resources
+  * Drop support for non-supported versions of Django and Python
+  * Use pytest for testing & modernize assertions
+- Drop patches, included upstream:
+  * support-new-django.patch
+  * skip-two-lookup-tests.patch
+
+-------------------------------------------------------------------

Old:
----
  django-polymorphic-3.1.tar.gz
  skip-two-lookup-tests.patch
  support-new-django.patch

New:
----
  django-polymorphic-4.11.7.tar.gz

----------(Old B)----------
  Old:  * support-new-django.patch
  * skip-two-lookup-tests.patch
  Old:- Drop patches, included upstream:
  * support-new-django.patch
  * skip-two-lookup-tests.patch
----------(Old E)----------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ python-django-polymorphic.spec ++++++
--- /var/tmp/diff_new_pack.MOwjPb/_old  2026-08-04 21:39:00.113783536 +0200
+++ /var/tmp/diff_new_pack.MOwjPb/_new  2026-08-04 21:39:00.113783536 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package python-django-polymorphic
 #
-# 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
@@ -17,27 +17,26 @@
 
 
 Name:           python-django-polymorphic
-Version:        3.1
-%define twodotsversion 3.1.0
+Version:        4.11.7
 Release:        0
 Summary:        Polymorphic inheritance for Django models
 License:        BSD-3-Clause
-URL:            https://github.com/jazzband/django-polymorphic
-Source:         
https://github.com/jazzband/django-polymorphic/archive/v%{version}.tar.gz#/django-polymorphic-%{version}.tar.gz
-# PATCH-FIX-UPSTREAM 
gh#jazzband/django-polymorphic#63d291f8771847e716a37652f239e3966a3360e1
-Patch0:         support-new-django.patch
-# PATCH-FIX-OPENSUSE Skip two broken tests -- remove when upgrading to 4.0
-Patch1:         skip-two-lookup-tests.patch
+URL:            https://github.com/django-commons/django-polymorphic
+Source:         
https://github.com/django-commons/django-polymorphic/archive/v%{version}.tar.gz#/django-polymorphic-%{version}.tar.gz
+BuildRequires:  %{python_module base >= 3.10}
+BuildRequires:  %{python_module hatchling}
 BuildRequires:  %{python_module pip}
-BuildRequires:  %{python_module setuptools}
-BuildRequires:  %{python_module wheel}
 BuildRequires:  fdupes
 BuildRequires:  python-rpm-macros
-Requires:       python-Django >= 2.1
+Requires:       python-Django >= 4.2
+Requires:       python-typing-extensions >= 4.12
 BuildArch:      noarch
 # SECTION test requirements
-BuildRequires:  %{python_module Django >= 2.1}
-BuildRequires:  %{python_module dj-database-url}
+BuildRequires:  %{python_module Django >= 4.2}
+BuildRequires:  %{python_module django-test-migrations}
+BuildRequires:  %{python_module pytest-django}
+BuildRequires:  %{python_module pytest}
+BuildRequires:  %{python_module typing-extensions >= 4.12}
 # /SECTION
 %python_subpackages
 
@@ -46,6 +45,10 @@
 
 %prep
 %autosetup -p1 -n django-polymorphic-%{version}
+# Remove after hatchling adds this classifier
+sed -i '/Django :: 6.1/d' pyproject.toml
+# No --headed option, added by pytest-playwright, not packaged
+sed -i 's/not config.getoption("--headed")/True/' conftest.py
 
 %build
 %pyproject_wheel
@@ -55,11 +58,20 @@
 %python_expand %fdupes %{buildroot}%{$python_sitelib}
 
 %check
-%python_exec runtests.py -v 2
+export DJANGO_SETTINGS_MODULE="polymorphic.tests.debug"
+export SQLITE_DATABASES="test1.db,test2.db"
+# Requires pytest-playwright
+ignore="--ignore 
src/polymorphic/tests/examples/integrations/extra_views/test.py "
+ignore+="--ignore 
src/polymorphic/tests/examples/integrations/reversion/test.py "
+ignore+="--ignore src/polymorphic/tests/examples/views/test.py "
+ignore+="--ignore src/polymorphic/tests/test_admin.py "
+ignore+="--ignore src/polymorphic/tests/test_migrations/test_on_delete.py "
+ignore+="--ignore src/polymorphic/tests/test_serialization.py"
+%pytest $ignore
 
 %files %{python_files}
-%doc README.rst docs/*.rst
+%doc README.md docs/*.rst
 %license LICENSE
 %{python_sitelib}/polymorphic
-%{python_sitelib}/django_polymorphic-%{twodotsversion}.dist-info
+%{python_sitelib}/django_polymorphic-%{version}.dist-info
 

++++++ django-polymorphic-3.1.tar.gz -> django-polymorphic-4.11.7.tar.gz ++++++
++++ 48703 lines of diff (skipped)

Reply via email to