15
0

- Update to 3.2.7

* Python 3.14 is now officially supported
  * Enum values, input fields and schemas now keep extensions on sorting (#245)
  * Various refactorings and changes concerning @defer and @stream
  * Early execution on incremental delivery is now disabled by default
  * New recommended validation rule for max introspection depth
  * GraphQLEnumType values can now be specified via a callable

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-graphql-core?expand=0&rev=19
This commit is contained in:
2025-11-29 22:12:49 +00:00
committed by Git OBS Bridge
commit cb362d7dfa
6 changed files with 237 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

View File

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

View File

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

146
python-graphql-core.changes Normal file
View File

@@ -0,0 +1,146 @@
-------------------------------------------------------------------
Thu Nov 27 15:10:19 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.2.7
* Python 3.14 is now officially supported
* Enum values, input fields and schemas now keep extensions on sorting (#245)
* Various refactorings and changes concerning @defer and @stream
* Early execution on incremental delivery is now disabled by default
* New recommended validation rule for max introspection depth
* GraphQLEnumType values can now be specified via a callable
-------------------------------------------------------------------
Tue Feb 4 11:15:23 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- 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)
-------------------------------------------------------------------
Wed Nov 13 11:03:21 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.2.5
* Patch-release GraphQL-core v3.2.5, based on GraphQL.js v16.8.2.
* This patch-release supports Python 3.6 to 3.13.
- from version 3.2.4
* Patch-release GraphQL-core v3.2.4, based on GraphQL.js v16.8.2.
* This patch-release supports Python 3.6 to 3.12 and includes these changes:
+ Fix invalid original_error propagation in custom scalars
+ Fix performance degradation in OverlappingFieldsCanBeMergedRule
+ Support fourfold nested lists in introspection
+ Avoid various deprecation warnings with newer Python versions
- Adjust upstream source name in spec file
-------------------------------------------------------------------
Tue Jun 13 12:09:58 UTC 2023 - ecsos <ecsos@opensuse.org>
- Add %{?sle15_python_module_pythons}
-------------------------------------------------------------------
Fri Oct 28 17:25:12 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 3.2.3
Patch-release GraphQL-core v3.2.3, based on GraphQL.js v16.6.0.
This patch-releases includes only one change in GraphQL.js v16.6.0:
The parser now allows to limit the number of tokens
Thanks to all who are sponsoring me (@Cito) for maintaining this project.
- Update to 3.2.2
Patch-release GraphQL-core v3.2.2, based on GraphQL.js v16.4.0.
This patch-releases includes the changes in GraphQL.js v16.4.0, and the following fixes:
Require typing extensions when needed
Recommend using poetry instead of pipenv in the docs (#161)
Cast error message to string to handle proxy objects (#175)
Remove newline in description (#180)
-------------------------------------------------------------------
Wed Sep 28 21:51:38 UTC 2022 - Yogalakshmi Arunachalam <yarunachalam@suse.com>
- Update to 3.2.1
Patch-release GraphQL-core v3.2.1, based on GraphQL.js v16.3.0.
This patch-releases includes the changes in GraphQL.js v16.3.0, and the following fix:
Serialize with maximum precision when converting float to FloatValue (#164)
Thanks to @bennyweise for contributing and all who are sponsoring me (@Cito) for maintaining this project.
- Update to 3.2.0
Final release of GraphQL-core v3.2.0, based on GraphQL.js v16.2.0.
See v3.2.0rc1, v3.2.0rc2, v3.2.0rc3, v3.2.0rc4, v3.2.0rc5 and the changelog of GraphQL.js for a complete list of changes.
Thanks to all who contributed and are sponsoring me (@Cito) for maintaining this project.
-------------------------------------------------------------------
Sun May 22 13:59:41 UTC 2022 - Ferdinand Thiessen <rpm@fthiessen.de>
- Update to 3.1.7
* Patch based on GraphQL.js v15.8.0.
* Set enum value values to value names in build_client_schema
* Fix camel to snake case conversion with digits
* Preserve deprecation_reason on GraphQLInputFields
* Add missing __Directive.args(includeDeprecated)
* Fix original_error.extensions overriding extensions argument
- Update to 3.1.6
* Patch release based on GraphQL.js v15.5.1.
- Update to 3.1.5
* Default parse_literal of GraphQLScalarType now handles variables
* build_ast_schema now matches order of default types and directives
* Return formatted errors in formatted execution result
* The is_deprecated property is now deprecated itself
* Input fields and arguments can now be marked as deprecated
* Handle case when MapAsyncIterator is cancelled
* Improve return type for complete_list_value
* Replace resolved types in lexicographic schema sort
* EventEmitter helper class has been replaces by SimplePubSub
* print_ast now breaks arguments over multiple lines
- Update to 3.1.4
* Fix enum values
- Update to 3.1.3
* Python 3.9 is now officially suported by GraphQL-core.
* build_schema: allow to reference introspection types
* Custom validation rules for "no schema introspection" and "no deprecated"
* Added execute_sync() as synchronous version of execute()
* Support deep copy of GraphQL schema
* build_ast_schema now sets internal enum values
* Do not double-wrap resolver errors any more
* Use newer Sphinx version, fix for various autodoc issues
* Fix example in docstring of GraphQLUnionType
* Let default resolver check for Mapping instead of dict
-------------------------------------------------------------------
Mon Jan 25 02:15:12 UTC 2021 - John Vandenberg <jayvdb@gmail.com>
- Update to v3.1.2
* match GrapqhQL.js v15.1.0
* Use proper type hints for serializers
* Add @SpecifiedBy directive
* Simplify get_operation_type_node function
* Simplify monkey-patching the did_you_mean function
* Add enum type for visitor return values
* Add all missing type definitions
* Switch to SDL for validation tests
* Support visitors with class and static methods
* block_string: print multi line for trailing backslash
* test_block_string: add fuzzing test for 'print_block_string'
* Simplify gen_fuzz_strings using itertools
* Make documentation for get_field_def more accurate
* Lists in AST nodes should not be optional
* Add test for custom scalars
* build_ast_schema: pass empty schema as literal
-------------------------------------------------------------------
Sat Jun 6 07:24:00 UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Update to v3.1.1
-------------------------------------------------------------------
Tue Jan 7 09:18:44 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com>
- Initial spec for v3.0.1

61
python-graphql-core.spec Normal file
View File

@@ -0,0 +1,61 @@
#
# 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/
#
%{?sle15_python_module_pythons}
Name: python-graphql-core
Version: 3.2.7
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 pip}
BuildRequires: %{python_module poetry-core}
BuildRequires: %{python_module pytest-asyncio >= 0.14}
BuildRequires: %{python_module pytest-benchmark >= 3.2}
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
%pyproject_wheel
%install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%check
%pytest
%files %{python_files}
%doc README.md
%license LICENSE
%{python_sitelib}/graphql
%{python_sitelib}/graphql_core-%{version}*info
%changelog