diff --git a/SQLAlchemy-1.4.49.tar.gz b/SQLAlchemy-1.4.49.tar.gz deleted file mode 100644 index 003d83e..0000000 --- a/SQLAlchemy-1.4.49.tar.gz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:06ff25cbae30c396c4b7737464f2a7fc37a67b7da409993b182b024cec80aed9 -size 8536601 diff --git a/python-SQLAlchemy1.changes b/python-SQLAlchemy1.changes index 2c9426e..a31e0da 100644 --- a/python-SQLAlchemy1.changes +++ b/python-SQLAlchemy1.changes @@ -1,3 +1,34 @@ +------------------------------------------------------------------- +Thu Sep 19 07:17:48 UTC 2024 - Steve Kowalik + +- 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 diff --git a/python-SQLAlchemy1.spec b/python-SQLAlchemy1.spec index 03a7de7..53b738e 100644 --- a/python-SQLAlchemy1.spec +++ b/python-SQLAlchemy1.spec @@ -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/ diff --git a/sqlalchemy-1.4.54.tar.gz b/sqlalchemy-1.4.54.tar.gz new file mode 100644 index 0000000..006210f --- /dev/null +++ b/sqlalchemy-1.4.54.tar.gz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4470fbed088c35dc20b78a39aaf4ae54fe81790c783b3264872a0224f437c31a +size 8470350