15
0
Commit Graph

161 Commits

Author SHA256 Message Date
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
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
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
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
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
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
aaa4c53615 Fix changelog
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=256
2024-03-07 22:48:07 +00:00
acf040bb05 Accepting request 1155829 from system:homeautomation:home-assistant:unstable
- update to 2.0.28:
  * https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.28

OBS-URL: https://build.opensuse.org/request/show/1155829
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=255
2024-03-07 18:04:11 +00:00
c52a8e585b - update to 2.0.25:
* preliminary support for Python 3.12 pep-695 type alias
    structures
  * see https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.25

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=253
2024-01-21 10:31:04 +00:00
774a2ad5c0 - update to 2.0.24:
* https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.24

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=251
2023-12-29 09:05:13 +00:00
3e237bed0f - update to 2.0.23:
* https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.23
  * https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.22
- use generic Cython >= 3 buildrequires
  https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.19
  * see
    update/delete statements.
    producing the wrong ON clause for the joinedload.
    is common when using ORM Declarative mixins. References: #9773
  * https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.13
  see https://docs.sqlalchemy.org/en/20/changelog/changelog_14.html#change-1.4.46
  see https://docs.sqlalchemy.org/en/20/changelog/changelog_14.html#change-1.4.45
  Bugfixes, see
  * https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.28
  * see https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.27
    constraints as well table /view detection.
    Oracle, PostgreSQL, and MySQL.
  * bugfixes for various engines, see
    stringify correctly. Pull request courtesy Andrzej Bartosiński.
    the path registry is compared to a path registry in all cases;
      invalid configuration, would fail to raise if the
- add upstream fix_test_reflection.patch to fix tests with new sqlite
    + [orm] [bug] Fixed regression in 1.2.7 caused by #4228, which
      callable passed to a Session was assumed to be a subclass of
      Query with class method availability, as opposed to an
      arbitrary callable. In particular, the dogpile caching example
      illustrates query_cls as a function and not a Query subclass.
    + [orm] [bug] Fixed a long-standing regression that occurred in
      version 1.0, which prevented the use of a custom MapperOption
      that alters the _params of a Query object for a lazy load,

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=249
2023-11-27 09:18:44 +00:00
89ffb19855 Accepting request 1114878 from home:mschreiner:branches:devel:languages:python
- Update to 2.0.21:
  * Changes from 2.0.21:
    https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.21
  * Changes from 2.0.20:
    https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.20
- Remove .gitignore files from source tree, removes all rpmlint
  warnings.

OBS-URL: https://build.opensuse.org/request/show/1114878
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=247
2023-10-03 07:10:00 +00:00
408d21f139 - Update to 1.4.12 (bsc#1184038):
* obsoletes sqlalchemy-7293b3dc0e9eb3dae84ffd831494b85355df8e73.patch
    in older dists

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=245
2023-09-06 19:35:19 +00:00
b9ce19184e - use generic Cython >= 3 buildrequires
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=243
2023-08-13 21:41:54 +00:00
7f876cce68 - update to 2.0.19:
* Various bugfixes, see
  https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.19

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=241
2023-07-25 18:49:41 +00:00
41aa879a20 - update to 2.0.16:
* Python 3.12 support
  * Fixed regression in the 2.0 series where the default value of
    validates.include_backrefs got changed to False for the
    validates() function
  * Unified the custom PostgreSQL operator definitions
  * Added support for PostgreSQL 10 NULLS NOT DISTINCT feature of
    unique indexes and unique constraints
  * Use proper precedence on PostgreSQL specific operators, such as
    @>
  * see 
  https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.16

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=239
2023-06-19 20:25:19 +00:00
848c553e5b - Switch documentation to be within the main package.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=237
2023-05-30 16:14:47 +00:00
d73c6c7a21 Accepting request 1088037 from home:bnavigator:branches:devel:languages:python
OBS-URL: https://build.opensuse.org/request/show/1088037
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=236
2023-05-21 05:05:42 +00:00
6020f1b8a4 - update to 2.0.13:
* https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.13

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=235
2023-05-14 16:30:37 +00:00
c32aa5dc34 - drop unnecessary mypy dependency
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=233
2023-05-12 13:50:41 +00:00
a8503b018b OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=231 2023-05-08 08:25:25 +00:00
b0088cbd56 OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=230 2023-05-08 08:22:48 +00:00
9885f81bbe OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=229 2023-05-04 19:12:13 +00:00
c1325a13a3 - update to SQLalchemy 2.0.x:
* 1.x remains available as SQLAlchemy1
  Long list of changes, see
  https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.12
  https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.11
  https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.10
  https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.9
  https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.8
  https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.7
  https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.6
  https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.5
  https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.4
  https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.3
  https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.2
  https://docs.sqlalchemy.org/en/20/changelog/changelog_20.html#change-2.0.1

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=228
2023-05-04 16:46:17 +00:00
578e04156d Accepting request 1081312 from home:dirkmueller:acdc:as_python3_module
SR for python stack proposal

OBS-URL: https://build.opensuse.org/request/show/1081312
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=226
2023-04-21 15:02:55 +00:00
e2890a5f08 - update to 1.4.46:
* A new deprecation “uber warning” is now emitted at runtime the
    first time any SQLAlchemy 2.0 deprecation warning would
    normally be emitted, but the SQLALCHEMY_WARN_20 environment
    variable is not set.
  see https://docs.sqlalchemy.org/en/20/changelog/changelog_14.html#change-1.4.46

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=224
2023-02-15 12:35:59 +00:00
5eee1a3921 - update to 1.4.45:
see https://docs.sqlalchemy.org/en/20/changelog/changelog_14.html#change-1.4.45

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=222
2023-01-02 19:35:05 +00:00
22475c4269 - Also remove the conditional definition of python_module.
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=220
2022-10-25 05:14:30 +00:00
45b690dbba Accepting request 1030546 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/1030546
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=219
2022-10-25 05:13:45 +00:00
2fe3a99f0d - update to 1.4.41:
* Fixed issue where use of the :func:`_sql.table` construct, passing a string
    for the :paramref:`_sql.table.schema` parameter, would fail to take the
    "schema" string into account when producing a cache key, thus leading to
    caching collisions if multiple, same-named :func:`_sql.table` constructs
    with different schemas were used.
  * Fixed event listening issue where event listeners added to a superclass
    would be lost if a subclass were created which then had its own listeners
    associated. The practical example is that of the :class:`.sessionmaker`
    class created after events have been associated with the
    :class:`_orm.Session` class.
  * Hardened the cache key strategy for the :func:`_orm.aliased` and
    :func:`_orm.with_polymorphic` constructs. While no issue involving actual
    statements being cached can easily be demonstrated (if at all), these two
    constructs were not including enough of what makes them unique in their
    cache keys for caching on the aliased construct alone to be accurate.
  * Fixed regression appearing in the 1.4 series where a joined-inheritance
    query placed as a subquery within an enclosing query for that same entity
    would fail to render the JOIN correctly for the inner query. The issue
    manifested in two different ways prior and subsequent to version 1.4.18
    (related issue 🎫`6595`), in one case rendering JOIN twice, in the
    other losing the JOIN entirely. To resolve, the conditions under which
    "polymorphic loading" are applied have been scaled back to not be invoked
    for simple joined inheritance queries.
  * Fixed issue in :mod:`sqlalchemy.ext.mutable` extension where collection
    links to the parent object would be lost if the object were merged with
    :meth:`.Session.merge` while also passing :paramref:`.Session.merge.load`
    as False.
  * Fixed issue involving :func:`_orm.with_loader_criteria` where a closure
    variable used as bound parameter value within the lambda would not carry

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=217
2022-09-17 07:30:16 +00:00
eef20d9695 Accepting request 997460 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/997460
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=215
2022-08-17 08:24:21 +00:00
83f1fd2cc5 Accepting request 988051 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/988051
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=213
2022-07-11 07:29:57 +00:00
7e0b551e77 - update to 1.4.37
* details on https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.37
  * Fixed issue where using a column_property() construct containing a subquery
    against an already-mapped column attribute would not correctly apply
    ORM-compilation behaviors to the subquery, including that the “IN” expression
    added for a single-table inherits expression would fail to be included.
  * Fixed issue where ORM results would apply incorrect key names to the
    returned Row objects in the case where the set of columns to be selected
    were changed, such as when using Select.with_only_columns().
  * Fixed bug, likely a regression from 1.3, where usage of column names that
    require bound parameter escaping, more concretely when using Oracle with
    column names that require quoting such as those that start with an
    underscore, or in less common cases with some PostgreSQL drivers when using
    column names that contain percent signs, would cause the ORM versioning
    feature to not work correctly if the versioning column itself had such a
    name, as the ORM assumes certain bound parameter naming conventions that
    were being interfered with via the quotes. This issue is related to #8053
    and essentially revises the approach towards fixing this, revising the
    original issue #5653 that created the initial implementation for
    generalized bound-parameter name quoting.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=211
2022-06-04 08:51:19 +00:00
da9501e87f - update to 1.4.36:
* details on https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.36
  * Fixed regression where the change made for #7861, released in version
    1.4.33, that brought the Insert construct to be partially recognized as an
    ORM-enabled statement
  * Modified the DeclarativeMeta metaclass to pass cls.__dict__ into the
    declarative scanning process to look for attributes, rather than the
    separate dictionary passed to the type’s __init__() method
  * Fixed a memory leak in the C extensions which could occur when calling upon
    named members of Row when the member does not exist under Python 3
  * Added a warning regarding a bug which exists in the Result.columns() method
    when passing 0 for the index in conjunction with a Result that will return
    a single ORM entity, which indicates that the current behavior of
    Result.columns() is broken in this case as the Result object will yield scalar
    values and not Row objects
  * Fixed bug where ForeignKeyConstraint naming conventions using the
    referred_column_0 naming convention key would not work if the foreign key
    constraint were set up as a ForeignKey object rather than an explicit
    ForeignKeyConstraint object.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=209
2022-05-04 19:57:32 +00:00
c7b01dc7c9 Accepting request 971068 from home:pgajdos:python
- python-mock is not required for build

OBS-URL: https://build.opensuse.org/request/show/971068
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=207
2022-04-20 12:48:34 +00:00
eedc7d3469 Accepting request 968304 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/968304
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=205
2022-04-11 09:31:20 +00:00
19d93f7775 Accepting request 961327 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/961327
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=203
2022-03-12 21:43:43 +00:00
77b44db4d2 Accepting request 951372 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/951372
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=202
2022-02-03 21:03:25 +00:00
23ad3f2e94 - Update to 1.4.29:
- truly, just plenty of small bugfixes, see the changelog on the Web
    https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.29

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=201
2021-12-27 15:11:38 +00:00
04d96d1fcf - update to 1.4.28:
Bugfixes, see 
  * https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.28

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=200
2021-12-18 19:35:04 +00:00
4926f7c9fc - update to 1.4.27:
Bugfixes
  * see https://docs.sqlalchemy.org/en/14/changelog/changelog_14.html#change-1.4.27

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=199
2021-12-05 19:12:28 +00:00
ad0e633eae - update to version 1.4.26:
* a repair to the workings of the update() statement in an ORM context when
    used with hybrid and composite attributes.
  * Fixes for the with_loader_criteria() ORM option
  * adjustments to the ORM Session interface to accommodate for new API features
  * some new legacy warnings for lesser used patterns with Query.join()
  * SQL / ORM fixes for the use case of selecting from repeated, non-labeled
    column expressions, typically the null() construct when used as a
    placeholder in a UNION statement.
  * For PostgreSQL, refinements to the "expanding IN" SQL feature when used
    with PostgreSQL ARRAY datatypes as well as fixes for the mostly
    PostgreSQL-specific any_() and all_() column methods.
  * For MySQL, repaired support for new behaviors in MariaDB 10.6
  * For SQL Server, reflection fixes and improvements for foreign key
    constraints as well table /view detection.

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=197
2021-10-27 20:33:19 +00:00
16e4a5ea78 - update to version 1.4.25:
* Fixed regression due to 🎫`7024` where the reorganization of the
    "platform machine" names used by the ``greenlet`` dependency mis-spelled
    "aarch64" and additionally omitted uppercase "AMD64" as is needed for
    Windows machines.
  * Fixed a bug in :meth:`_asyncio.AsyncSession.execute` and
    :meth:`_asyncio.AsyncSession.stream` that required ``execution_options``
    to be an instance of ``immutabledict`` when defined. It now
    correctly accepts any mapping.
  * Improve the interface used by adapted drivers, like the asyncio ones,
    to access the actual connection object returned by the driver.
  * Implemented missing methods in :class:`_functions.FunctionElement` which,
    while unused, would lead pylint to report them as unimplemented abstract
    methods.
  * Fixed an issue where :meth:`_reflection.has_table` returned
    ``True`` for local temporary tables that actually belonged to a
    different SQL Server session (connection). An extra check is now
    performed to ensure that the temp table detected is in fact owned
    by the current session.
  * Fixed issue where the ability of the
    :meth:`_events.ConnectionEvents.before_execute` method to alter the SQL
    statement object passed, returning the new object to be invoked, was
    inadvertently removed. This behavior has been restored.
  * Ensure that ``str()`` is called on the an
    :paramref:`_url.URL.create.password` argument, allowing usage of objects
    that implement the ``__str__()`` method as password attributes. Also
    clarified that one such object is not appropriate to dynamically change the
    password for each database connection; the approaches at
    :ref:`engines_dynamic_tokens` should be used instead.
  * Fixed ORM issue where column expressions passed to ``query()`` or

OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=196
2021-10-16 23:39:38 +00:00
08ebb0d6ac Accepting request 908093 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/908093
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=195
2021-07-26 14:32:47 +00:00
6d5c08c7bd Accepting request 905719 from home:alarrosa:branches:devel:languages:python
- update to version 1.4.20:
  * orm
    + [orm] [bug] [regression] Fixed regression in ORM regarding
      an internal reconstitution step for the with_polymorphic()
      construct, when the user-facing object is garbage collected
      as the query is processed. The reconstitution was not
      ensuring the sub-entities for the “polymorphic” case were
      handled, leading to an AttributeError.
      References: #6680
    + [orm] [bug] [regression] Adjusted Query.union() and similar
      set operations to be correctly compatible with the new
      capabilities just added in #6661, with SQLAlchemy 1.4.19,
      such that the SELECT statements rendered as elements of the
      UNION or other set operation will include directly mapped
      columns that are mapped as deferred; this both fixes a
      regression involving unions with multiple levels of nesting
      that would produce a column mismatch, and also allows the
      undefer() option to be used at the top level of such a Query
      without having to apply the option to each of the elements
      within the UNION.
      References: #6678
    + [orm] [bug] Adjusted the check in the mapper for a callable
      object that is used as a @validates validator function or a
      @reconstructor reconstruction function, to check for
      “callable” more liberally such as to accommodate objects
      based on fundamental attributes like __func__ and __call___,
      rather than testing for MethodType / FunctionType, allowing
      things like cython functions to work properly. Pull request
      courtesy Miłosz Stypiński.
      References: #6538

OBS-URL: https://build.opensuse.org/request/show/905719
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=194
2021-07-12 08:12:10 +00:00
946eed0952 Accepting request 893324 from home:apersaud:branches:devel:languages:python
update to latest version

OBS-URL: https://build.opensuse.org/request/show/893324
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=192
2021-05-15 19:58:29 +00:00
096aa562dd Accepting request 890933 from home:alarrosa:branches:devel:languages:python
- Remove %ifpython2 (python2 flavor is disabled).
- Do not use %if %{python_version_nodots} for BuildRequires.

OBS-URL: https://build.opensuse.org/request/show/890933
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=190
2021-05-07 08:54:47 +00:00
9c1e4fc47c Accepting request 890784 from home:alarrosa:branches:devel:languages:python
- Remove broken %ifpython3 since the python2 flavor is disabled
  anyway.

OBS-URL: https://build.opensuse.org/request/show/890784
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=189
2021-05-05 18:48:40 +00:00
2ed7a610f4 Accepting request 890304 from home:alarrosa:branches:devel:languages:python
- update to 1.4.13:
  orm
  * Fixed regression in selectinload loader strategy that would
    cause it to cache its internal state incorrectly when handling
    relationships that join across more than one column, such as
    when using a composite foreign key. The invalid caching would
    then cause other unrelated loader operations to fail.
    References: #6410
  * Fixed regression where Query.filter_by() would not work if the
    lead entity were a SQL function or other expression derived
    from the primary entity in question, rather than a simple
    entity or column of that entity. Additionally, improved the
    behavior of Select.filter_by() overall to work with column
    expressions even in a non-ORM context. References: #6414
  * Fixed regression where using selectinload() and subqueryload()
    to load a two-level-deep path would lead to an attribute error.
    References: #6419
  * Fixed regression where using the noload() loader strategy in
    conjunction with a “dynamic” relationship would lead to an
    attribute error as the noload strategy would attempt to apply
    itself to the dynamic loader. References: #6420
  engine
  * Restored a legacy transactional behavior that was inadvertently
    removed from the Connection as it was never tested as a known
    use case in previous versions, where calling upon the
    Connection.begin_nested() method, when no transaction is
    present, does not create a SAVEPOINT at all and instead starts
    an outer transaction, returning a RootTransaction object
    instead of a NestedTransaction object. This RootTransaction
    then will emit a real COMMIT on the database connection when

OBS-URL: https://build.opensuse.org/request/show/890304
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-SQLAlchemy?expand=0&rev=188
2021-05-04 10:53:23 +00:00