pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-test-django



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Apr 15 04:52:02 UTC 2025

Modified Files:
        pkgsrc/www/py-test-django: Makefile PLIST distinfo

Log Message:
py-test-django: updated to 4.11.1

v4.11.1 (2025-04-03)

Bugfixes

* Fixed a regression in v4.11.0 for Django ``TestCase`` tests using the ``databases`` class variable

v4.11.0 (2025-04-01)

Compatibility

* Added official support for Django 5.2
* Dropped testing on MySQL’s MyISAM storage engine

Bugfixes

* Stopped setting up and serializing databases on test session setup when not needed (the database is not requested / ``serialized_rollback`` is not used).
  On test databases with large amounts of pre-seeded data, this may remove a delay of a few seconds when running ``pytest --reuse-db``.

  The determination of which databases to setup is done by static inspection of the test suite.
  Using pytest's dynamic features to request db access, such as :meth:`request.getfixturevalue("db") <pytest.FixtureRequest.getfixturevalue>`, may throw off this analysis.
  If you start seeing ``DatabaseOperationForbidden`` or "unable to open database" errors, this is likely the cause.
  To fix this, decorate at least one test with the :func:`django_db <pytest.mark.django_db>` marker with appropriate ``databases`` and ``serialized_rollback`` settings.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/www/py-test-django/Makefile
cvs rdiff -u -r1.6 -r1.7 pkgsrc/www/py-test-django/PLIST
cvs rdiff -u -r1.28 -r1.29 pkgsrc/www/py-test-django/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/www/py-test-django/Makefile
diff -u pkgsrc/www/py-test-django/Makefile:1.30 pkgsrc/www/py-test-django/Makefile:1.31
--- pkgsrc/www/py-test-django/Makefile:1.30     Mon Feb 10 16:29:37 2025
+++ pkgsrc/www/py-test-django/Makefile  Tue Apr 15 04:52:02 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.30 2025/02/10 16:29:37 adam Exp $
+# $NetBSD: Makefile,v 1.31 2025/04/15 04:52:02 adam Exp $
 
-DISTNAME=      pytest_django-4.10.0
+DISTNAME=      pytest_django-4.11.1
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME:S/^py//:S/_/-/}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=p/pytest-django/}
@@ -10,7 +10,7 @@ HOMEPAGE=     https://pytest-django.readthed
 COMMENT=       Django plugin for pytest
 LICENSE=       modified-bsd
 
-TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=61.0.0:../../devel/py-setuptools
+TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools>=78:../../devel/py-setuptools
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools_scm>=5.0.0:../../devel/py-setuptools_scm
 DEPENDS+=      ${PYPKGPREFIX}-test>=7.0.0:../../devel/py-test
 

Index: pkgsrc/www/py-test-django/PLIST
diff -u pkgsrc/www/py-test-django/PLIST:1.6 pkgsrc/www/py-test-django/PLIST:1.7
--- pkgsrc/www/py-test-django/PLIST:1.6 Fri Nov  3 08:21:59 2023
+++ pkgsrc/www/py-test-django/PLIST     Tue Apr 15 04:52:02 2025
@@ -1,10 +1,10 @@
-@comment $NetBSD: PLIST,v 1.6 2023/11/03 08:21:59 adam Exp $
-${PYSITELIB}/${WHEEL_INFODIR}/AUTHORS
-${PYSITELIB}/${WHEEL_INFODIR}/LICENSE
+@comment $NetBSD: PLIST,v 1.7 2025/04/15 04:52:02 adam Exp $
 ${PYSITELIB}/${WHEEL_INFODIR}/METADATA
 ${PYSITELIB}/${WHEEL_INFODIR}/RECORD
 ${PYSITELIB}/${WHEEL_INFODIR}/WHEEL
 ${PYSITELIB}/${WHEEL_INFODIR}/entry_points.txt
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/AUTHORS
+${PYSITELIB}/${WHEEL_INFODIR}/licenses/LICENSE
 ${PYSITELIB}/${WHEEL_INFODIR}/top_level.txt
 ${PYSITELIB}/pytest_django/__init__.py
 ${PYSITELIB}/pytest_django/__init__.pyc
@@ -31,3 +31,6 @@ ${PYSITELIB}/pytest_django/plugin.py
 ${PYSITELIB}/pytest_django/plugin.pyc
 ${PYSITELIB}/pytest_django/plugin.pyo
 ${PYSITELIB}/pytest_django/py.typed
+${PYSITELIB}/pytest_django/runner.py
+${PYSITELIB}/pytest_django/runner.pyc
+${PYSITELIB}/pytest_django/runner.pyo

Index: pkgsrc/www/py-test-django/distinfo
diff -u pkgsrc/www/py-test-django/distinfo:1.28 pkgsrc/www/py-test-django/distinfo:1.29
--- pkgsrc/www/py-test-django/distinfo:1.28     Mon Feb 10 16:29:37 2025
+++ pkgsrc/www/py-test-django/distinfo  Tue Apr 15 04:52:02 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.28 2025/02/10 16:29:37 adam Exp $
+$NetBSD: distinfo,v 1.29 2025/04/15 04:52:02 adam Exp $
 
-BLAKE2s (pytest_django-4.10.0.tar.gz) = 9d7105cbcc3ec0a8315de607b3629c6f009c1308271c2897cd0fe88882dca61a
-SHA512 (pytest_django-4.10.0.tar.gz) = 1c19bf93c65a34ee8b37601031b5ce986f022215fbdfda5e337abfe22f65cb40adf4bf228913810fa59005d7048936b743c1ca6885d52c241e87eaaea4bbc3d0
-Size (pytest_django-4.10.0.tar.gz) = 84710 bytes
+BLAKE2s (pytest_django-4.11.1.tar.gz) = 468d0fa2d78ff7ea24a98fa4c1a376bda039e19f01fe52890b287ffc7f6d3f1a
+SHA512 (pytest_django-4.11.1.tar.gz) = e91cc27aee749a1afed7557a0205c5907c6e43089b889f95550b5e8b85ddb7d9d07a414fb785411d6ce8f1148bda82a092b49ac685b6908ed2ef5762edfdf891
+Size (pytest_django-4.11.1.tar.gz) = 86202 bytes



Home | Main Index | Thread Index | Old Index