--- - branch: MAIN date: Wed May 8 15:15:47 UTC 2024 files: - new: '1.76' old: '1.75' path: pkgsrc/databases/py-sqlalchemy/Makefile pathrev: pkgsrc/databases/py-sqlalchemy/Makefile@1.76 type: modified - new: '1.67' old: '1.66' path: pkgsrc/databases/py-sqlalchemy/distinfo pathrev: pkgsrc/databases/py-sqlalchemy/distinfo@1.67 type: modified id: 20240508T151547Z.fa7c4c9f729168778ef9a597aed80f8bd0910764 log: "py-sqlalchemy: updated to 2.0.30\n\n2.0.30\n\norm\n\n[orm] [bug]\n\nAdded 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.\n\n[orm] [bug]\n\nFixed issue in selectin_polymorphic() loader option where attributes defined with composite() on a superclass would cause an internal exception on load.\n\n[orm] [bug] [regression]\n\nFixed 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.\n\n[orm] [bug]\n\nFixed 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.\n\n[orm] [bug]\n\nFixed 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.\n\n[orm] [bug]\n\nFixed 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.\n\n[orm] [bug]\n\nFixed 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.\n\nengine\n\n[engine] [bug]\n\nFixed 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.\n\n[engine] [bug]\n\nFixed 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.\n\ntyping\n\n[typing] [bug] [regression]\n\nFixed 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.\n\n[typing] [bug]\n\nFixed issue in typing for Bundle where creating a nested Bundle structure were not allowed.\n\nmisc\n\n[bug] [test]\n\nEnsure the PYTHONPATH variable is properly initialized when using subprocess.run in the tests.\n\n[bug] [installation]\n\nFixed an internal class that was testing for unexpected attributes to work correctly under upcoming Python 3.13. Pull request courtesy Edgar Ramé±\x88rez-Mondragå\x9D¦n.\n" module: pkgsrc subject: 'CVS commit: pkgsrc/databases/py-sqlalchemy' unixtime: '1715181347' user: adam