17
0

Compare commits

5 Commits

Author SHA256 Message Date
b133817386 Accepting request 1266161 from devel:languages:python
- Wrap the metadata directory name in a distro-based conditional

- Lowercase metadata directory name.

OBS-URL: https://build.opensuse.org/request/show/1266161
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-SQLAlchemy1?expand=0&rev=6
2025-04-16 18:37:07 +00:00
3d213c943e - Wrap the metadata directory name in a distro-based conditional
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy1?expand=0&rev=21
2025-04-01 12:57:06 +00:00
0718f24460 - Lowercase metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy1?expand=0&rev=20
2025-03-25 08:39:58 +00:00
2e61254943 Accepting request 1201952 from devel:languages:python
- Update to 1.4.54:
  * Fixed regression from 1.3 where the column key used for a hybrid property
    might be populated with that of the underlying column that it returns.
  * The pin for ``setuptools<69.3`` in ``pyproject.toml`` has been removed.
  * Set up full Python 3.13 support to the extent currently possible, repairing
    issues within internal language helpers as well as the serializer extension
    module.
  * Adjustments to the C extensions, which are specific to the SQLAlchemy 1.x
    series, to work under Python 3.13.
  * Fixed regression going back to 1.4 where accessing a collection using the
    "dynamic" strategy on a transient object and attempting to query would
    raise an internal error. 
  * Fixed bug where ORM :func:`_orm.with_loader_criteria` would not apply
    itself to a :meth:`_sql.Select.join` where the ON clause were given as a
    plain SQL comparison, rather than as a relationship target or similar.
  * Fixed regression introduced by the fix when using pool pre-ping with
    PyMySQL version older than 1.0.
  * Fixed critical issue in asyncio version of the connection pool where
    calling :meth:`_asyncio.AsyncEngine.dispose` would produce a new connection
    pool that did not fully re-establish the use of asyncio-compatible mutexes
  * Fixed fundamental issue which prevented some forms of ORM "annotations"
    from taking place for subqueries which made use of :meth:`_sql.Select.join`
    against a relationship target
  * Repaired a new incompatibility in the MySQL "pre-ping" routine where the
    ``False`` argument passed to ``connection.ping()``, which is intended to
    disable an unwanted "automatic reconnect" feature
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/request/show/1201952
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-SQLAlchemy1?expand=0&rev=5
2024-09-20 15:08:56 +00:00
b3ce3847af - Update to 1.4.54:
* Fixed regression from 1.3 where the column key used for a hybrid property
    might be populated with that of the underlying column that it returns.
  * The pin for ``setuptools<69.3`` in ``pyproject.toml`` has been removed.
  * Set up full Python 3.13 support to the extent currently possible, repairing
    issues within internal language helpers as well as the serializer extension
    module.
  * Adjustments to the C extensions, which are specific to the SQLAlchemy 1.x
    series, to work under Python 3.13.
  * Fixed regression going back to 1.4 where accessing a collection using the
    "dynamic" strategy on a transient object and attempting to query would
    raise an internal error. 
  * Fixed bug where ORM :func:`_orm.with_loader_criteria` would not apply
    itself to a :meth:`_sql.Select.join` where the ON clause were given as a
    plain SQL comparison, rather than as a relationship target or similar.
  * Fixed regression introduced by the fix when using pool pre-ping with
    PyMySQL version older than 1.0.
  * Fixed critical issue in asyncio version of the connection pool where
    calling :meth:`_asyncio.AsyncEngine.dispose` would produce a new connection
    pool that did not fully re-establish the use of asyncio-compatible mutexes
  * Fixed fundamental issue which prevented some forms of ORM "annotations"
    from taking place for subqueries which made use of :meth:`_sql.Select.join`
    against a relationship target
  * Repaired a new incompatibility in the MySQL "pre-ping" routine where the
    ``False`` argument passed to ``connection.ping()``, which is intended to
    disable an unwanted "automatic reconnect" feature
- Switch to pyproject macros.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy1?expand=0&rev=18
2024-09-19 07:18:17 +00:00
3 changed files with 3 additions and 25 deletions

View File

@@ -1,10 +1,3 @@
-------------------------------------------------------------------
Fri Oct 17 03:45:18 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Add patch support-python-3.14.patch:
* Support Python 3.14 asyncio changes.
- Use greater and equals for SLE16+
-------------------------------------------------------------------
Tue Apr 1 12:56:45 UTC 2025 - Markéta Machová <mmachova@suse.com>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-SQLAlchemy1
#
# Copyright (c) 2025 SUSE LLC and contributors
# 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
@@ -27,8 +27,6 @@ License: MIT
URL: https://www.sqlalchemy.org
Source: https://files.pythonhosted.org/packages/source/s/sqlalchemy/sqlalchemy-%{version}.tar.gz
Source1: SQLAlchemy.keyring
# PATCH-FIX-OPENSUSE Support Python 3.14 asyncio changes
Patch0: support-python-3.14.patch
# devel is needed for optional C extensions cprocessors.so, cresultproxy.so and cutils.so
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
@@ -87,14 +85,13 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%check
# One test fails on Python 3.6
# packaging.version.InvalidVersion: Invalid version: 'SQLAlchemy'
# test_memusage breaks with Python 3.14.
%pytest_arch --ignore test/aaa_profiling/test_memusage.py -k 'not (test_parseconnect and CreateEngineTest and test_bad_args)'
%pytest_arch -k 'not (test_parseconnect and CreateEngineTest and test_bad_args)'
%files %{python_files}
%license LICENSE
%doc CHANGES README.rst README.dialects.rst README.unittests.rst
%{python_sitearch}/sqlalchemy/
%if 0%{?suse_version} >= 1600
%if 0%{?suse_version} > 1600
%{python_sitearch}/sqlalchemy-%{version}.dist-info
%else
%{python_sitearch}/SQLAlchemy-%{version}.dist-info

View File

@@ -1,12 +0,0 @@
Index: sqlalchemy-1.4.54/lib/sqlalchemy/util/_concurrency_py3k.py
===================================================================
--- sqlalchemy-1.4.54.orig/lib/sqlalchemy/util/_concurrency_py3k.py
+++ sqlalchemy-1.4.54/lib/sqlalchemy/util/_concurrency_py3k.py
@@ -190,6 +190,6 @@ def get_event_loop():
try:
return asyncio.get_running_loop()
except RuntimeError:
- return asyncio.get_event_loop_policy().get_event_loop()
+ return asyncio.new_event_loop()
else:
return asyncio.get_event_loop()