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:           Mon Jun 29 05:27:02 UTC 2026

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

Log Message:
py-alembic: updated to 1.18.5

1.18.5

usecase

[usecase] [commands]
Added --splice support to the merge() command. Previously, the merge command would suggest using --splice when attempting to merge non-head revisions, but the flag was not actually accepted by the 
command. The splice parameter is now available in both the command-line interface and the command.merge() function, matching the existing support in command.revision(). Pull request courtesy Kadir 
Can Ozden.

[usecase] [environment]
Added ScriptDirectory.get_heads.consider_depends_on parameter to ScriptDirectory.get_heads(). When set to True, head revisions that are also a dependency of another revision via depends_on are 
excluded from the result, matching the effective heads that would be present in the alembic_version table after running all upgrades.

bug

[bug] [autogenerate]
Fixed rendering of dialect keyword arguments containing Column objects within sequences, such as postgresql_include. These were previously rendered using repr(), producing invalid Python in the 
generated migration scripts. Column objects within list or tuple values are now correctly rendered as their string column names. Pull request courtesy Ajay Singh.

[bug] [mysql]
Implemented type comparison for ENUM datatypes on MySQL, which checks that the individual enum values are equivalent. If additional entries are on either side, this generates a diff. Changes of order 
do not generate a diff. Pull request courtesy Furkan Köykıran.

[bug] [operations]
Fixed bug where the inline_references parameter of Operations.add_column() did not include foreign key referential actions such as ON DELETE, ON UPDATE, DEFERRABLE, INITIALLY, and MATCH when 
rendering the inline REFERENCES clause.


To generate a diff of this commit:
cvs rdiff -u -r1.50 -r1.51 pkgsrc/databases/py-alembic/Makefile
cvs rdiff -u -r1.39 -r1.40 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.50 pkgsrc/databases/py-alembic/Makefile:1.51
--- pkgsrc/databases/py-alembic/Makefile:1.50   Sun Jun 28 15:41:11 2026
+++ pkgsrc/databases/py-alembic/Makefile        Mon Jun 29 05:27:02 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.50 2026/06/28 15:41:11 wiz Exp $
+# $NetBSD: Makefile,v 1.51 2026/06/29 05:27:02 adam Exp $
 
-DISTNAME=      alembic-1.18.4
+DISTNAME=      alembic-1.18.5
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=a/alembic/}
@@ -12,16 +12,14 @@ LICENSE=    mit
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
 DEPENDS+=      ${PYPKGPREFIX}-mako-[0-9]*:../../devel/py-mako
-DEPENDS+=      ${PYPKGPREFIX}-sqlalchemy>=1.4.0:../../databases/py-sqlalchemy
+DEPENDS+=      ${PYPKGPREFIX}-sqlalchemy>=1.4.23:../../databases/py-sqlalchemy
 DEPENDS+=      ${PYPKGPREFIX}-typing-extensions>=4.12:../../devel/py-typing-extensions
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  310 311
+PY_RENAME_BINARIES=    alembic
 
-post-install:
-       cd ${DESTDIR}${PREFIX}/bin && \
-       ${MV} alembic alembic-${PYVERSSUFFIX} || ${TRUE}
+PYTHON_VERSIONS_INCOMPATIBLE=  310 311
 
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/databases/py-alembic/distinfo
diff -u pkgsrc/databases/py-alembic/distinfo:1.39 pkgsrc/databases/py-alembic/distinfo:1.40
--- pkgsrc/databases/py-alembic/distinfo:1.39   Wed Feb 11 13:34:24 2026
+++ pkgsrc/databases/py-alembic/distinfo        Mon Jun 29 05:27:02 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.39 2026/02/11 13:34:24 adam Exp $
+$NetBSD: distinfo,v 1.40 2026/06/29 05:27:02 adam Exp $
 
-BLAKE2s (alembic-1.18.4.tar.gz) = 9996419918db4542ae078426789f1d70d6bdfed7f4ee2eb7f466f089a9ece006
-SHA512 (alembic-1.18.4.tar.gz) = ae38b0551858573b6b602b56537a518c7169d4fadef7b11d8112b2427402b745ea5e3cd4387c2b49fec8158cf505de7206919caa10d73445446bb53e264fd448
-Size (alembic-1.18.4.tar.gz) = 2056725 bytes
+BLAKE2s (alembic-1.18.5.tar.gz) = cf20e615a8808040a450ed0628f54c64872072106b387d3c427b1aab6ba278e1
+SHA512 (alembic-1.18.5.tar.gz) = 41d9675e2c99d339e2aa92e670acc0d562ab6a23d2006f2180478fa912ede643be959ca89713678adffe37deb20118a0d67ea7c023b2dea15d3acb5be18721fc
+Size (alembic-1.18.5.tar.gz) = 2060480 bytes



Home | Main Index | Thread Index | Old Index