Accepting request 994265 from home:mcalabkova:branches:devel:languages:python

- Update to version 3.1.0
  * Refactor Multi Expression Code
  * Add Python 3.9 and 3.10 to the test matrix
  * fix: default value for argument should be Undefined (Issue #1394)
  * fix: add default param _variables to parse_literal #1419
  * Make Graphene compatible with GraphQL-Core 3.2

OBS-URL: https://build.opensuse.org/request/show/994265
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-graphene?expand=0&rev=11
This commit is contained in:
Markéta Machová 2022-08-10 08:10:35 +00:00 committed by Git OBS Bridge
parent eb0378de33
commit 7ac030c9c3
4 changed files with 20 additions and 14 deletions

View File

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

3
graphene-3.1.0.tar.gz Normal file
View File

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

View File

@ -1,3 +1,13 @@
-------------------------------------------------------------------
Wed Aug 10 07:54:15 UTC 2022 - Markéta Machová <mmachova@suse.com>
- Update to version 3.1.0
* Refactor Multi Expression Code
* Add Python 3.9 and 3.10 to the test matrix
* fix: default value for argument should be Undefined (Issue #1394)
* fix: add default param _variables to parse_literal #1419
* Make Graphene compatible with GraphQL-Core 3.2
-------------------------------------------------------------------
Mon Mar 21 13:16:21 UTC 2022 - pgajdos@suse.com

View File

@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-graphene
Version: 3.0.0
Version: 3.1.0
Release: 0
Summary: GraphQL Framework for Python
License: MIT
@ -27,8 +27,8 @@ Group: Development/Languages/Python
URL: https://github.com/graphql-python/graphene
Source: https://github.com/graphql-python/graphene/archive/v%{version}.tar.gz#/graphene-%{version}.tar.gz
BuildRequires: %{python_module aniso8601 >= 8}
BuildRequires: %{python_module graphql-core >= 3.1.2}
BuildRequires: %{python_module graphql-relay >= 3.0}
BuildRequires: %{python_module graphql-core >= 3.1}
BuildRequires: %{python_module graphql-relay >= 3.1}
BuildRequires: %{python_module promise}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-benchmark}
@ -40,8 +40,8 @@ BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-aniso8601 >= 8
Requires: python-graphql-core >= 3.1.2
Requires: python-graphql-relay >= 3.0
Requires: python-graphql-core >= 3.1
Requires: python-graphql-relay >= 3.1
Requires: python-six
BuildArch: noarch
%python_subpackages
@ -61,12 +61,8 @@ Graphene is a Python library for building GraphQL schemas/types.
%check
# The example depend on snapshottest, which is a bit messy to package as of v0.5.1
# https://github.com/syrusakbary/snapshottest/pull/114
# test_objecttype_as_container_extra_args and test_objecttype_as_container_invalid_kwargs
# have slightly different output on Python 3.10, that the tests do not expect
# https://github.com/graphql-python/graphene/issues/1400
%pytest --ignore examples -k 'not (test_objecttype_as_container_extra_args or test_objecttype_as_container_invalid_kwargs)'
# https://github.com/syrusakbary/snapshottest/issues/92
%pytest --ignore examples
%files %{python_files}
%doc README.rst