Accepting request 978550 from home:susnux:branches:devel:languages:python

Update to version 3.1.5 to be compatible with graphql-core 3.1

OBS-URL: https://build.opensuse.org/request/show/978550
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-graphql-relay?expand=0&rev=4
This commit is contained in:
Matej Cepl 2022-05-23 05:52:48 +00:00 committed by Git OBS Bridge
parent 7b40ce9ae3
commit 997d6f9e4b
4 changed files with 37 additions and 7 deletions

View File

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

View File

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

View File

@ -1,3 +1,31 @@
-------------------------------------------------------------------
Sun May 22 12:49:28 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to version 3.1.5
* Re-add deprecated module 'arrayconnection' for backwards
compatibility
* Export all useful names at the top level
* 'from_global_id' now works same as in relay-js
* unbase64 now returns an empty string on errors
* Use standard base64 implementation
* array_connection returns all elements if cursors are on the outside
* Allow mutations to return mappings
* hasPrevious/NextPage should not be optional
* Use same parameter names as in graphql/graphql_sync
* Avoid null payload in mutation
* Remove non-null restriction on clientMutationId field definitions
* Consistently use snake_case for filenames
* Do not raise an error when no clientMutationId is provided
* Added missing description for nodes field
* Added description to the pagination arguments
* Python 3.10 is now supported.
- Update to version 3.1.0
* Compatible with graphql-core version 3.1.
* Implement SizedSliceable protocol
* Define protocols for connection type overrides
* Encode IDs using URL- and filesystem-safe alphabet
* Python 3.9 is now supported.
-------------------------------------------------------------------
Sat Jun 6 07:16:45 UTC 2020 - John Vandenberg <jayvdb@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-graphql-relay
#
# Copyright (c) 2020 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,23 +19,25 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-graphql-relay
Version: 3.0.0
Version: 3.1.5
Release: 0
Summary: Relay implementation for Python
License: MIT
Group: Development/Languages/Python
URL: https://github.com/graphql-python/graphql-relay-py
Source: https://files.pythonhosted.org/packages/source/g/graphql-relay/graphql-relay-%{version}.tar.gz
BuildRequires: %{python_module graphql-core}
BuildRequires: %{python_module graphql-core >= 3.1}
BuildRequires: %{python_module promise}
BuildRequires: %{python_module pytest >= 6.2}
BuildRequires: %{python_module pytest-asyncio}
BuildRequires: %{python_module pytest-describe}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module six}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Requires: python-graphql-core
Requires: python-promise
Requires: python-six
Requires: (python-graphql-core >= 3.1 and python-graphql-core < 3.2)
BuildArch: noarch
%python_subpackages