15
0
forked from pool/python-gql

Accepting request 1281284 from home:glaubitz:branches:devel:languages:python

- Update to 3.5.3
  * Bump graphql-core to v3.2.6 (#547)
- Switch build system from setuptools to pyproject.toml
  * Add python-pip and python-wheel to BuildRequires
  * Replace %python_build with %pyproject_wheel
  * Replace %python_install with %pyproject_install
  * Update name for dist directory in %files section
- Use Python 3.11 on SLE-15 by default

OBS-URL: https://build.opensuse.org/request/show/1281284
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-gql?expand=0&rev=4
This commit is contained in:
2025-05-30 08:26:44 +00:00
committed by Git OBS Bridge
parent f478b8c9a4
commit f9be97c93a
4 changed files with 24 additions and 9 deletions

View File

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

3
gql-3.5.3.tar.gz Normal file
View File

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

View File

@@ -1,3 +1,15 @@
-------------------------------------------------------------------
Fri May 30 07:37:19 UTC 2025 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 3.5.3
* Bump graphql-core to v3.2.6 (#547)
- Switch build system from setuptools to pyproject.toml
* Add python-pip and python-wheel to BuildRequires
* Replace %python_build with %pyproject_wheel
* Replace %python_install with %pyproject_install
* Update name for dist directory in %files section
- Use Python 3.11 on SLE-15 by default
-------------------------------------------------------------------
Sun Mar 9 14:41:10 UTC 2025 - Johannes Kastl <opensuse_buildservice@ojkastl.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-gql
#
# Copyright (c) 2021 SUSE LLC
# 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
@@ -16,8 +16,9 @@
#
%{?sle15_python_module_pythons}
Name: python-gql
Version: 3.5.2
Version: 3.5.3
Release: 0
Summary: GraphQL client for Python
License: MIT
@@ -39,6 +40,7 @@ BuildRequires: %{python_module flake8}
BuildRequires: %{python_module graphql-core >= 3.2 with %python-graphql-core < 3.4}
BuildRequires: %{python_module httpx}
BuildRequires: %{python_module parse}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module pycodestyle}
BuildRequires: %{python_module pylama}
BuildRequires: %{python_module pytest-asyncio}
@@ -49,12 +51,13 @@ BuildRequires: %{python_module pytest}
BuildRequires: %{python_module requests-toolbelt}
BuildRequires: %{python_module requests}
BuildRequires: %{python_module websockets}
BuildRequires: %{python_module wheel}
BuildRequires: %{python_module yarl}
# /SECTION
Requires: python-anyio
Requires: python-backoff >= 1.11.1
Requires: (python-graphql-core >= 3.2 with python-graphql-core < 3.4)
Requires: python-yarl >= 1.6
Requires: (python-graphql-core >= 3.2 with python-graphql-core < 3.4)
Requires(post): update-alternatives
Requires(postun): update-alternatives
BuildArch: noarch
@@ -71,10 +74,10 @@ GraphQL client for Python.
rm -Rf gql-checker
%build
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitelib}
%python_clone -a %{buildroot}%{_bindir}/gql-cli
@@ -95,6 +98,6 @@ rm -Rf gql-checker
%doc README.md
%python_alternative %{_bindir}/gql-cli
%{python_sitelib}/gql
%{python_sitelib}/gql-%{version}*-py*.egg-info
%{python_sitelib}/gql-%{version}.dist-info
%changelog