Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-graphene-django for
openSUSE:Factory checked in at 2026-09-21 12:21:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-graphene-django (Old)
and /work/SRC/openSUSE:Factory/.python-graphene-django.new.383539 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-graphene-django"
Mon Sep 21 12:21:43 2026 rev:13 rq:1379333 version:3.2.3
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-graphene-django/python-graphene-django.changes
2026-09-11 18:08:41.196306478 +0200
+++
/work/SRC/openSUSE:Factory/.python-graphene-django.new.383539/python-graphene-django.changes
2026-09-21 12:21:45.023608133 +0200
@@ -1,0 +2,7 @@
+Mon Sep 21 04:02:08 UTC 2026 - Steve Kowalik <[email protected]>
+
+- Add patch support-django-6.patch:
+ * Add changes required to support Django 6.
+- Remove upper pin on Django.
+
+-------------------------------------------------------------------
New:
----
support-django-6.patch
----------(New B)----------
New:
- Add patch support-django-6.patch:
* Add changes required to support Django 6.
----------(New E)----------
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-graphene-django.spec ++++++
--- /var/tmp/diff_new_pack.HKBsGA/_old 2026-09-21 12:21:46.543671689 +0200
+++ /var/tmp/diff_new_pack.HKBsGA/_new 2026-09-21 12:21:46.545671772 +0200
@@ -23,14 +23,15 @@
License: MIT
URL: https://github.com/graphql-python/graphene-django
Source:
https://github.com/graphql-python/graphene-django/archive/v%{version}.tar.gz#/graphene-django-%{version}.tar.gz
+# PATCH-FIX-UPSTREAM Based on gh#graphql-python/graphene-django#1562
+Patch0: support-django-6.patch
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
BuildRequires: tree
-# Restrict Django to <6
https://github.com/graphql-python/graphene-django/pull/1560
-Requires: (python-Django >= 3.2 with python-Django < 6)
+Requires: python-Django >= 3.2
Requires: python-graphene >= 3.0
Requires: python-graphql-core >= 3.1.0
Requires: python-graphql-relay >= 3.1
@@ -39,7 +40,7 @@
Suggests: python-djangorestframework >= 3.6.3
BuildArch: noarch
# SECTION test requirements
-BuildRequires: %{python_module Django >= 3.2 with %python-Django < 6}
+BuildRequires: %{python_module Django >= 3.2}
BuildRequires: %{python_module django-filter >= 22.1}
BuildRequires: %{python_module djangorestframework >= 3.6.3}
BuildRequires: %{python_module graphene >= 3.0}
@@ -52,18 +53,14 @@
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module text-unidecode}
# /SECTION
-#!BuildConflicts: %{python_module Django >= 6}
%python_subpackages
%description
Graphene Django integration.
%prep
-%setup -q -n graphene-django-%{version}
-sed -i 's/from mock import MagicMock/from unittest.mock import MagicMock/'
graphene_django/filter/tests/conftest.py
-
-sed -i 's/py\.test/pytest/g' graphene_django/tests/*.py
graphene_django/tests/issues/*.py graphene_django/*/tests/*.py
-
+%autosetup -p1 -n graphene-django-%{version}
+# No pytest-random-order
rm setup.cfg
sed -i '/pytest-runner/d' setup.py
++++++ support-django-6.patch ++++++
>From b393d03ab652ec5e18d5facb84b907b66def4366 Mon Sep 17 00:00:00 2001
From: Steve Kowalik <[email protected]>
Date: Mon, 21 Sep 2026 13:56:20 +1000
Subject: [PATCH] Explicitly support Django 6.0
Add 3.13, 3.14 and Django 6.0 to the test matrix, and make the code
changes to support it. Drive by tidying up setup.py.
---
.github/workflows/tests.yml | 16 ++++++++++++++--
graphene_django/filter/filterset.py | 2 ++
setup.py | 5 ++---
tox.ini | 7 ++++++-
4 files changed, 24 insertions(+), 6 deletions(-)
Index: graphene-django-3.2.3/graphene_django/filter/filterset.py
===================================================================
--- graphene-django-3.2.3.orig/graphene_django/filter/filterset.py
+++ graphene-django-3.2.3/graphene_django/filter/filterset.py
@@ -11,6 +11,8 @@ from .filters import GlobalIDFilter, Glo
GRAPHENE_FILTER_SET_OVERRIDES = {
models.AutoField: {"filter_class": GlobalIDFilter},
+ models.BigAutoField: {"filter_class": GlobalIDFilter},
+ models.SmallAutoField: {"filter_class": GlobalIDFilter},
models.OneToOneField: {"filter_class": GlobalIDFilter},
models.ForeignKey: {"filter_class": GlobalIDFilter},
models.ManyToManyField: {"filter_class": GlobalIDMultipleChoiceFilter},
Index: graphene-django-3.2.3/setup.py
===================================================================
--- graphene-django-3.2.3.orig/setup.py
+++ graphene-django-3.2.3/setup.py
@@ -18,7 +18,6 @@ tests_require = [
"pytest-cov",
"pytest-random-order",
"coveralls",
- "mock",
"pytz",
"django-filter>=22.1",
"pytest-django>=4.5.2",