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:           Fri May 16 12:54:01 UTC 2025

Modified Files:
        pkgsrc/databases/py-sqlalchemy: Makefile PLIST distinfo

Log Message:
py-sqlalchemy: updated to 2.0.41

2.0.41

platform

[platform] [bug]

Adjusted the test suite as well as the ORM’s method of scanning classes for annotations to work under current beta releases of Python 3.14 (currently 3.14.0b1) as part of an ongoing effort to support 
the production release of this Python release. Further changes to Python’s means of working with annotations is expected in subsequent beta releases for which SQLAlchemy’s test suite will need 
further adjustments.

engine

[engine] [bug]

The error message that is emitted when a URL cannot be parsed no longer includes the URL itself within the error message.

typing

[typing] [bug]

Removed __getattr__() rule from sqlalchemy/__init__.py that appeared to be trying to correct for a previous typographical error in the imports. This rule interferes with type checking and is removed.

postgresql

[postgresql] [usecase]

Added support for postgresql_include keyword argument to UniqueConstraint and PrimaryKeyConstraint. Pull request courtesy Denis Laxalde.

See also

PostgreSQL Constraint Options

mysql

[mysql] [bug]

Fixed regression caused by the DEFAULT rendering changes in version 2.0.40 via 12425 where using lowercase on update in a MySQL server default would incorrectly apply parenthesis, leading to errors 
when MySQL interpreted the rendered DDL. Pull request courtesy Alexander Ruehe.

sqlite

[sqlite] [bug]

Fixed and added test support for some SQLite SQL functions hardcoded into the compiler, most notably the localtimestamp function which rendered with incorrect internal quoting.

oracle

[oracle] [usecase]

Added new datatype VECTOR and accompanying DDL and DQL support to fully support this type for Oracle Database. This change includes the base VECTOR type that adds new type-specific methods 
l2_distance, cosine_distance, inner_product as well as new parameters oracle_vector for the Index construct, allowing vector indexes to be configured, and oracle_fetch_approximate for the 
Select.fetch() clause. Pull request courtesy Suraj Shaw.

See also

VECTOR Datatype

misc

[bug] [installation]

Removed the “license classifier” from setup.cfg for SQLAlchemy 2.0, which eliminates loud deprecation warnings when building the package. SQLAlchemy 2.1 will use a full PEP 639 configuration in 
pyproject.toml while SQLAlchemy 2.0 remains using setup.cfg for setup.


To generate a diff of this commit:
cvs rdiff -u -r1.87 -r1.88 pkgsrc/databases/py-sqlalchemy/Makefile
cvs rdiff -u -r1.25 -r1.26 pkgsrc/databases/py-sqlalchemy/PLIST
cvs rdiff -u -r1.76 -r1.77 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.87 pkgsrc/databases/py-sqlalchemy/Makefile:1.88
--- pkgsrc/databases/py-sqlalchemy/Makefile:1.87        Mon Apr 14 11:11:05 2025
+++ pkgsrc/databases/py-sqlalchemy/Makefile     Fri May 16 12:54:01 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.87 2025/04/14 11:11:05 adam Exp $
+# $NetBSD: Makefile,v 1.88 2025/05/16 12:54:01 adam Exp $
 
-DISTNAME=      sqlalchemy-2.0.40
+DISTNAME=      sqlalchemy-2.0.41
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=S/SQLAlchemy/}

Index: pkgsrc/databases/py-sqlalchemy/PLIST
diff -u pkgsrc/databases/py-sqlalchemy/PLIST:1.25 pkgsrc/databases/py-sqlalchemy/PLIST:1.26
--- pkgsrc/databases/py-sqlalchemy/PLIST:1.25   Mon Apr 14 11:11:05 2025
+++ pkgsrc/databases/py-sqlalchemy/PLIST        Fri May 16 12:54:01 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.25 2025/04/14 11:11:05 adam Exp $
+@comment $NetBSD: PLIST,v 1.26 2025/05/16 12:54:01 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
@@ -141,6 +141,9 @@ ${PYSITELIB}/sqlalchemy/dialects/oracle/
 ${PYSITELIB}/sqlalchemy/dialects/oracle/types.py
 ${PYSITELIB}/sqlalchemy/dialects/oracle/types.pyc
 ${PYSITELIB}/sqlalchemy/dialects/oracle/types.pyo
+${PYSITELIB}/sqlalchemy/dialects/oracle/vector.py
+${PYSITELIB}/sqlalchemy/dialects/oracle/vector.pyc
+${PYSITELIB}/sqlalchemy/dialects/oracle/vector.pyo
 ${PYSITELIB}/sqlalchemy/dialects/postgresql/__init__.py
 ${PYSITELIB}/sqlalchemy/dialects/postgresql/__init__.pyc
 ${PYSITELIB}/sqlalchemy/dialects/postgresql/__init__.pyo

Index: pkgsrc/databases/py-sqlalchemy/distinfo
diff -u pkgsrc/databases/py-sqlalchemy/distinfo:1.76 pkgsrc/databases/py-sqlalchemy/distinfo:1.77
--- pkgsrc/databases/py-sqlalchemy/distinfo:1.76        Mon Apr 14 11:11:05 2025
+++ pkgsrc/databases/py-sqlalchemy/distinfo     Fri May 16 12:54:01 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.76 2025/04/14 11:11:05 adam Exp $
+$NetBSD: distinfo,v 1.77 2025/05/16 12:54:01 adam Exp $
 
-BLAKE2s (sqlalchemy-2.0.40.tar.gz) = 60ac1fc43682f5a5423e6a0b2d51ed8aec5577eb4814123e710beef183fd6ecd
-SHA512 (sqlalchemy-2.0.40.tar.gz) = 7a1db1d61cd80283e339ef92b7e27146ea060db8dc7028b2584df9f9f68a4887bbb2a6b4b4af5ca66c7d132659c7a2d0b47ac2d25ce84fad73ee2dae7808e122
-Size (sqlalchemy-2.0.40.tar.gz) = 9664299 bytes
+BLAKE2s (sqlalchemy-2.0.41.tar.gz) = abe635cf9129f0182b18d57c69f5de4c4ff7026b85dc6bd53d0d74f6d18b309e
+SHA512 (sqlalchemy-2.0.41.tar.gz) = bb8df574a0e2a0faf8a44e8d217f9eb14b0138aaae7dd947c94b3c4efa6c73b2cf9199303ffed679778002804bc5aa5583b16ddd986f7b4b9235c9d951e284e4
+Size (sqlalchemy-2.0.41.tar.gz) = 9689424 bytes



Home | Main Index | Thread Index | Old Index