Accepting request 1061084 from home:jayvdb:branches:devel:languages:python:django

- Update to v3.0.0

OBS-URL: https://build.opensuse.org/request/show/1061084
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python:django/python-graphene-django?expand=0&rev=13
This commit is contained in:
John Vandenberg 2023-01-26 01:16:00 +00:00 committed by Git OBS Bridge
parent c96b9c7c2c
commit 8849ca7540
4 changed files with 26 additions and 6 deletions

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:4f928abedf29c9869174c0bd678a8c7e1b7bd0eac168cd893cdd974b8e196770
size 117320

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:cd82c38d552d3640f550901ccef4ba9c356ef588520ae1b3e4023a06bbf041fc
size 115178

View File

@ -1,3 +1,20 @@
-------------------------------------------------------------------
Thu Jan 26 01:05:11 UTC 2023 - John Vandenberg <jayvdb@gmail.com>
- Update to v3.0.0
* See https://github.com/graphql-python/graphene-django/releases/tag/v3.0.0
- from v3.0.0b9
* fix: unit test for https://github.com/graphql-python/graphene/pull/1412
* Make errors in form mutation non nullable
* Fixes related to https://github.com/graphql-python/graphene/pull/1412
* Delay assignment of csrftoken in Graphiql
* Fix type hint for DjangoObjectTypeOptions.model
* Fix code examples in queries.rst
* Fixed graphql_relay deprecation warning
* Make instructions runnable without tweaking
* Update tutorial-relay.rst
* Add support to persist GraphQL headers in GraphiQL
-------------------------------------------------------------------
Sun Sep 25 07:56:23 UTC 2022 - John Vandenberg <jayvdb@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-graphene-django
#
# Copyright (c) 2022 SUSE LLC
# Copyright (c) 2023 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-graphene-django
Version: 3.0.0b8
Version: 3.0.0
Release: 0
Summary: Graphene Django integration
License: MIT
@ -51,6 +51,7 @@ BuildRequires: %{python_module graphql-core >= 3.1.0}
BuildRequires: %{python_module graphql-relay}
BuildRequires: %{python_module promise >= 2.1}
BuildRequires: %{python_module psycopg2}
BuildRequires: %{python_module pytest}
BuildRequires: %{python_module pytest-django >= 3.3.2}
BuildRequires: %{python_module pytz}
BuildRequires: %{python_module text-unidecode}
@ -65,6 +66,8 @@ Graphene Django integration.
%patch0 -p1
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
rm setup.cfg
sed -i '/pytest-runner/d' setup.py
@ -90,6 +93,6 @@ skips="$skips or test_reports_validation_errors or test_errors_when_missing_oper
%files %{python_files}
%doc README.rst README.md
%license LICENSE
%{python_sitelib}/graphene[_-]django*
%{python_sitelib}/graphene[_-]django*/
%changelog