Skip to content

Commit

Permalink
Merge pull request #700 from sdarmofal/699-python_3.11_and_django_4.2…
Browse files Browse the repository at this point in the history
…_support

Add support for Python 3.11 and Django 4.2
  • Loading branch information
benjaoming committed Mar 4, 2023
2 parents 4a9812b + 5bb9011 commit b579017
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 8 deletions.
20 changes: 20 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,8 @@ jobs:
tox_env: django40-py38
- python: '3.8'
tox_env: django41-py38
- python: '3.8'
tox_env: django42-py38
- python: '3.9'
tox_env: django22-py39
- python: '3.9'
Expand All @@ -60,6 +62,8 @@ jobs:
tox_env: django40-py39
- python: '3.9'
tox_env: django41-py39
- python: '3.9'
tox_env: django42-py39
- python: '3.10'
tox_env: django22-py310
- python: '3.10'
Expand All @@ -68,10 +72,26 @@ jobs:
tox_env: django40-py310
- python: '3.10'
tox_env: django41-py310
- python: '3.10'
tox_env: django42-py310
- python: '3.10'
tox_env: django_main-py310
- python: '3.10'
tox_env: no_rest_framework
- python: '3.11'
tox_env: django_main-py311
- python: '3.11'
tox_env: django42-py311
- python: '3.11'
tox_env: django41-py311
- python: '3.11'
tox_env: django40-py311
- python: '3.11'
tox_env: django32-py311
- python: '3.11'
tox_env: django22-py311
- python: '3.11'
tox_env: no_rest_framework
name: ${{ matrix.tox_env }}
runs-on: ubuntu-latest
steps:
Expand Down
6 changes: 3 additions & 3 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@ django-money
A little Django app that uses `py-moneyed <https://github.com/py-moneyed/py-moneyed>`__ to add support for Money
fields in your models and forms.

* Django versions supported: 2.2, 3.2, 4.0, 4.1
* Python versions supported: 3.7, 3.8, 3.9, 3.10
* PyPy versions supported: PyPy3
* Django versions supported: 2.2, 3.2, 4.0, 4.1, 4.2
* Python versions supported: 3.7, 3.8, 3.9, 3.10, 3.11
* PyPy versions supported: PyPy3 (for Django <= 4.0)

If you need support for older versions of Django and Python, please refer to older releases mentioned in `the release notes <https://django-money.readthedocs.io/en/latest/changes.html>`__.

Expand Down
16 changes: 11 additions & 5 deletions tox.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
[tox]
envlist =
django_main-py{310}
django41-py{310,39,38,py3}
django40-py{310,39,38,py3}
django32-py{310,39,38,37,py3}
django22-py{310,39,38,37,py3}
django_main-py{311,310}
django42-py{311,310,39,38}
django41-py{311,310,39,38,py3}
django40-py{311,310,39,38,py3}
django32-py{311,310,39,38,37,py3}
django22-py{311,310,39,38,37,py3}
lint
docs
skipsdist = true
Expand All @@ -20,6 +21,7 @@ deps =
django32: {[django]32}
django40: {[django]40}
django41: {[django]41}
django42: {[django]42}
django_main: {[django]main}
commands = py.test --ds=tests.settings_reversion --cov=./djmoney {posargs}
usedevelop = false
Expand Down Expand Up @@ -50,6 +52,10 @@ commands =
Django>=4.1a1,<4.2
django-reversion>=4.0.0
djangorestframework>=3.13.0
42 =
Django>=4.2a1,<4.3
django-reversion>=4.0.0
djangorestframework>=3.13.0
main =
https://github.com/django/django/tarball/main
django-reversion>=4.0.0
Expand Down

0 comments on commit b579017

Please sign in to comment.