From 06ca5fd1afa0d37b745c903d1e1ce26f3c299e1fa6f46369bb427eb9be09cf3a Mon Sep 17 00:00:00 2001 From: Matej Cepl Date: Tue, 11 Jan 2022 06:17:04 +0000 Subject: [PATCH] Accepting request 945473 from home:jayvdb:branches:devel:languages:python:django - Skip two tests with different output on Python 3.10 - Update to v3.0.0 * See https://github.com/graphql-python/graphene/wiki/v3-release-notes OBS-URL: https://build.opensuse.org/request/show/945473 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-graphene?expand=0&rev=8 --- graphene-3.0.0.tar.gz | 3 +++ graphene-3.0.0b7.tar.gz | 3 --- python-graphene.changes | 7 +++++++ python-graphene.spec | 12 ++++++++---- 4 files changed, 18 insertions(+), 7 deletions(-) create mode 100644 graphene-3.0.0.tar.gz delete mode 100644 graphene-3.0.0b7.tar.gz diff --git a/graphene-3.0.0.tar.gz b/graphene-3.0.0.tar.gz new file mode 100644 index 0000000..a3d39e3 --- /dev/null +++ b/graphene-3.0.0.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1866831391abdb9a57392a363d1f0e75bade75b3db056922670fa779f6c1b35e +size 116388 diff --git a/graphene-3.0.0b7.tar.gz b/graphene-3.0.0b7.tar.gz deleted file mode 100644 index 3e8ac09..0000000 --- a/graphene-3.0.0b7.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:2f231ee99e3c62369773a219c7ae06e7f4e02e04311cb4fc3306229fa42de47a -size 113258 diff --git a/python-graphene.changes b/python-graphene.changes index d6c4c67..4605997 100644 --- a/python-graphene.changes +++ b/python-graphene.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Jan 11 03:34:27 UTC 2022 - John Vandenberg + +- Skip two tests with different output on Python 3.10 +- Update to v3.0.0 + * See https://github.com/graphql-python/graphene/wiki/v3-release-notes + ------------------------------------------------------------------- Mon Jan 25 01:50:46 UTC 2021 - John Vandenberg diff --git a/python-graphene.spec b/python-graphene.spec index 3b4c1d0..83c5811 100644 --- a/python-graphene.spec +++ b/python-graphene.spec @@ -1,7 +1,7 @@ # # spec file for package python-graphene # -# Copyright (c) 2021 SUSE LLC +# Copyright (c) 2022 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 -Version: 3.0.0b7 +Version: 3.0.0 Release: 0 Summary: GraphQL Framework for Python License: MIT @@ -63,11 +63,15 @@ 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 -%pytest --ignore examples + +# 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)' %files %{python_files} %doc README.rst %license LICENSE -%{python_sitelib}/* +%{python_sitelib}/*graphene*/ %changelog