Script 'mail_helper' called by obssrc
Hello community,
here is the log from the commit of package python-django-tastypie for
openSUSE:Factory checked in at 2023-09-20 13:26:43
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/python-django-tastypie (Old)
and /work/SRC/openSUSE:Factory/.python-django-tastypie.new.16627 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "python-django-tastypie"
Wed Sep 20 13:26:43 2023 rev:21 rq:1111936 version:0.14.6
Changes:
--------
---
/work/SRC/openSUSE:Factory/python-django-tastypie/python-django-tastypie.changes
2023-01-27 10:20:11.364763193 +0100
+++
/work/SRC/openSUSE:Factory/.python-django-tastypie.new.16627/python-django-tastypie.changes
2023-09-20 13:28:26.105023542 +0200
@@ -1,0 +2,10 @@
+Mon Sep 18 10:03:41 UTC 2023 - Dirk Müller <[email protected]>
+
+- update to 0.14.6:
+ * Remove unused mock library from test requirements
+ * Django 4.2 compatibility
+ * Fixed crash when missing CSRF token cookie in
+ SessionAuthentication
+ * Fix flake8, update docs, fix RTD builds
+
+-------------------------------------------------------------------
Old:
----
v0.14.5.tar.gz
New:
----
v0.14.6.tar.gz
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ python-django-tastypie.spec ++++++
--- /var/tmp/diff_new_pack.s7Agqf/_old 2023-09-20 13:28:27.453071836 +0200
+++ /var/tmp/diff_new_pack.s7Agqf/_new 2023-09-20 13:28:27.457071980 +0200
@@ -19,7 +19,7 @@
%{?!python_module:%define python_module() python-%{**} python3-%{**}}
%define skip_python2 1
Name: python-django-tastypie
-Version: 0.14.5
+Version: 0.14.6
Release: 0
Summary: A webservice API framework layer for Django
License: BSD-3-Clause
++++++ v0.14.5.tar.gz -> v0.14.6.tar.gz ++++++
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-tastypie-0.14.5/.github/workflows/python-package.yml
new/django-tastypie-0.14.6/.github/workflows/python-package.yml
--- old/django-tastypie-0.14.5/.github/workflows/python-package.yml
2023-01-24 19:12:19.000000000 +0100
+++ new/django-tastypie-0.14.6/.github/workflows/python-package.yml
2023-09-02 19:38:02.000000000 +0200
@@ -11,12 +11,12 @@
jobs:
build:
- runs-on: ubuntu-latest
+ runs-on: ubuntu-20.04 # TODO: update to ubuntu-latest when django drops
python 3.6
strategy:
fail-fast: false
matrix:
- python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
- django-version: ["2.2", "3.2", "4.0", "4.1"] # Todo: add "dev" back
+ python-version: ["3.6", "3.7", "3.8", "3.9", "3.10", "3.11"]
+ django-version: ["3.2", "4.0", "4.1", "4.2"] # Todo: add "dev" back
exclude:
- python-version: "3.6"
django-version: "4.0"
@@ -26,6 +26,10 @@
django-version: "4.1"
- python-version: "3.7"
django-version: "4.1"
+ - python-version: "3.6"
+ django-version: "4.2"
+ - python-version: "3.7"
+ django-version: "4.2"
# - python-version: "3.6"
# django-version: "dev"
# - python-version: "3.7"
@@ -38,7 +42,7 @@
sudo apt install -y binutils libproj-dev gdal-bin
libsqlite3-mod-spatialite
- name: Set up Python ${{ matrix.python-version }}
- uses: actions/setup-python@v2
+ uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Install dependencies
@@ -60,4 +64,5 @@
run: coveralls --service=github
continue-on-error: true
env:
- GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
+
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tastypie-0.14.5/.readthedocs.yaml
new/django-tastypie-0.14.6/.readthedocs.yaml
--- old/django-tastypie-0.14.5/.readthedocs.yaml 1970-01-01
01:00:00.000000000 +0100
+++ new/django-tastypie-0.14.6/.readthedocs.yaml 2023-09-02
19:38:02.000000000 +0200
@@ -0,0 +1,10 @@
+version: "2"
+
+build:
+ os: "ubuntu-22.04"
+ tools:
+ python: "3.11"
+
+python:
+ install:
+ - requirements: docs/requirements.txt
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tastypie-0.14.5/README.rst
new/django-tastypie-0.14.6/README.rst
--- old/django-tastypie-0.14.5/README.rst 2023-01-24 19:12:19.000000000
+0100
+++ new/django-tastypie-0.14.6/README.rst 2023-09-02 19:38:02.000000000
+0200
@@ -35,7 +35,7 @@
----
* Python 3.6+, preferably 3.8+ (Whatever is supported by your version of
Django)
-* Django 2.2, 3.2 (LTS releases), 4.0, or Django 4.1 (latest release)
+* Django 4.2, 3.2 (LTS releases), or Django 4.0 / 4.1 (intermediate releases)
* dateutil (http://labix.org/python-dateutil) >= 2.1
Format Support
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tastypie-0.14.5/docs/release_notes/dev.rst
new/django-tastypie-0.14.6/docs/release_notes/dev.rst
--- old/django-tastypie-0.14.5/docs/release_notes/dev.rst 2023-01-24
19:12:19.000000000 +0100
+++ new/django-tastypie-0.14.6/docs/release_notes/dev.rst 2023-09-02
19:38:02.000000000 +0200
@@ -7,9 +7,3 @@
Major changes
-------------
-remove python 2 code, including the six library, and instances of __future__.
Also moved to the unittest mock library.
-
-Bugfixes
---------
-
-* Fix for multiple related models on POST/PUT triggering a 500 (#1627 + #1628)
\ No newline at end of file
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tastypie-0.14.5/docs/release_notes/index.rst
new/django-tastypie-0.14.6/docs/release_notes/index.rst
--- old/django-tastypie-0.14.5/docs/release_notes/index.rst 2023-01-24
19:12:19.000000000 +0100
+++ new/django-tastypie-0.14.6/docs/release_notes/index.rst 2023-09-02
19:38:02.000000000 +0200
@@ -5,6 +5,7 @@
:maxdepth: 1
dev
+ v0.14.6
v0.14.5
v0.14.4
v0.14.3
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-tastypie-0.14.5/docs/release_notes/v0.14.6.rst
new/django-tastypie-0.14.6/docs/release_notes/v0.14.6.rst
--- old/django-tastypie-0.14.5/docs/release_notes/v0.14.6.rst 1970-01-01
01:00:00.000000000 +0100
+++ new/django-tastypie-0.14.6/docs/release_notes/v0.14.6.rst 2023-09-02
19:38:02.000000000 +0200
@@ -0,0 +1,7 @@
+v0.14.6
+=======
+
+:date: 2023-09-02
+
+Fix for crash under Session-based auth when CRSF token is lost.
+Added support for Django 4.2.
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tastypie-0.14.5/docs/requirements.txt
new/django-tastypie-0.14.6/docs/requirements.txt
--- old/django-tastypie-0.14.5/docs/requirements.txt 1970-01-01
01:00:00.000000000 +0100
+++ new/django-tastypie-0.14.6/docs/requirements.txt 2023-09-02
19:38:02.000000000 +0200
@@ -0,0 +1,2 @@
+sphinx~=7.1.2
+sphinx-rtd-theme==1.3.0rc1
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tastypie-0.14.5/setup.py
new/django-tastypie-0.14.6/setup.py
--- old/django-tastypie-0.14.5/setup.py 2023-01-24 19:12:19.000000000 +0100
+++ new/django-tastypie-0.14.6/setup.py 2023-09-02 19:38:02.000000000 +0200
@@ -35,13 +35,13 @@
zip_safe=False,
requires=[
'python_mimeparse(>=0.1.4, !=1.5)',
- 'dateutil(>=1.5, !=2.0)',
+ 'dateutil(>=2.1)',
],
install_requires=[
'python-mimeparse >= 0.1.4, != 1.5',
- 'python-dateutil >= 1.5, != 2.0',
+ 'python-dateutil >= 2.1',
],
- tests_require=['mock', 'PyYAML', 'lxml', 'defusedxml'],
+ tests_require=['PyYAML', 'lxml', 'defusedxml'],
classifiers=[
'Development Status :: 4 - Beta',
'Environment :: Web Environment',
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tastypie-0.14.5/tastypie/__init__.py
new/django-tastypie-0.14.6/tastypie/__init__.py
--- old/django-tastypie-0.14.5/tastypie/__init__.py 2023-01-24
19:12:19.000000000 +0100
+++ new/django-tastypie-0.14.6/tastypie/__init__.py 2023-09-02
19:38:02.000000000 +0200
@@ -1,6 +1,6 @@
__author__ = 'Daniel Lindsley & the Tastypie core team'
-VERSION = (0, 14, 5)
+VERSION = (0, 14, 6)
__short_version__ = '.'.join(map(str, VERSION[0:2]))
__version__ = ''.join(['.'.join(map(str, VERSION[0:3])), ''.join(VERSION[3:])])
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tastypie-0.14.5/tastypie/authentication.py
new/django-tastypie-0.14.6/tastypie/authentication.py
--- old/django-tastypie-0.14.5/tastypie/authentication.py 2023-01-24
19:12:19.000000000 +0100
+++ new/django-tastypie-0.14.6/tastypie/authentication.py 2023-09-02
19:38:02.000000000 +0200
@@ -312,7 +312,10 @@
return request.user.is_authenticated
csrf_token = request.COOKIES.get(settings.CSRF_COOKIE_NAME, '')
- csrf_token = check_token_format(csrf_token)
+ try:
+ csrf_token = check_token_format(csrf_token)
+ except InvalidTokenFormat:
+ return False
if request.is_secure():
referer = request.META.get('HTTP_REFERER')
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tastypie-0.14.5/tastypie/serializers.py
new/django-tastypie-0.14.6/tastypie/serializers.py
--- old/django-tastypie-0.14.5/tastypie/serializers.py 2023-01-24
19:12:19.000000000 +0100
+++ new/django-tastypie-0.14.6/tastypie/serializers.py 2023-09-02
19:38:02.000000000 +0200
@@ -10,9 +10,9 @@
from tastypie.bundle import Bundle
from tastypie.compat import force_str
-from tastypie.exceptions import BadRequest, UnsupportedSerializationFormat,\
+from tastypie.exceptions import BadRequest, UnsupportedSerializationFormat, \
UnsupportedDeserializationFormat
-from tastypie.utils import format_datetime, format_date, format_time,\
+from tastypie.utils import format_datetime, format_date, format_time, \
make_naive
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tastypie-0.14.5/tests/basic/api/urls.py
new/django-tastypie-0.14.6/tests/basic/api/urls.py
--- old/django-tastypie-0.14.5/tests/basic/api/urls.py 2023-01-24
19:12:19.000000000 +0100
+++ new/django-tastypie-0.14.6/tests/basic/api/urls.py 2023-09-02
19:38:02.000000000 +0200
@@ -1,6 +1,6 @@
from tastypie.api import Api
-from basic.api.resources import NoteResource, UserResource, BustedResource,\
- CachedUserResource, PublicCachedUserResource, PrivateCachedUserResource,\
+from basic.api.resources import NoteResource, UserResource, BustedResource, \
+ CachedUserResource, PublicCachedUserResource, PrivateCachedUserResource, \
CacheDisabledUserResource, SlugBasedNoteResource, SessionUserResource
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tastypie-0.14.5/tests/content_gfk/api/urls.py
new/django-tastypie-0.14.6/tests/content_gfk/api/urls.py
--- old/django-tastypie-0.14.5/tests/content_gfk/api/urls.py 2023-01-24
19:12:19.000000000 +0100
+++ new/django-tastypie-0.14.6/tests/content_gfk/api/urls.py 2023-09-02
19:38:02.000000000 +0200
@@ -1,5 +1,5 @@
from tastypie.api import Api
-from content_gfk.api.resources import NoteResource, QuoteResource,\
+from content_gfk.api.resources import NoteResource, QuoteResource, \
RatingResource, DefinitionResource
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-tastypie-0.14.5/tests/core/tests/authentication.py
new/django-tastypie-0.14.6/tests/core/tests/authentication.py
--- old/django-tastypie-0.14.5/tests/core/tests/authentication.py
2023-01-24 19:12:19.000000000 +0100
+++ new/django-tastypie-0.14.6/tests/core/tests/authentication.py
2023-09-02 19:38:02.000000000 +0200
@@ -471,6 +471,8 @@
self.assertEqual(session_auth.is_authenticated(request1), True)
# api key auth should fail because of invalid api key
self.assertEqual(isinstance(api_key_auth.is_authenticated(request2),
HttpUnauthorized), True)
+ # multi auth should fail because there is no valid auth
+ self.assertEqual(isinstance(auth.is_authenticated(request2),
HttpUnauthorized), True)
# multi auth shouldn't change users if api key auth fails
# multi auth passes since session auth is valid
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tastypie-0.14.5/tests/core/tests/fields.py
new/django-tastypie-0.14.6/tests/core/tests/fields.py
--- old/django-tastypie-0.14.5/tests/core/tests/fields.py 2023-01-24
19:12:19.000000000 +0100
+++ new/django-tastypie-0.14.6/tests/core/tests/fields.py 2023-09-02
19:38:02.000000000 +0200
@@ -9,8 +9,8 @@
from tastypie.bundle import Bundle
from tastypie.exceptions import ApiFieldError, NotFound
-from tastypie.fields import NOT_PROVIDED, ApiField, BooleanField, CharField,\
- DateField, DateTimeField, DecimalField, DictField, FileField, FloatField,\
+from tastypie.fields import NOT_PROVIDED, ApiField, BooleanField, CharField, \
+ DateField, DateTimeField, DecimalField, DictField, FileField, FloatField, \
IntegerField, ListField, TimeField, ToOneField, ToManyField
from tastypie.resources import ALL, ModelResource
from tastypie.utils import aware_datetime
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tastypie-0.14.5/tests/core/tests/resources.py
new/django-tastypie-0.14.6/tests/core/tests/resources.py
--- old/django-tastypie-0.14.5/tests/core/tests/resources.py 2023-01-24
19:12:19.000000000 +0100
+++ new/django-tastypie-0.14.6/tests/core/tests/resources.py 2023-09-02
19:38:02.000000000 +0200
@@ -3666,7 +3666,7 @@
request.method = 'GET'
# Patch the ``created/updated`` defaults for testability.
- with patch.object(resource.fields['created'], '_default',
new=aware_datetime(2011, 9, 24, 0, 2)),\
+ with patch.object(resource.fields['created'], '_default',
new=aware_datetime(2011, 9, 24, 0, 2)), \
patch.object(resource.fields['updated'], '_default',
new=aware_datetime(2011, 9, 24, 0, 2)):
resp = resource.get_schema(request)
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-tastypie-0.14.5/tests/related_resource/api/resources.py
new/django-tastypie-0.14.6/tests/related_resource/api/resources.py
--- old/django-tastypie-0.14.5/tests/related_resource/api/resources.py
2023-01-24 19:12:19.000000000 +0100
+++ new/django-tastypie-0.14.6/tests/related_resource/api/resources.py
2023-09-02 19:38:02.000000000 +0200
@@ -6,8 +6,8 @@
from core.models import Note, MediaBit
-from related_resource.models import Bone, Category, Contact, ContactGroup,\
- ExtraData, Person, Company, Product, Address, Dog, DogHouse, Forum,\
+from related_resource.models import Bone, Category, Contact, ContactGroup, \
+ ExtraData, Person, Company, Product, Address, Dog, DogHouse, Forum, \
Job, Label, Order, OrderItem, Payment, Post, Tag, Taggable, TaggableTag
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-tastypie-0.14.5/tests/related_resource/api/urls.py
new/django-tastypie-0.14.6/tests/related_resource/api/urls.py
--- old/django-tastypie-0.14.5/tests/related_resource/api/urls.py
2023-01-24 19:12:19.000000000 +0100
+++ new/django-tastypie-0.14.6/tests/related_resource/api/urls.py
2023-09-02 19:38:02.000000000 +0200
@@ -1,11 +1,11 @@
from tastypie.api import Api
-from related_resource.api.resources import NoteResource, UserResource,\
- CategoryResource, TagResource, TaggableTagResource, TaggableResource,\
- ExtraDataResource, FreshNoteResource, FreshMediaBitResource,\
- ForumResource, CompanyResource, ProductResource, AddressResource,\
- PersonResource, DogResource, DogHouseResource, BoneResource,\
- LabelResource, PostResource, OrderResource, OrderItemResource,\
+from related_resource.api.resources import NoteResource, UserResource, \
+ CategoryResource, TagResource, TaggableTagResource, TaggableResource, \
+ ExtraDataResource, FreshNoteResource, FreshMediaBitResource, \
+ ForumResource, CompanyResource, ProductResource, AddressResource, \
+ PersonResource, DogResource, DogHouseResource, BoneResource, \
+ LabelResource, PostResource, OrderResource, OrderItemResource, \
NoteWithUpdatableUserResource, ContactResource, ContactGroupResource
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore'
old/django-tastypie-0.14.5/tests/related_resource/tests.py
new/django-tastypie-0.14.6/tests/related_resource/tests.py
--- old/django-tastypie-0.14.5/tests/related_resource/tests.py 2023-01-24
19:12:19.000000000 +0100
+++ new/django-tastypie-0.14.6/tests/related_resource/tests.py 2023-09-02
19:38:02.000000000 +0200
@@ -17,13 +17,13 @@
from core.models import Note, MediaBit
from core.tests.mocks import MockRequest
-from related_resource.api.resources import AddressResource, CategoryResource,\
- ForumResource, FreshNoteResource, JobResource, NoteResource,\
- OrderResource, NoteWithUpdatableUserResource, PersonResource, TagResource,\
+from related_resource.api.resources import AddressResource, CategoryResource, \
+ ForumResource, FreshNoteResource, JobResource, NoteResource, \
+ OrderResource, NoteWithUpdatableUserResource, PersonResource, TagResource,
\
UserResource
from related_resource.api.urls import api
-from related_resource.models import Category, Label, Tag, Taggable,\
- TaggableTag, ExtraData, Company, Person, Dog, DogHouse, Bone, Product,\
+from related_resource.models import Category, Label, Tag, Taggable, \
+ TaggableTag, ExtraData, Company, Person, Dog, DogHouse, Bone, Product, \
Address, Job, Payment, Forum, Order, OrderItem, Contact, ContactGroup
from testcases import TestCaseWithFixture
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tastypie-0.14.5/tests/requirements.txt
new/django-tastypie-0.14.6/tests/requirements.txt
--- old/django-tastypie-0.14.5/tests/requirements.txt 2023-01-24
19:12:19.000000000 +0100
+++ new/django-tastypie-0.14.6/tests/requirements.txt 2023-09-02
19:38:02.000000000 +0200
@@ -3,6 +3,5 @@
coverage
defusedxml
lxml
-mock<1.1.0
pytz==2021.1
PyYAML
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tastypie-0.14.5/tests/validation/api/urls.py
new/django-tastypie-0.14.6/tests/validation/api/urls.py
--- old/django-tastypie-0.14.5/tests/validation/api/urls.py 2023-01-24
19:12:19.000000000 +0100
+++ new/django-tastypie-0.14.6/tests/validation/api/urls.py 2023-09-02
19:38:02.000000000 +0200
@@ -2,7 +2,7 @@
from tastypie.api import Api
-from validation.api.resources import NoteResource, UserResource,\
+from validation.api.resources import NoteResource, UserResource, \
AnnotatedNoteResource
diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn'
'--exclude=.svnignore' old/django-tastypie-0.14.5/tox.ini
new/django-tastypie-0.14.6/tox.ini
--- old/django-tastypie-0.14.5/tox.ini 2023-01-24 19:12:19.000000000 +0100
+++ new/django-tastypie-0.14.6/tox.ini 2023-09-02 19:38:02.000000000 +0200
@@ -1,10 +1,10 @@
[tox]
envlist =
- py{3.6,3.7,3.8,3.9,3.10}-dj{2.2,3.2}
- py{3.8,3.9,3.10}-dj{4.0,4.1,dev}
- py{3.6,3.7,3.8,3.9,3.10}-docs,
- py{3.6,3.7,3.8,3.9,3.10}-flake8,
- py{3.8,3.9,3.10}-flake8-strict
+ py{3.6,3.7,3.8,3.9,3.10}-dj{3.2,}
+ py{3.8,3.9,3.10,3.11}-dj{4.0,4.1,4.2,dev}
+ py{3.6,3.7,3.8,3.9,3.10,3.11}-docs,
+ py{3.6,3.7,3.8,3.9,3.10,3.11}-flake8,
+ py{3.8,3.9,3.10,3.11}-flake8-strict
skipsdist=True
@@ -14,20 +14,20 @@
PYTHONPATH = {toxinidir}:{toxinidir}/tests
PYTHONWARNINGS = always
TESTEXE = {envbindir}/coverage run --append --source=tastypie,tests
{envbindir}/django-admin.py
- dj{4.0,4.1,dev}: TESTEXE = {envbindir}/coverage run --append
--source=tastypie,tests {envbindir}/django-admin
+ dj{4.0,4.1,4.2,dev}: TESTEXE = {envbindir}/coverage run --append
--source=tastypie,tests {envbindir}/django-admin
commands =
- dj{2.2,3.2,4.0,4.1,dev}: {env:TESTEXE} test -p '*' core.tests
--settings=settings_core
- dj{2.2,3.2,4.0,4.1,dev}: {env:TESTEXE} test basic.tests
--settings=settings_basic
- dj{2.2,3.2,4.0,4.1,dev}: {env:TESTEXE} test related_resource.tests
--settings=settings_related
- dj{2.2,3.2,4.0,4.1,dev}: {env:TESTEXE} test alphanumeric.tests
--settings=settings_alphanumeric
- dj{2.2,3.2,4.0,4.1,dev}: {env:TESTEXE} test authorization.tests
--settings=settings_authorization
- dj{2.2,3.2,4.0,4.1,dev}: {env:TESTEXE} test content_gfk.tests
--settings=settings_content_gfk
- dj{2.2,3.2,4.0,4.1,dev}: {env:TESTEXE} test customuser.tests
--settings=settings_customuser
- dj{2.2,3.2,4.0,4.1,dev}: {env:TESTEXE} test namespaced.tests
--settings=settings_namespaced
- dj{2.2,3.2,4.0,4.1,dev}: {env:TESTEXE} test slashless.tests
--settings=settings_slashless
- dj{2.2,3.2,4.0,4.1,dev}: {env:TESTEXE} test validation.tests
--settings=settings_validation
- dj{2.2,3.2,4.0,4.1,dev}: {env:TESTEXE} test gis.tests
--settings=settings_gis_spatialite
+ dj{3.2,4.0,4.1,4.2,dev}: {env:TESTEXE} test -p '*' core.tests
--settings=settings_core
+ dj{3.2,4.0,4.1,4.2,dev}: {env:TESTEXE} test basic.tests
--settings=settings_basic
+ dj{3.2,4.0,4.1,4.2,dev}: {env:TESTEXE} test related_resource.tests
--settings=settings_related
+ dj{3.2,4.0,4.1,4.2,dev}: {env:TESTEXE} test alphanumeric.tests
--settings=settings_alphanumeric
+ dj{3.2,4.0,4.1,4.2,dev}: {env:TESTEXE} test authorization.tests
--settings=settings_authorization
+ dj{3.2,4.0,4.1,4.2,dev}: {env:TESTEXE} test content_gfk.tests
--settings=settings_content_gfk
+ dj{3.2,4.0,4.1,4.2,dev}: {env:TESTEXE} test customuser.tests
--settings=settings_customuser
+ dj{3.2,4.0,4.1,4.2,dev}: {env:TESTEXE} test namespaced.tests
--settings=settings_namespaced
+ dj{3.2,4.0,4.1,4.2,dev}: {env:TESTEXE} test slashless.tests
--settings=settings_slashless
+ dj{3.2,4.0,4.1,4.2,dev}: {env:TESTEXE} test validation.tests
--settings=settings_validation
+ dj{3.2,4.0,4.1,4.2,dev}: {env:TESTEXE} test gis.tests
--settings=settings_gis_spatialite
docs: sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
docs: sphinx-build -W -b doctest -d {envtmpdir}/doctrees . {envtmpdir}/html
@@ -41,21 +41,24 @@
py3.8: python3.8
py3.9: python3.9
py3.10: python3.10
+ py3.11: python3.11
deps =
- dj2.2: Django>=2.2,<2.3
dj3.2: Django>=3.2,<3.3
dj4.0: Django>=4.0,<4.1
dj4.1: Django>=4.1,<4.2
+ dj4.2: Django>=4.2,<4.3
djdev: https://github.com/django/django/archive/refs/heads/main.zip
- dj{2.2,3.2,4.0,4.1,dev}: python3-digest>=1.8b4
- dj{2.2,3.2,4.0,4.1,dev}: -r{toxinidir}/tests/requirements.txt
+ dj{3.2,4.0,4.1,4.2,dev}: python3-digest>=1.8b4
+ dj{3.2,4.0,4.1,4.2,dev}: -r{toxinidir}/tests/requirements.txt
+ dj{3.2,4.0,4.1,4.2,dev}: -r{toxinidir}/requirements.txt
- py{3.6,3.7}-docs: Django~=2.2
- py{3.8,3.9,3.10}-docs: Django<4.2
+ py{3.6,3.7}-docs: Django~=3.2
+ py{3.8,3.9,3.10,3.11}-docs: Django<4.3
docs: Sphinx
docs: mock
docs: sphinx_rtd_theme
+ docs: -r{toxinidir}/requirements.txt
{flake8,flake8-strict}: flake8
changedir =