15
0
Files
python-graphql-core/python-graphql-core.spec
Markéta Machová 81888c75f8 - Update to 3.2.6
* Alpha release GraphQL-core v3.3.0a7, based on GraphQL.js v17.0.0a3.
  * Notable improvements since the last alpha release:
    + This release also supports Python 3.13
    + New incremental response format using id and subPath and pending notifications
    + OneOf Input Objects via @oneOf directive
    + Speedup sorting and building/extending schema
    + Support for fourfold nested lists in introspection
    + Transform input objects used as default values (#206)
    + Support deep copy of schema with directive with arg of custom type (#210)
    + Allow injecting custom data to custom execution context (#226)
    + ValidationAbortedError can now be imported (#227)
    + Benchmarking with CodSpeed (#230)

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-graphql-core?expand=0&rev=16
2025-02-04 13:58:58 +00:00

61 lines
1.7 KiB
RPMSpec

#
# spec file for package python-graphql-core
#
# Copyright (c) 2025 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
%define skip_python2 1
%{?sle15_python_module_pythons}
Name: python-graphql-core
Version: 3.2.6
Release: 0
Summary: GraphQL implementation for Python
License: MIT
Group: Development/Languages/Python
URL: https://github.com/graphql-python/graphql-core
Source: https://files.pythonhosted.org/packages/source/g/graphql_core/graphql_core-%{version}.tar.gz
BuildRequires: %{python_module pytest-asyncio >= 0.14}
BuildRequires: %{python_module pytest-benchmark >= 3.2}
BuildRequires: %{python_module setuptools}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
Conflicts: python-graphql
BuildArch: noarch
%python_subpackages
%description
GraphQL implementation for Python, a port of GraphQL.js,
the JavaScript reference implementation for GraphQL.
%prep
%setup -q -n graphql_core-%{version}
%build
%python_build
%install
%python_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/*
%changelog