pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/databases/py-sqlalchemy
Module Name: pkgsrc
Committed By: adam
Date: Wed May 8 15:15:47 UTC 2024
Modified Files:
pkgsrc/databases/py-sqlalchemy: Makefile distinfo
Log Message:
py-sqlalchemy: updated to 2.0.30
2.0.30
orm
[orm] [bug]
Added new attribute ORMExecuteState.is_from_statement to detect statements created using Select.from_statement(), and enhanced FromStatement to set ORMExecuteState.is_select,
ORMExecuteState.is_insert, ORMExecuteState.is_update, and ORMExecuteState.is_delete according to the element that is sent to the Select.from_statement() method itself.
[orm] [bug]
Fixed issue in selectin_polymorphic() loader option where attributes defined with composite() on a superclass would cause an internal exception on load.
[orm] [bug] [regression]
Fixed regression from 1.4 where using defaultload() in conjunction with a non-propagating loader like contains_eager() would nonetheless propagate the contains_eager() to a lazy load operation,
causing incorrect queries as this option is only intended to come from an original load.
[orm] [bug]
Fixed issue in ORM Annotated Declarative where typing issue where literals defined using PEP 695 type aliases would not work with inference of Enum datatypes. Pull request courtesy of Alc-Alc.
[orm] [bug]
Fixed issue in selectin_polymorphic() loader option where the SELECT emitted would only accommodate for the child-most class among the result rows that were returned, leading intermediary-class
attributes to be unloaded if there were no concrete instances of that intermediary-class present in the result. This issue only presented itself for multi-level inheritance hierarchies.
[orm] [bug]
Fixed issue in Session.bulk_save_objects() where the form of the identity key produced when using return_defaults=True would be incorrect. This could lead to an errors during pickling as well as
identity map mismatches.
[orm] [bug]
Fixed issue where attribute key names in Bundle would not be correct when using ORM enabled select vs. Query, when the statement contained duplicate column names.
engine
[engine] [bug]
Fixed issue in the Connection.execution_options.logging_token option, where changing the value of logging_token on a connection that has already logged messages would not be updated to reflect the
new logging token. This in particular prevented the use of Session.connection() to change the option on the connection, since the BEGIN logging message would already have been emitted.
[engine] [bug]
Fixed issue in cursor handling which affected handling of duplicate Column or similar objcts in the columns clause of select(), both in combination with arbitary text() clauses in the SELECT list, as
well as when attempting to retrieve Result.mappings() for the object, which would lead to an internal error.
typing
[typing] [bug] [regression]
Fixed typing regression caused by 11055 in version 2.0.29 that added ParamSpec to the asyncio run_sync() methods, where using AsyncConnection.run_sync() with MetaData.reflect() would fail on mypy due
to a mypy issue. Pull request courtesy of Francisco R. Del Roio.
[typing] [bug]
Fixed issue in typing for Bundle where creating a nested Bundle structure were not allowed.
misc
[bug] [test]
Ensure the PYTHONPATH variable is properly initialized when using subprocess.run in the tests.
[bug] [installation]
Fixed an internal class that was testing for unexpected attributes to work correctly under upcoming Python 3.13. Pull request courtesy Edgar Ramírez-Mondragón.
To generate a diff of this commit:
cvs rdiff -u -r1.75 -r1.76 pkgsrc/databases/py-sqlalchemy/Makefile
cvs rdiff -u -r1.66 -r1.67 pkgsrc/databases/py-sqlalchemy/distinfo
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/databases/py-sqlalchemy/Makefile
diff -u pkgsrc/databases/py-sqlalchemy/Makefile:1.75 pkgsrc/databases/py-sqlalchemy/Makefile:1.76
--- pkgsrc/databases/py-sqlalchemy/Makefile:1.75 Tue Apr 2 18:11:22 2024
+++ pkgsrc/databases/py-sqlalchemy/Makefile Wed May 8 15:15:47 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.75 2024/04/02 18:11:22 adam Exp $
+# $NetBSD: Makefile,v 1.76 2024/05/08 15:15:47 adam Exp $
-DISTNAME= SQLAlchemy-2.0.29
+DISTNAME= SQLAlchemy-2.0.30
PKGNAME= ${PYPKGPREFIX}-${DISTNAME:tl}
CATEGORIES= databases python
MASTER_SITES= ${MASTER_SITE_PYPI:=S/SQLAlchemy/}
Index: pkgsrc/databases/py-sqlalchemy/distinfo
diff -u pkgsrc/databases/py-sqlalchemy/distinfo:1.66 pkgsrc/databases/py-sqlalchemy/distinfo:1.67
--- pkgsrc/databases/py-sqlalchemy/distinfo:1.66 Tue Apr 2 18:11:22 2024
+++ pkgsrc/databases/py-sqlalchemy/distinfo Wed May 8 15:15:47 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.66 2024/04/02 18:11:22 adam Exp $
+$NetBSD: distinfo,v 1.67 2024/05/08 15:15:47 adam Exp $
-BLAKE2s (SQLAlchemy-2.0.29.tar.gz) = caeb9d7edc75ae1d90449fa9401e28931d9a319ee658bfda7ec3bc7b135443c7
-SHA512 (SQLAlchemy-2.0.29.tar.gz) = d1143c65fb26335d652083b9a90afaecf78ed312cea5c26f989380204e909c341c1bc3bb1e07274353e1c409d21737fad4d7391f186b2d2373814582d3baaf78
-Size (SQLAlchemy-2.0.29.tar.gz) = 9543967 bytes
+BLAKE2s (SQLAlchemy-2.0.30.tar.gz) = 56941d75400d5adc2cd02659775a04af4ee28930e7e038d90a9c8b93a7a8da94
+SHA512 (SQLAlchemy-2.0.30.tar.gz) = b39275a7312609fd0a78ac5bb4fb0f29f2948d7fc81007587c01f38849ff28bff273182a06c8ec830b7e1ba4cd30aea2cd7214bbf971a61125c9b56c6ddbbe52
+Size (SQLAlchemy-2.0.30.tar.gz) = 9579500 bytes
Home |
Main Index |
Thread Index |
Old Index