pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/py-alembic



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Feb  3 10:28:58 UTC 2026

Modified Files:
        pkgsrc/databases/py-alembic: Makefile distinfo

Log Message:
py-alembic: updated to 1.18.3

1.18.3

bug

[bug] [autogenerate]
Fixed regression in version 1.18.0 due to 1771 where autogenerate would raise NoReferencedTableError when a foreign key constraint referenced a table that was not part of the initial table load, 
including tables filtered out by the EnvironmentContext.configure.include_name callable or tables in remote schemas that were not included in the initial reflection run.

The change in 1771 was a performance optimization that eliminated additional reflection queries for tables that were only referenced by foreign keys but not explicitly included in the main reflection 
run. However, this optimization inadvertently removed the creation of Table objects for these referenced tables, causing autogenerate to fail when processing foreign key constraints that pointed to 
them.

The fix creates placeholder Table objects for foreign key targets that are not reflected, allowing the autogenerate comparison to proceed without error while maintaining the performance improvement 
from 1771. When multiple foreign keys reference different columns in the same filtered table, the placeholder table accumulates all necessary columns. These placeholder tables may be visible when 
using the EnvironmentContext.configure.include_object callable to inspect ForeignKeyConstraint objects; they will have the name, schema and basic column information for the relevant columns present.

[bug] [general]
Fixed regression caused by 1669 which requires SQLAlchemy objects to support generic type subscripting; for the older SQLAlchemy 1.4 series, this requires version 1.4.23. Changed the minimum 
requirements to require version 1.4.23 rather than 1.4.0.


To generate a diff of this commit:
cvs rdiff -u -r1.47 -r1.48 pkgsrc/databases/py-alembic/Makefile
cvs rdiff -u -r1.37 -r1.38 pkgsrc/databases/py-alembic/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-alembic/Makefile
diff -u pkgsrc/databases/py-alembic/Makefile:1.47 pkgsrc/databases/py-alembic/Makefile:1.48
--- pkgsrc/databases/py-alembic/Makefile:1.47   Wed Jan 21 08:55:38 2026
+++ pkgsrc/databases/py-alembic/Makefile        Tue Feb  3 10:28:58 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.47 2026/01/21 08:55:38 adam Exp $
+# $NetBSD: Makefile,v 1.48 2026/02/03 10:28:58 adam Exp $
 
-DISTNAME=      alembic-1.18.1
+DISTNAME=      alembic-1.18.3
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/alembic/}

Index: pkgsrc/databases/py-alembic/distinfo
diff -u pkgsrc/databases/py-alembic/distinfo:1.37 pkgsrc/databases/py-alembic/distinfo:1.38
--- pkgsrc/databases/py-alembic/distinfo:1.37   Wed Jan 21 08:55:38 2026
+++ pkgsrc/databases/py-alembic/distinfo        Tue Feb  3 10:28:58 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.37 2026/01/21 08:55:38 adam Exp $
+$NetBSD: distinfo,v 1.38 2026/02/03 10:28:58 adam Exp $
 
-BLAKE2s (alembic-1.18.1.tar.gz) = 0c7f40923e80650d388a855e57d7c9f332ba8a6a501e169277b81281c664581d
-SHA512 (alembic-1.18.1.tar.gz) = 61badced91f07e0179dd034792133557b6adcc406a478b78960cf59f0a34a409372b7f482de29b581fccc314a8cfd3e493755c716c593d40303d8099646699aa
-Size (alembic-1.18.1.tar.gz) = 2044319 bytes
+BLAKE2s (alembic-1.18.3.tar.gz) = 5bbcfef2eb3405f95a641688e2c9aad619003d602c88e6522f3ff44e9dcb51cf
+SHA512 (alembic-1.18.3.tar.gz) = 5a3430b559f97f91484ed4caea00c1ccc23bde8379bffbc2e06551a188eaf979f452bacbd019625058351254307d2d83d87a6adabd9855eeec949362ddf6309c
+Size (alembic-1.18.3.tar.gz) = 2052564 bytes



Home | Main Index | Thread Index | Old Index