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:           Mon Oct 14 14:06:45 UTC 2024

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

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

0.21.7

Fixed
- Fix unittest error with pydantic2.9
- Fix bug when using annotate and count at the same time but the annotation does not match anything, leading to an IndexError
- Added missing field_type for TimeDeltaField
- improve jsonfield type hint
- Fix bug in tortoise.models.Model When a QuerySet uses the only function and then uses the print function to print the returned result, an AttributeError is generated
- Update the pylint plugin to latest astroid version

Added
- Add POSIX Regex support for PostgreSQL and MySQL
- support app=None for tortoise.contrib.fastapi.RegisterTortoise


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/databases/py-tortoise-orm/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/databases/py-tortoise-orm/PLIST
cvs rdiff -u -r1.20 -r1.21 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.25 pkgsrc/databases/py-tortoise-orm/Makefile:1.26
--- pkgsrc/databases/py-tortoise-orm/Makefile:1.25      Sun Aug 18 20:36:30 2024
+++ pkgsrc/databases/py-tortoise-orm/Makefile   Mon Oct 14 14:06:45 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.25 2024/08/18 20:36:30 adam Exp $
+# $NetBSD: Makefile,v 1.26 2024/10/14 14:06:45 adam Exp $
 
-DISTNAME=      tortoise_orm-0.21.6
+DISTNAME=      tortoise_orm-0.21.7
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/_/-/}
 CATEGORIES=    databases python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=t/tortoise-orm/}
@@ -12,8 +12,8 @@ LICENSE=      apache-2.0
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-poetry-core>=0:../../devel/py-poetry-core
 DEPENDS+=      ${PYPKGPREFIX}-aiosqlite>=0.16.0:../../databases/py-aiosqlite
-DEPENDS+=      ${PYPKGPREFIX}-iso8601>=1.0.2:../../time/py-iso8601
-DEPENDS+=      ${PYPKGPREFIX}-pypika-tortoise>=0.1.6:../../databases/py-pypika-tortoise
+DEPENDS+=      ${PYPKGPREFIX}-iso8601>=2.1.0:../../time/py-iso8601
+DEPENDS+=      ${PYPKGPREFIX}-pypika-tortoise>=0.2.1:../../databases/py-pypika-tortoise
 DEPENDS+=      ${PYPKGPREFIX}-pytz>=2020.4:../../time/py-pytz
 # accel
 DEPENDS+=      ${PYPKGPREFIX}-ciso8601>=2.1.2:../../time/py-ciso8601
@@ -22,7 +22,5 @@ DEPENDS+=     ${PYPKGPREFIX}-uvloop>=0.14.0:
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/databases/py-tortoise-orm/PLIST
diff -u pkgsrc/databases/py-tortoise-orm/PLIST:1.6 pkgsrc/databases/py-tortoise-orm/PLIST:1.7
--- pkgsrc/databases/py-tortoise-orm/PLIST:1.6  Thu Nov 23 07:58:34 2023
+++ pkgsrc/databases/py-tortoise-orm/PLIST      Mon Oct 14 14:06:45 2024
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.6 2023/11/23 07:58:34 adam Exp $
+@comment $NetBSD: PLIST,v 1.7 2024/10/14 14:06:45 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/LICENSE.txt
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
@@ -167,6 +167,9 @@ ${PYSITELIB}/tortoise/contrib/postgres/i
 ${PYSITELIB}/tortoise/contrib/postgres/json_functions.py
 ${PYSITELIB}/tortoise/contrib/postgres/json_functions.pyc
 ${PYSITELIB}/tortoise/contrib/postgres/json_functions.pyo
+${PYSITELIB}/tortoise/contrib/postgres/regex.py
+${PYSITELIB}/tortoise/contrib/postgres/regex.pyc
+${PYSITELIB}/tortoise/contrib/postgres/regex.pyo
 ${PYSITELIB}/tortoise/contrib/postgres/search.py
 ${PYSITELIB}/tortoise/contrib/postgres/search.pyc
 ${PYSITELIB}/tortoise/contrib/postgres/search.pyo

Index: pkgsrc/databases/py-tortoise-orm/distinfo
diff -u pkgsrc/databases/py-tortoise-orm/distinfo:1.20 pkgsrc/databases/py-tortoise-orm/distinfo:1.21
--- pkgsrc/databases/py-tortoise-orm/distinfo:1.20      Sun Aug 18 20:36:30 2024
+++ pkgsrc/databases/py-tortoise-orm/distinfo   Mon Oct 14 14:06:45 2024
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.20 2024/08/18 20:36:30 adam Exp $
+$NetBSD: distinfo,v 1.21 2024/10/14 14:06:45 adam Exp $
 
-BLAKE2s (tortoise_orm-0.21.6.tar.gz) = ccdd58ea763c2e38df628a740a2769dd179df8ee39a110bc5b2e80837d8473fd
-SHA512 (tortoise_orm-0.21.6.tar.gz) = be68fcb00612f78458845630c1ab7baa0db18e61c302c714f175252fb2265825916fb105f2610d2bbc8df9a958ce0b8c15bced0bf7e6d70db82b687cc29d3497
-Size (tortoise_orm-0.21.6.tar.gz) = 137897 bytes
+BLAKE2s (tortoise_orm-0.21.7.tar.gz) = a8fc797a7e5f521daa22ee14a3047cbb98fc66a151d3269361b46210ed5e3885
+SHA512 (tortoise_orm-0.21.7.tar.gz) = 453f28d1b4fca872e63883472768e7d4dc1d4a286c8250902181e02d58d962779925ea7de2ed3f68e92b8c023dd75f1b932900e3357678b943eb8a5ed0cbbb7c
+Size (tortoise_orm-0.21.7.tar.gz) = 138689 bytes



Home | Main Index | Thread Index | Old Index