Skip to content

Commit

Permalink
Merge pull request #175 from browniebroke/upgrade/django-4.2
Browse files Browse the repository at this point in the history
Add official support for Django 4.2
  • Loading branch information
ir4y authored Jun 28, 2023
2 parents b511c6d + d3c3c7c commit f8241fb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Requirements
============

- Python (3.7, 3.8, 3.9, 3.10, 3.11)
- Django (2.2, 3.0, 3.1, 3.2, 4.0, 4.1)
- Django (2.2, 3.0, 3.1, 3.2, 4.0, 4.1, 4.2)
- djangorestframework (3.8+)

Installation
Expand Down
3 changes: 2 additions & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def get_version(package):
author='beda.software',
author_email='[email protected]',
packages=['drf_writable_nested'],
package_data = {
package_data={
'drf_writable_nested': ['py.typed'],
},
include_package_data=True,
Expand All @@ -50,6 +50,7 @@ def get_version(package):
'Framework :: Django :: 3.2',
'Framework :: Django :: 4.0',
'Framework :: Django :: 4.1',
'Framework :: Django :: 4.2',
'Intended Audience :: Developers',
'License :: OSI Approved :: BSD License',
'Operating System :: OS Independent',
Expand Down
4 changes: 3 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ envlist =
py{37,38}-dj{22}-drf{38,39,310,311}-{pytest,mypy}
py{37,38}-dj{30}-drf{310,311}-{pytest,mypy}
py{37,38,39,310,311}-dj{31,32}-drf{311,312,313,314}-{pytest,mypy}
py{38,39,310,311}-dj{40,41}-drf{313,314}-{pytest,mypy}
py{38,39,310,311}-dj{40,41,42}-drf{313,314}-{pytest,mypy}
skip_missing_interpreters = true

[gh-actions]
Expand All @@ -24,6 +24,7 @@ django =
3.2: dj32
4.0: dj40
4.1: dj41
4.2: dj42

[testenv]
setenv =
Expand All @@ -36,6 +37,7 @@ deps =
dj32: Django>=3.2a1,<4.0
dj40: Django>=4.0,<4.1
dj41: Django>=4.1,<4.2
dj42: Django>=4.2,<5.0
drf38: djangorestframework>=3.8.0,<3.9
drf39: djangorestframework>=3.9.0,<3.10
drf310: djangorestframework>=3.10.0,<3.11
Expand Down

0 comments on commit f8241fb

Please sign in to comment.