Sync from SUSE:SLFO:Main python-SQLAlchemy1 revision b88e03484f68f6d4f2878572ad4d40b1

This commit is contained in:
Adrian Schröter 2024-10-03 17:52:49 +02:00
parent a6a7454a9b
commit c86343d108
4 changed files with 43 additions and 10 deletions

BIN
SQLAlchemy-1.4.49.tar.gz (Stored with Git LFS)

Binary file not shown.

View File

@ -1,3 +1,34 @@
-------------------------------------------------------------------
Thu Sep 19 07:17:48 UTC 2024 - Steve Kowalik <steven.kowalik@suse.com>
- 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.
-------------------------------------------------------------------
Mon Sep 25 14:18:37 UTC 2023 - Ondřej Súkup <mimi.vx@gmail.com>

View File

@ -1,7 +1,7 @@
#
# spec file for package python-SQLAlchemy1
#
# Copyright (c) 2023 SUSE LLC
# Copyright (c) 2024 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -20,16 +20,18 @@
%define oldpython python
%{?sle15_python_module_pythons}
Name: python-SQLAlchemy1
Version: 1.4.49
Version: 1.4.54
Release: 0
Summary: Database Abstraction Library
License: MIT
URL: https://www.sqlalchemy.org
Source: https://files.pythonhosted.org/packages/source/S/SQLAlchemy/SQLAlchemy-%{version}.tar.gz
Source: https://files.pythonhosted.org/packages/source/s/sqlalchemy/sqlalchemy-%{version}.tar.gz
Source1: SQLAlchemy.keyring
# devel is needed for optional C extensions cprocessors.so, cresultproxy.so and cutils.so
BuildRequires: %{python_module devel}
BuildRequires: %{python_module pip}
BuildRequires: %{python_module setuptools}
BuildRequires: %{python_module wheel}
BuildRequires: %{pythons}
BuildRequires: fdupes
BuildRequires: python-rpm-macros
@ -67,17 +69,17 @@ This package contains HTML documentation, including tutorials and API
reference for python-SQLAlchemy.
%prep
%autosetup -p1 -n SQLAlchemy-%{version}
%autosetup -p1 -n sqlalchemy-%{version}
rm -rf doc/build # Remove unnecessary scripts for building documentation
sed -i 's/\r$//' examples/dynamic_dict/dynamic_dict.py
%build
export CFLAGS="%{optflags} -fno-strict-aliasing"
%python_build
%pyproject_wheel
%install
%python_install
%pyproject_install
%python_expand %fdupes %{buildroot}%{$python_sitearch}
%check
@ -89,7 +91,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%license LICENSE
%doc CHANGES README.rst README.dialects.rst README.unittests.rst
%{python_sitearch}/sqlalchemy/
%{python_sitearch}/SQLAlchemy-%{version}-py*.egg-info
%{python_sitearch}/SQLAlchemy-%{version}.dist-info
%files -n %{name}-doc
%doc doc/

BIN
sqlalchemy-1.4.54.tar.gz (Stored with Git LFS) Normal file

Binary file not shown.