17
0

13 Commits

Author SHA256 Message Date
223bb3ba66 Accepting request 1271880 from devel:languages:python
- Update files to support modern and older setuptools, lowercase and
  uppercase dist-info file, in Factory and Leap.

OBS-URL: https://build.opensuse.org/request/show/1271880
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-SQLAlchemy?expand=0&rev=122
2025-04-23 13:18:15 +00:00
e7b6e53ae0 - Update files to support modern and older setuptools, lowercase and
uppercase dist-info file, in Factory and Leap.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=269
2025-04-22 12:41:18 +00:00
5cc0c97103 Accepting request 1266119 from devel:languages:python
- Update to 2.0.40
  * Support has been re-added for the MySQL-Connector/Python DBAPI
    using the mysql+mysqlconnector:// URL scheme.
  * Added support for specifying a list of columns for SET NULL and
    SET DEFAULT actions of ON DELETE clause of foreign key definition
    on PostgreSQL.
  * Implemented support for the GROUPS frame specification in window
    functions by adding groups option to over() and FunctionElement.over().
  * Fixed regression in ORM Annotated Declarative class interpretation
    caused by typing_extension==4.13.0 that introduced a different
    implementation for TypeAliasType.
  * More changes, see upstream changelog
- Wrap the metadata directory name in a distro-based conditional.
- Lowercase metadata directory name.

OBS-URL: https://build.opensuse.org/request/show/1266119
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-SQLAlchemy?expand=0&rev=121
2025-04-16 18:37:05 +00:00
7938db50c1 Accepting request 1266093 from home:mcalabkova:branches:devel:languages:python
- Update to 2.0.40
  * Support has been re-added for the MySQL-Connector/Python DBAPI
    using the mysql+mysqlconnector:// URL scheme.
  * Added support for specifying a list of columns for SET NULL and
    SET DEFAULT actions of ON DELETE clause of foreign key definition
    on PostgreSQL.
  * Implemented support for the GROUPS frame specification in window
    functions by adding groups option to over() and FunctionElement.over().
  * Fixed regression in ORM Annotated Declarative class interpretation
    caused by typing_extension==4.13.0 that introduced a different
    implementation for TypeAliasType.
  * More changes, see upstream changelog
- Wrap the metadata directory name in a distro-based conditional.

OBS-URL: https://build.opensuse.org/request/show/1266093
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=267
2025-04-01 12:11:57 +00:00
aa32341901 - Lowercase metadata directory name.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=266
2025-03-25 08:18:43 +00:00
a15a260687 Accepting request 1252726 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1252726
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-SQLAlchemy?expand=0&rev=120
2025-03-16 17:58:03 +00:00
5884d16e64 Accepting request 1252657 from system:homeautomation:home-assistant:unstable
- Update to 2.0.39
  Details can be found here:
    https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.39

OBS-URL: https://build.opensuse.org/request/show/1252657
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=264
2025-03-13 11:00:12 +00:00
4cd230bcd5 Accepting request 1221792 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1221792
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-SQLAlchemy?expand=0&rev=119
2024-11-07 15:23:43 +00:00
7af36972f3 Accepting request 1221783 from home:glaubitz:branches:devel:languages:python
- Update to 2.0.36
  * Fixed bug where SQL functions passed to
    :paramref:`_schema.Column.server_default` would not be rendered with the
    particular form of parenthesization now required by newer versions of MySQL
    and MariaDB. Pull request courtesy of huuya.
  * Fixed bug in ORM bulk update/delete where using RETURNING with bulk
    update/delete in combination with ``populate_existing`` would fail to
    accommodate the ``populate_existing`` option.
  * Continuing from 🎫`11912`, columns marked with
    :paramref:`.mapped_column.onupdate`,
    :paramref:`.mapped_column.server_onupdate`, or :class:`.Computed` are now
    refreshed in ORM instances when running an ORM enabled UPDATE with WHERE
    criteria, even if the statement does not use RETURNING or
    ``populate_existing``.
  * Added new parameter :paramref:`_orm.mapped_column.hash` to ORM constructs
    such as :meth:`_orm.mapped_column`, :meth:`_orm.relationship`, etc.,
    which is interpreted for ORM Native Dataclasses in the same way as other
    dataclass-specific field parameters.
  * Fixed bug in reflection of table comments where unrelated text would be
    returned if an entry in the ``pg_description`` table happened to share the
    same oid (objoid) as the table being reflected.
  * Fixed regression caused by fixes to joined eager loading in 🎫`11449`
    released in 2.0.31, where a particular joinedload case could not be
    asserted correctly.   We now have an example of that case so the assertion
    has been repaired to allow for it.
  * Improved the error message emitted when trying to map as dataclass a class
    while also manually providing the ``__table__`` attribute.
    This usage is currently not supported.
  * Improved a query used for the MySQL 8 backend when reflecting foreign keys
    to be better optimized.   Previously, for a database that had millions of

OBS-URL: https://build.opensuse.org/request/show/1221783
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=262
2024-11-06 15:02:18 +00:00
ad4f50e9ad Accepting request 1194655 from devel:languages:python
- update to 2.0.32:
  * https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.32

OBS-URL: https://build.opensuse.org/request/show/1194655
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-SQLAlchemy?expand=0&rev=118
2024-08-20 14:12:45 +00:00
644a1ddc0f - update to 2.0.32:
* https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.32

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=260
2024-08-19 07:11:31 +00:00
44324f51c5 Accepting request 1181689 from devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1181689
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/python-SQLAlchemy?expand=0&rev=117
2024-06-20 14:46:31 +00:00
2936b5c8bb Accepting request 1181680 from system:homeautomation:home-assistant:unstable
- update to 2.0.31
  * https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.31
    - Python 3.13 support

OBS-URL: https://build.opensuse.org/request/show/1181680
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=258
2024-06-19 07:23:08 +00:00
4 changed files with 119 additions and 8 deletions

View File

@@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:dd53b6c4e6d960600fd6532b79ee28e2da489322fcf6648738134587faf767b6
size 9531010

View File

@@ -1,3 +1,114 @@
-------------------------------------------------------------------
Tue Apr 22 12:39:48 UTC 2025 - Daniel Garcia <daniel.garcia@suse.com>
- Update files to support modern and older setuptools, lowercase and
uppercase dist-info file, in Factory and Leap.
-------------------------------------------------------------------
Tue Apr 1 11:16:59 UTC 2025 - Markéta Machová <mmachova@suse.com>
- Update to 2.0.40
* Support has been re-added for the MySQL-Connector/Python DBAPI
using the mysql+mysqlconnector:// URL scheme.
* Added support for specifying a list of columns for SET NULL and
SET DEFAULT actions of ON DELETE clause of foreign key definition
on PostgreSQL.
* Implemented support for the GROUPS frame specification in window
functions by adding groups option to over() and FunctionElement.over().
* Fixed regression in ORM Annotated Declarative class interpretation
caused by typing_extension==4.13.0 that introduced a different
implementation for TypeAliasType.
* More changes, see upstream changelog
- Wrap the metadata directory name in a distro-based conditional.
-------------------------------------------------------------------
Tue Mar 25 08:18:23 UTC 2025 - Steve Kowalik <steven.kowalik@suse.com>
- Lowercase metadata directory name.
-------------------------------------------------------------------
Thu Mar 13 07:53:14 UTC 2025 - Adrian Schröter <adrian@suse.de>
- Update to 2.0.39
Details can be found here:
https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.39
-------------------------------------------------------------------
Wed Nov 6 14:43:11 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaubitz@suse.com>
- Update to 2.0.36
* Fixed bug where SQL functions passed to
:paramref:`_schema.Column.server_default` would not be rendered with the
particular form of parenthesization now required by newer versions of MySQL
and MariaDB. Pull request courtesy of huuya.
* Fixed bug in ORM bulk update/delete where using RETURNING with bulk
update/delete in combination with ``populate_existing`` would fail to
accommodate the ``populate_existing`` option.
* Continuing from :ticket:`11912`, columns marked with
:paramref:`.mapped_column.onupdate`,
:paramref:`.mapped_column.server_onupdate`, or :class:`.Computed` are now
refreshed in ORM instances when running an ORM enabled UPDATE with WHERE
criteria, even if the statement does not use RETURNING or
``populate_existing``.
* Added new parameter :paramref:`_orm.mapped_column.hash` to ORM constructs
such as :meth:`_orm.mapped_column`, :meth:`_orm.relationship`, etc.,
which is interpreted for ORM Native Dataclasses in the same way as other
dataclass-specific field parameters.
* Fixed bug in reflection of table comments where unrelated text would be
returned if an entry in the ``pg_description`` table happened to share the
same oid (objoid) as the table being reflected.
* Fixed regression caused by fixes to joined eager loading in :ticket:`11449`
released in 2.0.31, where a particular joinedload case could not be
asserted correctly. We now have an example of that case so the assertion
has been repaired to allow for it.
* Improved the error message emitted when trying to map as dataclass a class
while also manually providing the ``__table__`` attribute.
This usage is currently not supported.
* Improved a query used for the MySQL 8 backend when reflecting foreign keys
to be better optimized. Previously, for a database that had millions of
columns across all tables, the query could be prohibitively slow; the query
has been reworked to take better advantage of existing indexes.
* Datatypes that are binary based such as :class:`.VARBINARY` will resolve to
:class:`.LargeBinary` when the :meth:`.TypeEngine.as_generic()` method is
called.
* The :class:`.postgresql.JSON` and :class:`.postgresql.JSONB` datatypes will
now render a "bind cast" in all cases for all PostgreSQL backends,
including psycopg2, whereas previously it was only enabled for some
backends. This allows greater accuracy in allowing the database server to
recognize when a string value is to be interpreted as JSON.
* Refined the check which the ORM lazy loader uses to detect "this would be
loading by primary key and the primary key is NULL, skip loading" to take
into account the current setting for the
:paramref:`.orm.Mapper.allow_partial_pks` parameter. If this parameter is
``False``, then a composite PK value that has partial NULL elements should
also be skipped. This can apply to some composite overlapping foreign key
configurations.
* Fixed bug in ORM "update with WHERE clause" feature where an explicit
``.returning()`` would interfere with the "fetch" synchronize strategy due
to an assumption that the ORM mapped class featured the primary key columns
in a specific position within the RETURNING. This has been fixed to use
appropriate ORM column targeting.
* Fixed regression from 1.4 where some datatypes such as those derived from
:class:`.TypeDecorator` could not be pickled when they were part of a
larger SQL expression composition due to internal supporting structures
themselves not being pickleable.
- Adjust upstream source name in spec file
- For changes between 2.0.33 through 2.0.34 see the upstream changelog
* https://docs.sqlalchemy.org/en/20/changelog
-------------------------------------------------------------------
Mon Aug 19 07:10:55 UTC 2024 - Dirk Müller <dmueller@suse.com>
- update to 2.0.32:
* https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.32
-------------------------------------------------------------------
Wed Jun 19 06:49:52 UTC 2024 - Adrian Schröter <adrian@suse.de>
- update to 2.0.31
* https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.31
- Python 3.13 support
-------------------------------------------------------------------
Thu Mar 7 08:30:24 UTC 2024 - Adrian Schröter <adrian@suse.de>

View File

@@ -1,7 +1,7 @@
#
# spec file for package python-SQLAlchemy
#
# Copyright (c) 2024 SUSE LLC
# 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
@@ -18,12 +18,12 @@
%{?sle15_python_module_pythons}
Name: python-SQLAlchemy
Version: 2.0.28
Version: 2.0.40
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 Cython >= 3}
@@ -71,7 +71,7 @@ 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
@@ -93,7 +93,7 @@ export CFLAGS="%{optflags} -fno-strict-aliasing"
%license LICENSE
%doc CHANGES.rst README.rst README.dialects.rst README.unittests.rst
%{python_sitearch}/sqlalchemy/
%{python_sitearch}/SQLAlchemy-%{version}.dist-info
%{python_sitearch}/[sS][qQ][lL][aA]lchemy-%{version}.dist-info
%if 0%{?suse_version} > 1500
%files -n %{name}-doc

BIN
sqlalchemy-2.0.40.tar.gz LFS Normal file

Binary file not shown.