pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/py-djangorestframework



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Mar 30 15:08:13 UTC 2025

Modified Files:
        pkgsrc/www/py-djangorestframework: Makefile distinfo

Log Message:
py-djangorestframework: updated to 3.16.0

3.16.0

This release is considered a significant release to improve upstream support with Django and Python. Some of these may change the behaviour of existing features and pre-existing behaviour. 
Specifically, some fixes were added to around the support of UniqueConstraint with nullable fields which will improve built-in serializer validation.

Features

Add official support for Django 5.1 and its new LoginRequiredMiddleware
Add official Django 5.2a1 support
Add support for Python 3.13
Support Django 2.1+ test client JSON data automatically serialized

Bug fixes

Fix unique together validator to respect condition's fields from UniqueConstraint
Fix raising on nullable fields part of UniqueConstraint
Fix unique_together validation with source
Added protections to AttributeError raised within properties
Fix get_template_context to handle also lists
Fix "Converter is already registered" deprecation warning.
Fix noisy warning and accept integers as min/max values of DecimalField
Fix usages of open() in setup.py

Translations

Add some missing Chinese translations
Fix spelling mistakes in Farsi language were corrected
Fixing and adding missing Brazilian Portuguese translations

Removals

Remove support for Python 3.8
Remove long deprecated code from request wrapper
Remove deprecated AutoSchema._get_reference method

Documentation and internal changes

Provide tests for hashing of OperandHolder
Update documentation: Add adrf third party package
Update tutorials links in Community contributions docs
Fix usage of deprecated Django function in example from docs
Move path converter docs into a separate section
Add test covering update view without queryset attribute
Fix Transifex link
Fix example httpie call in docs
Fix example for serializer field with choices in docs
Remove extra <> in validators example
Update strftime link in the docs
Switch to codecov GHA
Add note regarding availability of the action attribute in 'Introspecting ViewSet actions' docs section
Improved description of allowed throttling rates in documentation
Add rest-framework-gm2m-relations package to the list of 3rd party libraries
Fix a number of typos in the test suite in the docs
Add django-pyoidc as a third party authentication library


To generate a diff of this commit:
cvs rdiff -u -r1.42 -r1.43 pkgsrc/www/py-djangorestframework/Makefile
cvs rdiff -u -r1.30 -r1.31 pkgsrc/www/py-djangorestframework/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-djangorestframework/Makefile
diff -u pkgsrc/www/py-djangorestframework/Makefile:1.42 pkgsrc/www/py-djangorestframework/Makefile:1.43
--- pkgsrc/www/py-djangorestframework/Makefile:1.42     Fri Mar  7 16:02:50 2025
+++ pkgsrc/www/py-djangorestframework/Makefile  Sun Mar 30 15:08:13 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.42 2025/03/07 16:02:50 adam Exp $
+# $NetBSD: Makefile,v 1.43 2025/03/30 15:08:13 adam Exp $
 
-DISTNAME=      djangorestframework-3.15.2
+DISTNAME=      djangorestframework-3.16.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
 CATEGORIES=    www python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=d/djangorestframework/}
@@ -11,14 +11,9 @@ COMMENT=     Lightweight REST framework for 
 LICENSE=       modified-bsd
 
 TOOL_DEPENDS+= ${PYPKGPREFIX}-setuptools-[0-9]*:../../devel/py-setuptools
-DEPENDS+=      ${PYPKGPREFIX}-django>=3:../../www/py-django
+DEPENDS+=      ${PYPKGPREFIX}-django>=4.2:../../www/py-django
 
 USE_LANGUAGES= # none
 
-PYTHON_VERSIONS_INCOMPATIBLE=  27
-
-post-extract:
-       ${RM} -r ${WRKSRC}/tutorial
-
 .include "../../lang/python/wheel.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/www/py-djangorestframework/distinfo
diff -u pkgsrc/www/py-djangorestframework/distinfo:1.30 pkgsrc/www/py-djangorestframework/distinfo:1.31
--- pkgsrc/www/py-djangorestframework/distinfo:1.30     Wed Jun 19 15:22:13 2024
+++ pkgsrc/www/py-djangorestframework/distinfo  Sun Mar 30 15:08:13 2025
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.30 2024/06/19 15:22:13 adam Exp $
+$NetBSD: distinfo,v 1.31 2025/03/30 15:08:13 adam Exp $
 
-BLAKE2s (djangorestframework-3.15.2.tar.gz) = a3edd4a1e244a66b22c1fe2fe94829ae6ef3e8496a9957c3fd1000492841ee78
-SHA512 (djangorestframework-3.15.2.tar.gz) = fb724f9c19f5398203ec4c1eee69b29e90397fcdce73c32a38960c47059026c9f566d1bd7ee695f5f630d3bcdb682ea72c7846ee122b3abe413050f4aca203fc
-Size (djangorestframework-3.15.2.tar.gz) = 1067420 bytes
+BLAKE2s (djangorestframework-3.16.0.tar.gz) = 9e7535a810f6a824e42cfcfd7b52f24770076077c528fa887ed72c287cbf948a
+SHA512 (djangorestframework-3.16.0.tar.gz) = 243e0a09a71e20838bd97b11aeca53d92fc14e9800d61d161fd0ec772952dd510a8d8f8806665b30122c37492c9b9c34c025a90e8713192a631e5247deaa9682
+Size (djangorestframework-3.16.0.tar.gz) = 1068408 bytes



Home | Main Index | Thread Index | Old Index