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 Aug 11 05:40:27 UTC 2026

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

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

1.1.8

Added

QuerySet.union() — SQL UNION query support for combining results from multiple QuerySets, including support for union across different models, union(all=True) for duplicates, order_by(), limit(), and 
count().
feat: add postgresql:// scheme as alias for asyncpg
feat: add pre commit config and fix codespell issues
feat: django compatibility field name
feat: expose classmethod to build tortoise config
QuerySet.contains() method to check if an object exists in a queryset.
Added comprehensive EXPLAIN support for MySQL and PostgreSQL.
Built-in DomainNameValidator, URLValidator, and EmailValidator classes for common validation patterns.

Fixed

MigrationRecorder now uses parameterized queries; fixes MariaDB/MySQL rejecting ISO-8601 applied_at values.
fix(migrations): use parameterized queries in MigrationRecorder
Applies model generics on relational fields functions
fix: MSSQL connection left in busy state after insert
db_default on ForeignKeyField/OneToOneField now propagates to the underlying <fk>_id column, so CREATE TABLE emits the DEFAULT clause for FK columns.
Fix db_default on FK/O2O dropped during _init_relations
MigrationRecorder no longer emits tortoise's own pk field DeprecationWarning when applying migrations; it now builds its bookkeeping model with primary_key=True.
QuerySet.count() now matches the limited query result for the LIMIT/OFFSET edge cases: it returns 0 (instead of a negative number) when offset() exceeds the total row count, and 0 (instead of the 
total) for limit(0).
tests: cover Q inequality and unhashable behavior
Field declarations on models now resolve to their concrete type (e.g. CharField[str]) in Pyright/Pylance instead of Field[Unknown]; the Field.__new__ type-check stub now returns Self.
Type hint for TransactionContext now returns a TransactionalDBClient instead of a raw database connection. This change gives the correct inferred type for the transaction context.
Fix TSVectorField returned value conversion.


To generate a diff of this commit:
cvs rdiff -u -r1.49 -r1.50 pkgsrc/databases/py-tortoise-orm/Makefile
cvs rdiff -u -r1.39 -r1.40 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.49 pkgsrc/databases/py-tortoise-orm/Makefile:1.50
--- pkgsrc/databases/py-tortoise-orm/Makefile:1.49      Sun Jun 28 15:41:12 2026
+++ pkgsrc/databases/py-tortoise-orm/Makefile   Tue Aug 11 05:40:26 2026
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.49 2026/06/28 15:41:12 wiz Exp $
+# $NetBSD: Makefile,v 1.50 2026/08/11 05:40:26 adam Exp $
 
-DISTNAME=      tortoise_orm-1.1.7
+DISTNAME=      tortoise_orm-1.1.8
 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.39 pkgsrc/databases/py-tortoise-orm/distinfo:1.40
--- pkgsrc/databases/py-tortoise-orm/distinfo:1.39      Fri Mar 27 10:22:07 2026
+++ pkgsrc/databases/py-tortoise-orm/distinfo   Tue Aug 11 05:40:26 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.39 2026/03/27 10:22:07 adam Exp $
+$NetBSD: distinfo,v 1.40 2026/08/11 05:40:26 adam Exp $
 
-BLAKE2s (tortoise_orm-1.1.7.tar.gz) = ceec6d8ab29c08e215f870d454260c6f03ba21d67c84d8ba712182b1939c904d
-SHA512 (tortoise_orm-1.1.7.tar.gz) = 992688ee0323b47e90c41f485e73a8399e1e91bbefd155e8d17b1e313983174c8ce409d50dddcf43e1755f96d7f0826d5b62b322e540148a0c8aab40c93661d9
-Size (tortoise_orm-1.1.7.tar.gz) = 387489 bytes
+BLAKE2s (tortoise_orm-1.1.8.tar.gz) = 8119b4c485dc7246efe3cdd5233333fe58a126da7147fce1269d096505eb1d0c
+SHA512 (tortoise_orm-1.1.8.tar.gz) = f8d23ef8c4768286b5800156ea9594a44498ffc67211a7da107a6a4eb4918d604d9217559b85f83aadd954846d0efbeaf243274900f396790409d4d06817ffc0
+Size (tortoise_orm-1.1.8.tar.gz) = 398141 bytes



Home | Main Index | Thread Index | Old Index