From 8d91136d567f6631fa4d032f4b2022537fdd08fe Mon Sep 17 00:00:00 2001 From: Marco Bonetti Date: Wed, 18 May 2022 10:56:39 +0200 Subject: [PATCH] Test against Django 4.1a --- .github/workflows/test.yml | 2 +- CHANGES | 2 ++ README.rst | 2 +- tox.ini | 19 ++++++------------- 4 files changed, 10 insertions(+), 15 deletions(-) diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 97b848b..8239350 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -9,7 +9,7 @@ jobs: strategy: max-parallel: 4 matrix: - python-version: [3.6, 3.7, 3.8, 3.9, "3.10"] + python-version: [3.8, 3.9, "3.10"] steps: - uses: actions/checkout@v1 diff --git a/CHANGES b/CHANGES index ff786e4..a7a872b 100644 --- a/CHANGES +++ b/CHANGES @@ -5,6 +5,8 @@ Version 0.9.9 (unreleased) -------------------------- * Test test_47_azure_ajax_translation: avoid DNS lookup for better isolation. Should fix #233 * Adds Chinese (Simplified) translation. (#266 thanks @chenluyong) +* Test against Django 4.1a +* Limit supported versions to Django 3.2 and later, using Python 3.8, 3.9 and 3.10 Version 0.9.8 diff --git a/README.rst b/README.rst index 958f58f..0204e96 100644 --- a/README.rst +++ b/README.rst @@ -16,7 +16,7 @@ Rosetta is a `Django `_ application that facilita Because it doesn't export any models, Rosetta doesn't create any tables in your project's database. Rosetta can be installed and uninstalled by simply adding and removing a single entry in your project's `INSTALLED_APPS` and a single line in your main ``urls.py`` file. -Note: as of version 0.9.0, django-rosetta requires Django 1.11 or later, as of version 0.9.6, django-rosetta requires Django 2.2 or later +Note: as of version 0.9.0, django-rosetta requires Django 1.11 or later, as of version 0.9.6, django-rosetta requires Django 2.2 or later, and as of version 0.9.9 django-rosetta supports Django 3.2 or later. ******** Features diff --git a/tox.ini b/tox.ini index f852f1e..5545feb 100644 --- a/tox.ini +++ b/tox.ini @@ -1,20 +1,16 @@ [tox] envlist = flake8, - py{36,37,38,39}-django{22,30,31,32}, - py{38,39}-django40, - py310-django{32,40}, + py{38,39,310}-django{32,40,41}, gettext, docs [gh-actions] python = - 3.10: py310-django32, py310-django40 - 3.9: py39-django22, py39-django30, py39-django31, py39-django32, py39-django40 - 3.8: py38-django22, py38-django30, py38-django31, py38-django32, py38-django40 - 3.7: py37-django22, py37-django30, py37-django31, py37-django32, flake8 - 3.6: py36-django22, py36-django30, py36-django31, py36-django32, gettext, docs + 3.10: py310-django32, py310-django40, py310-django41 + 3.9: py39-django32, py39-django40, py39-django41 + 3.8: py38-django32, py38-django40, py38-django41 skipsdist = True @@ -31,14 +27,11 @@ setenv = PYTHONDONTWRITEBYTECODE=1 deps = - django22: Django>=2.2.17,<=2.2.99 - django30: Django>=3.0,<=3.0.99 - django31: Django>=3.1,<=3.1.99 django32: Django>=3.2,<=3.2.99 django40: Django>=4.0,<4.1 + django41: Django>=4.1a,<4.2 - django{22,30,31}: python-memcached - django{32,40}: pymemcache + pymemcache requests polib>=1.1.0 goslate