Accepting request 866432 from home:jayvdb:branches:devel:languages:python

- Adjust test invocation to fix builds
- Remove dependency on Unidecode and add minimum dependency versions
- Update to v3.0.0b7

OBS-URL: https://build.opensuse.org/request/show/866432
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-graphene?expand=0&rev=6
This commit is contained in:
Matej Cepl 2021-01-25 09:27:37 +00:00 committed by Git OBS Bridge
parent 971a94c17d
commit c0a2e18f4d
4 changed files with 35 additions and 14 deletions

View File

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

3
graphene-3.0.0b7.tar.gz Normal file
View File

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

View File

@ -1,3 +1,26 @@
-------------------------------------------------------------------
Mon Jan 25 01:50:46 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
- Adjust test invocation to fix builds
- Remove dependency on Unidecode and add minimum dependency versions
- Update to v3.0.0b7
* fix(Decimal): parse integers as decimal
- from v3.0.0b6
* Fix subscribe with arguments
* Add BigInt type
* Add UnforgivingExecutionContext
- from v3.0.0b5
* Subscription revamp
- from v3.0.0b4
* Improve enum compatibility
* Rename variables called type to type_
* Fix ObjectType meta arguments
* Add Base64 scalar
* Pin graphql-core to >v3.1.2
- from v3.0.0b3
* Fix DateTime Scalar parse_literal methods
* Remove to_const function
-------------------------------------------------------------------
Mon Jun 8 09:24:20 UTC 2020 - Jan Engelhardt <jengelh@inai.de>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-graphene
#
# Copyright (c) 2020 SUSE LLC
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -19,17 +19,16 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-graphene
Version: 3.0.0b2
Version: 3.0.0b7
Release: 0
Summary: GraphQL Framework for Python
License: MIT
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 Unidecode}
BuildRequires: %{python_module aniso8601}
BuildRequires: %{python_module graphql-core}
BuildRequires: %{python_module graphql-relay}
BuildRequires: %{python_module aniso8601 >= 8}
BuildRequires: %{python_module graphql-core >= 3.1.2}
BuildRequires: %{python_module graphql-relay >= 3.0}
BuildRequires: %{python_module mock}
BuildRequires: %{python_module promise}
BuildRequires: %{python_module pytest-asyncio}
@ -41,10 +40,9 @@ BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-Unidecode
Requires: python-aniso8601
Requires: python-graphql-core
Requires: python-graphql-relay
Requires: python-aniso8601 >= 8
Requires: python-graphql-core >= 3.1.2
Requires: python-graphql-relay >= 3.0
Requires: python-six
BuildArch: noarch
%python_subpackages
@ -65,7 +63,7 @@ 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 -k 'not examples'
%pytest --ignore examples
%files %{python_files}
%doc README.rst