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 2022-05-12 23:00:52 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-graphene-django (Old) and /work/SRC/openSUSE:Factory/.python-graphene-django.new.1538 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-graphene-django" Thu May 12 23:00:52 2022 rev:6 rq:976587 version:3.0.0b7 Changes: -------- --- /work/SRC/openSUSE:Factory/python-graphene-django/python-graphene-django.changes 2022-01-11 23:42:36.230961062 +0100 +++ /work/SRC/openSUSE:Factory/.python-graphene-django.new.1538/python-graphene-django.changes 2022-05-12 23:01:49.680915034 +0200 @@ -1,0 +2,8 @@ +Thu May 12 10:10:00 UTC 2022 - pgaj...@suse.com + +- do not require python-mock for build +- added patches + fix https://github.com/graphql-python/graphene-django/issues/1321 + + python-graphene-django-no-mock.patch + +------------------------------------------------------------------- New: ---- python-graphene-django-no-mock.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-graphene-django.spec ++++++ --- /var/tmp/diff_new_pack.MlVYpj/_old 2022-05-12 23:01:50.136915646 +0200 +++ /var/tmp/diff_new_pack.MlVYpj/_new 2022-05-12 23:01:50.144915657 +0200 @@ -26,6 +26,8 @@ Group: Development/Languages/Python 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 +# https://github.com/graphql-python/graphene-django/issues/1321 +Patch0: python-graphene-django-no-mock.patch BuildRequires: %{python_module django-codemod} BuildRequires: %{python_module setuptools} BuildRequires: fdupes @@ -48,7 +50,6 @@ BuildRequires: %{python_module graphene >= 2.9.9} BuildRequires: %{python_module graphql-core >= 3.1.0} BuildRequires: %{python_module graphql-relay} -BuildRequires: %{python_module mock} BuildRequires: %{python_module promise >= 2.1} BuildRequires: %{python_module psycopg2} BuildRequires: %{python_module pytest-django >= 3.3.2} @@ -62,6 +63,7 @@ %prep %setup -q -n graphene-django-%{version} +%patch0 -p1 rm setup.cfg sed -i '/pytest-runner/d' setup.py ++++++ python-graphene-django-no-mock.patch ++++++ diff -upr graphene-django-3.0.0b7.orig/graphene_django/tests/test_command.py graphene-django-3.0.0b7/graphene_django/tests/test_command.py --- graphene-django-3.0.0b7.orig/graphene_django/tests/test_command.py 2022-05-12 12:06:48.134471409 +0200 +++ graphene-django-3.0.0b7/graphene_django/tests/test_command.py 2022-05-12 12:06:48.150471511 +0200 @@ -2,7 +2,7 @@ from textwrap import dedent from django.core import management from io import StringIO -from mock import mock_open, patch +from unittest.mock import mock_open, patch from graphene import ObjectType, Schema, String diff -upr graphene-django-3.0.0b7.orig/graphene_django/tests/test_types.py graphene-django-3.0.0b7/graphene_django/tests/test_types.py --- graphene-django-3.0.0b7.orig/graphene_django/tests/test_types.py 2022-05-12 12:06:48.134471409 +0200 +++ graphene-django-3.0.0b7/graphene_django/tests/test_types.py 2022-05-12 12:06:48.150471511 +0200 @@ -3,7 +3,7 @@ from textwrap import dedent import pytest from django.db import models -from mock import patch +from unittest.mock import patch from graphene import Connection, Field, Interface, ObjectType, Schema, String from graphene.relay import Node diff -upr graphene-django-3.0.0b7.orig/graphene_django/tests/test_utils.py graphene-django-3.0.0b7/graphene_django/tests/test_utils.py --- graphene-django-3.0.0b7.orig/graphene_django/tests/test_utils.py 2022-05-12 12:06:48.134471409 +0200 +++ graphene-django-3.0.0b7/graphene_django/tests/test_utils.py 2022-05-12 12:06:48.150471511 +0200 @@ -2,7 +2,7 @@ import json import pytest from django.utils.translation import gettext_lazy -from mock import patch +from unittest.mock import patch from ..utils import camelize, get_model_fields, GraphQLTestCase from .models import Film, Reporter diff -upr graphene-django-3.0.0b7.orig/graphene_django/tests/test_views.py graphene-django-3.0.0b7/graphene_django/tests/test_views.py --- graphene-django-3.0.0b7.orig/graphene_django/tests/test_views.py 2022-05-12 12:06:48.134471409 +0200 +++ graphene-django-3.0.0b7/graphene_django/tests/test_views.py 2022-05-12 12:06:48.150471511 +0200 @@ -2,7 +2,7 @@ import json import pytest -from mock import patch +from unittest.mock import patch from django.db import connection