File python-gql.changes of Package python-gql

-------------------------------------------------------------------
Sun Sep 14 10:24:53 UTC 2025 - Adrian Schröter <adrian@suse.de>

- Update to 4.0.0
  Breaking Changes:
   * Change transports prototype using GraphQLRequest
   * Using GraphQLRequest instead of DocumentNode for gql, execute, subscribe methods
   * This is a big change: the gql and dsl_gql methods will now return a GraphQLRequest instead of a Document Node
     a GraphQLRequest is an object containing the document and optional variable_values and operation_name
     ALL the execute and subscribe methods now receive a GraphQLRequest as main argument instead of
     a DocumentNode, variable_values and operation_name arguments
     The old method of sending variable_values as an argument of execute or subscribe still works but is deprecated
     See https://gql.readthedocs.io/en/latest/usage/variables.html for the new syntax.
   * Fix subscription task cancel exception swallow
     Previously if a task was cancelled while a subscription task was active,
   * the asyncio.CancelledError Exception would be swallowed by our code.
   * This is not the case anymore so you should now trap that Exception yourself.
   * Clean up the file upload interface with FileVar class
     The file upload functionality has been modified to require FileVar instances
     for uploaded files (the old method still works but is deprecated).
     See https://gql.readthedocs.io/en/latest/usage/file_upload.html
   * Set logging level to DEBUG for all transports
   * introspection now requests deprecated input fields by default
     Note that some backends might not support this and return Unknown argument includeDeprecated
   * Trapping dependencies Exceptions into TransportConnectionFailed
     Now gql will trap Exceptions raised by dependencies when executing a request and will
     encapsulate that Exception into the TransportConnectionFailed Exception
   * Set ssl=True by default for AIOHTTPTransport
   * New TransportConnectionClosed Exception replacing ConnectionClosed Exception
   * websocket attribute removed from transport, now using _connected instead
   * Upgrade lastest websockets and Exceptions overhaul

-------------------------------------------------------------------
Thu Jul 24 02:45:28 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>

- Add patch support-new-pytest-asyncio.patch:
  * Support changes required by pytest-asyncio >= 0.25.
- Convert to using libalternatives.

-------------------------------------------------------------------
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>

- update to 3.5.2:
  * Now supporting graphql-core v3.2.4 again (See issue #534)
    - Allow graphql-core 3.2.4 by retrofitting introspection
      commits #535
- update to 3.5.1:
  Issue #529 reported that by default the AIOHTTPTransport was not
  validating ssl certificates (a self-certificate was accepted by
  default).
  This version adds a warning to warn users (See PR #533).
  As a workaround, using ssl=True in the transport arguments fix
  the issue.
  graphql-core has been restricted to <3.2.4 to fix tests.
  A new stable version will be made shortly.

-------------------------------------------------------------------
Tue Sep 24 18:52:04 UTC 2024 - Martin Hauke <mardnh@gmx.de>

- Update to version 3.5.0
- Specfile cleanup
- Use tarball from github
- Run tests
- Add patch
  * fix-tests.patch

-------------------------------------------------------------------
Tue Jan  7 09:15:35 AM UTC 2020 - John Vandenberg <jayvdb@gmail.com>

- Initial spec for v0.2.0
openSUSE Build Service is sponsored by