pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/py-tortoise-orm



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Feb 17 13:15:10 UTC 2026

Modified Files:
        pkgsrc/databases/py-tortoise-orm: Makefile distinfo

Log Message:
py-tortoise-orm: updated to 1.1.4

1.1.4

Added

CheckConstraint support in Meta.constraints — named check constraints are now captured by the migration autodetector, enabling AddConstraint/RemoveConstraint/RenameConstraint generation via 
makemigrations.
UniqueConstraint.condition parameter for partial unique indexes on PostgreSQL (emitted as CREATE UNIQUE INDEX ... WHERE).

Fixed

FK field-to-column resolution in constraint operations — FK fields like organization are now correctly resolved to their DB column (e.g. organization_id) in add_constraint, remove_constraint, and 
rename_constraint across all backends.
MSSQL HASHBYTES expression default — RandomHex now wraps NEWID() with CAST(... AS NVARCHAR(36)) to avoid implicit conversion error.
MySQL ALTER COLUMN SET DEFAULT template now wraps expression defaults in parentheses.
RenameConstraint operation now preserves constraint type and fields during forward/backward migrations.
MySQL schema editor: FK index protection (_create_missing_fk_index) prevents MySQL error 1553 when dropping the only index covering a foreign key column.
MySQL schema editor: expression default two-step workaround for ADD COLUMN with non-deterministic SqlDefault expressions (e.g. RANDOM_BYTES).
Multi-column constraint introspection — constraint name resolution now matches on the exact set of columns across all backends (PostgreSQL, MySQL, MSSQL, SQLite, Oracle).
Tortoise.close_connections() now propagates call to current context.


To generate a diff of this commit:
cvs rdiff -u -r1.44 -r1.45 pkgsrc/databases/py-tortoise-orm/Makefile
cvs rdiff -u -r1.35 -r1.36 pkgsrc/databases/py-tortoise-orm/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-tortoise-orm/Makefile
diff -u pkgsrc/databases/py-tortoise-orm/Makefile:1.44 pkgsrc/databases/py-tortoise-orm/Makefile:1.45
--- pkgsrc/databases/py-tortoise-orm/Makefile:1.44      Mon Feb 16 18:09:02 2026
+++ pkgsrc/databases/py-tortoise-orm/Makefile   Tue Feb 17 13:15:10 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.44 2026/02/16 18:09:02 adam Exp $
+# $NetBSD: Makefile,v 1.45 2026/02/17 13:15:10 adam Exp $
 
-DISTNAME=      tortoise_orm-1.1.3
+DISTNAME=      tortoise_orm-1.1.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/tortoise-orm/}

Index: pkgsrc/databases/py-tortoise-orm/distinfo
diff -u pkgsrc/databases/py-tortoise-orm/distinfo:1.35 pkgsrc/databases/py-tortoise-orm/distinfo:1.36
--- pkgsrc/databases/py-tortoise-orm/distinfo:1.35      Mon Feb 16 18:09:02 2026
+++ pkgsrc/databases/py-tortoise-orm/distinfo   Tue Feb 17 13:15:10 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.35 2026/02/16 18:09:02 adam Exp $
+$NetBSD: distinfo,v 1.36 2026/02/17 13:15:10 adam Exp $
 
-BLAKE2s (tortoise_orm-1.1.3.tar.gz) = 48a526b6ad904a2540fd38b91ebc9ac6407248a1d26b8c7ef20c7ee4b4429861
-SHA512 (tortoise_orm-1.1.3.tar.gz) = 3a126d9a665e3552983f77fb6b34caa000f4d447c3340a136529a4ab11a147f2d7c3580f9422f3bbebadf00103cf06a73925fdd644a25091656e104b89a71040
-Size (tortoise_orm-1.1.3.tar.gz) = 364073 bytes
+BLAKE2s (tortoise_orm-1.1.4.tar.gz) = 8054d8cb0de167dc5870e57977c40401162e11edc1749ddbaef9314fc1be38f2
+SHA512 (tortoise_orm-1.1.4.tar.gz) = 52101bd42d51cbe8e65c3e7a2545207b2da93e5fc969933f71b3c970df40d039c275dadff9ead2d5525a763b503cdaddde3ee21f80a7db8b27a3b7c97d4b2f3f
+Size (tortoise_orm-1.1.4.tar.gz) = 375661 bytes



Home | Main Index | Thread Index | Old Index