Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package python-gql for openSUSE:Factory checked in at 2025-07-24 18:46:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/python-gql (Old) and /work/SRC/openSUSE:Factory/.python-gql.new.13279 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-gql" Thu Jul 24 18:46:40 2025 rev:3 rq:1295408 version:3.5.3 Changes: -------- --- /work/SRC/openSUSE:Factory/python-gql/python-gql.changes 2025-05-30 17:25:40.864140569 +0200 +++ /work/SRC/openSUSE:Factory/.python-gql.new.13279/python-gql.changes 2025-07-24 18:48:04.980026470 +0200 @@ -1,0 +2,7 @@ +Thu Jul 24 02:45:28 UTC 2025 - Steve Kowalik <steven.kowa...@suse.com> + +- Add patch support-new-pytest-asyncio.patch: + * Support changes required by pytest-asyncio >= 0.25. +- Convert to using libalternatives. + +------------------------------------------------------------------- New: ---- support-new-pytest-asyncio.patch ----------(New B)---------- New: - Add patch support-new-pytest-asyncio.patch: * Support changes required by pytest-asyncio >= 0.25. ----------(New E)---------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ python-gql.spec ++++++ --- /var/tmp/diff_new_pack.Lgx8QR/_old 2025-07-24 18:48:05.660055576 +0200 +++ /var/tmp/diff_new_pack.Lgx8QR/_new 2025-07-24 18:48:05.660055576 +0200 @@ -16,17 +16,23 @@ # +%bcond_without libalternatives %{?sle15_python_module_pythons} Name: python-gql Version: 3.5.3 Release: 0 Summary: GraphQL client for Python License: MIT -Group: Development/Languages/Python URL: https://gql.readthedocs.io Source: https://github.com/graphql-python/gql/archive/refs/tags/v%{version}.tar.gz#/gql-%{version}.tar.gz +# PATCH-FIX-UPSTREAM Based on gh#graphql-python/gql#504 Patch0: fix-tests.patch +# PATCH-FIX-UPSTREAM Based on gh#graphql-python/gql#537 +Patch1: support-new-pytest-asyncio.patch +BuildRequires: %{python_module pip} BuildRequires: %{python_module setuptools} +BuildRequires: %{python_module wheel} +BuildRequires: alts BuildRequires: fdupes BuildRequires: python-rpm-macros # SECTION test requirements @@ -40,7 +46,6 @@ 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} @@ -51,15 +56,13 @@ BuildRequires: %{python_module requests-toolbelt} BuildRequires: %{python_module requests} BuildRequires: %{python_module websockets} -BuildRequires: %{python_module wheel} BuildRequires: %{python_module yarl} # /SECTION +Requires: alts Requires: python-anyio Requires: python-backoff >= 1.11.1 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 %python_subpackages @@ -67,8 +70,7 @@ GraphQL client for Python. %prep -%setup -q -n gql-%{version} -%autopatch -p1 +%autosetup -p1 -n gql-%{version} # remove not needed gql-checker subproject rm -Rf gql-checker @@ -85,13 +87,8 @@ # skip some non-functional tests %pytest -k "not (test_aiohttp_using_cli_ep or test_cli_ep_version or test_httpx_using_cli_ep or test_async_client_validation)" -%files %{python_files} - -%post -%python_install_alternative gql-cli - -%postun -%python_uninstall_alternative gql-cli +%pre +%python_libalternatives_reset_alternative gql-cli %files %{python_files} %license LICENSE ++++++ support-new-pytest-asyncio.patch ++++++ ++++ 2728 lines (skipped)