From adc4068d52569d7689bf97e5848876ecd99265d1 Mon Sep 17 00:00:00 2001 From: irtazaakram Date: Wed, 13 Sep 2023 15:44:17 +0500 Subject: [PATCH] feat: add support for python/django versions --- .github/workflows/test.yml | 6 +- README.rst | 16 +- crum/__init__.py | 2 +- docs/conf.py | 4 +- docs/index.rst | 16 +- requirements/dev.in | 2 +- requirements/dev310.txt | 257 +++++++++++++++++++++++++ requirements/{dev37.txt => dev311.txt} | 257 +++++++++++++------------ requirements/dev35.txt | 223 --------------------- requirements/dev36.txt | 239 ----------------------- requirements/dev38.txt | 250 ++++++++++++++---------- requirements/dev39.txt | 257 ++++++++++++++----------- requirements/tox.ini | 9 +- setup.cfg | 30 ++- tox.ini | 47 ++--- 15 files changed, 743 insertions(+), 872 deletions(-) create mode 100644 requirements/dev310.txt rename requirements/{dev37.txt => dev311.txt} (50%) delete mode 100644 requirements/dev35.txt delete mode 100644 requirements/dev36.txt diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 7c83e1d..3586461 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -17,12 +17,12 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - python-version: [3.5, 3.6, 3.7, 3.8, 3.9] + python-version: [3.8, 3.9, "3.10", "3.11"] steps: - name: Checkout - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Python ${{ matrix.python-version }} - uses: actions/setup-python@v2 + uses: actions/setup-python@v4 with: python-version: ${{ matrix.python-version }} - name: Install requirements diff --git a/README.rst b/README.rst index 66f3186..4a74e81 100644 --- a/README.rst +++ b/README.rst @@ -18,14 +18,14 @@ models. Documentation can be found at `RTFD `_. It is tested against: - * Django 1.11 (Python 3.5 and 3.6) - * Django 2.0 (Python 3.5, 3.6 and 3.7) - * Django 2.1 (Python 3.5, 3.6 and 3.7) - * Django 2.2 (Python 3.5, 3.6, 3.7, 3.8 and 3.9) - * Django 3.0 (Python 3.6, 3.7, 3.8 and 3.9) - * Django 3.1 (Python 3.6, 3.7, 3.8 and 3.9) - * Django 3.2 pre-release (Python 3.6, 3.7, 3.8 and 3.9) - * Django main/4.0 (Python 3.8 and 3.9) + * Django 2.2 (Python 3.8 and 3.9) + * Django 3.0 (Python 3.8 and 3.9) + * Django 3.1 (Python 3.8 and 3.9) + * Django 3.2 (Python 3.8, 3.9 and 3.10) + * Django 4.0 (Python 3.8, 3.9 and 3.10) + * Django 4.1 (Python 3.8, 3.9, 3.10 and 3.11) + * Django 4.2 (Python 3.8, 3.9, 3.10 and 3.11) + * Django main (Python 3.10 and 3.11) .. |Build Status| image:: https://img.shields.io/github/workflow/status/ninemoreminutes/django-crum/test :target: https://github.com/ninemoreminutes/django-crum/actions?query=workflow%3Atest diff --git a/crum/__init__.py b/crum/__init__.py index 97ea168..4ed2d35 100644 --- a/crum/__init__.py +++ b/crum/__init__.py @@ -7,7 +7,7 @@ _logger = logging.getLogger('crum') -__version__ = '0.7.9' +__version__ = '0.8.0' __all__ = ['get_current_request', 'get_current_user', 'impersonate'] diff --git a/docs/conf.py b/docs/conf.py index ec1605d..a8975af 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -48,9 +48,9 @@ # built documents. # # The short X.Y version. -version = '0.7.9' +version = '0.8.0' # The full version, including alpha/beta/rc tags. -release = '0.7.9' +release = '0.8.0' # The language for content autogenerated by Sphinx. Refer to documentation # for a list of supported languages. diff --git a/docs/index.rst b/docs/index.rst index 00d3cb8..a7805d0 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -19,14 +19,14 @@ user, which could be helpful when using custom authentication methods or user models. It is tested against: - * Django 1.11 (Python 3.5 and 3.6) - * Django 2.0 (Python 3.5, 3.6 and 3.7) - * Django 2.1 (Python 3.5, 3.6 and 3.7) - * Django 2.2 (Python 3.5, 3.6, 3.7, 3.8 and 3.9) - * Django 3.0 (Python 3.6, 3.7, 3.8 and 3.9) - * Django 3.1 (Python 3.6, 3.7, 3.8 and 3.9) - * Django 3.2 pre-release (Python 3.6, 3.7, 3.8 and 3.9) - * Django main/4.0 (Python 3.8 and 3.9) + * Django 2.2 (Python 3.8 and 3.9) + * Django 3.0 (Python 3.8 and 3.9) + * Django 3.1 (Python 3.8 and 3.9) + * Django 3.2 (Python 3.8, 3.9 and 3.10) + * Django 4.0 (Python 3.8, 3.9 and 3.10) + * Django 4.1 (Python 3.8, 3.9, 3.10 and 3.11) + * Django 4.2 (Python 3.8, 3.9, 3.10 and 3.11) + * Django main (Python 3.10 and 3.11) Installation ------------ diff --git a/requirements/dev.in b/requirements/dev.in index b6e51ea..cc1c76c 100644 --- a/requirements/dev.in +++ b/requirements/dev.in @@ -1,4 +1,4 @@ -# Development/test environment uses Python 3.5 - 3.8 (separate requirements files generated for each). +# Development/test environment uses Python 3.8 - 3.11 (separate requirements files generated for each). bumpversion django diff --git a/requirements/dev310.txt b/requirements/dev310.txt new file mode 100644 index 0000000..1bcbafb --- /dev/null +++ b/requirements/dev310.txt @@ -0,0 +1,257 @@ +# +# This file is autogenerated by pip-compile with Python 3.10 +# by the following command: +# +# pip-compile --output-file=requirements/dev310.txt requirements/dev.in +# +alabaster==0.7.13 + # via sphinx +appnope==0.1.3 + # via ipython +asgiref==3.7.2 + # via django +asttokens==2.4.0 + # via stack-data +babel==2.12.1 + # via sphinx +backcall==0.2.0 + # via ipython +build==1.0.3 + # via pip-tools +bump2version==1.0.1 + # via bumpversion +bumpversion==0.6.0 + # via -r requirements/dev.in +cachetools==5.3.1 + # via tox +certifi==2023.7.22 + # via requests +chardet==5.2.0 + # via tox +charset-normalizer==3.2.0 + # via requests +click==8.1.7 + # via pip-tools +colorama==0.4.6 + # via tox +coverage[toml]==7.3.1 + # via pytest-cov +decorator==5.1.1 + # via ipython +distlib==0.3.7 + # via virtualenv +django==4.2.5 + # via + # -r requirements/dev.in + # django-debug-toolbar + # django-extensions + # djangorestframework +django-debug-toolbar==4.2.0 + # via -r requirements/dev.in +django-extensions==3.2.3 + # via -r requirements/dev.in +djangorestframework==3.14.0 + # via -r requirements/dev.in +docutils==0.20.1 + # via + # readme-renderer + # sphinx +exceptiongroup==1.1.3 + # via + # ipython + # pytest +executing==1.2.0 + # via stack-data +filelock==3.12.3 + # via + # tox + # virtualenv +flake8==6.1.0 + # via + # -r requirements/dev.in + # pytest-flake8 +idna==3.4 + # via requests +imagesize==1.4.1 + # via sphinx +importlib-metadata==6.8.0 + # via + # keyring + # twine +iniconfig==2.0.0 + # via pytest +ipython==8.15.0 + # via -r requirements/dev.in +jaraco-classes==3.3.0 + # via keyring +jedi==0.19.0 + # via ipython +jinja2==3.1.2 + # via sphinx +keyring==24.2.0 + # via twine +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.3 + # via jinja2 +matplotlib-inline==0.1.6 + # via ipython +mccabe==0.7.0 + # via flake8 +mdurl==0.1.2 + # via markdown-it-py +more-itertools==10.1.0 + # via jaraco-classes +nh3==0.2.14 + # via readme-renderer +packaging==23.1 + # via + # build + # pyproject-api + # pytest + # sphinx + # tox +parso==0.8.3 + # via jedi +pexpect==4.8.0 + # via ipython +pickleshare==0.7.5 + # via ipython +pip-tools==7.3.0 + # via -r requirements/dev.in +pkginfo==1.9.6 + # via twine +platformdirs==3.10.0 + # via + # tox + # virtualenv +pluggy==1.3.0 + # via + # pytest + # tox +prompt-toolkit==3.0.39 + # via ipython +ptyprocess==0.7.0 + # via pexpect +pure-eval==0.2.2 + # via stack-data +pycodestyle==2.11.0 + # via + # -r requirements/dev.in + # flake8 +pyflakes==3.1.0 + # via flake8 +pygments==2.16.1 + # via + # ipython + # readme-renderer + # rich + # sphinx +pyproject-api==1.6.1 + # via tox +pyproject-hooks==1.0.0 + # via build +pytest==7.4.2 + # via + # -r requirements/dev.in + # pytest-cov + # pytest-django + # pytest-flake8 +pytest-cov==4.1.0 + # via -r requirements/dev.in +pytest-django==4.5.2 + # via -r requirements/dev.in +pytest-flake8==1.1.1 + # via -r requirements/dev.in +pytest-runner==6.0.0 + # via -r requirements/dev.in +pytz==2023.3.post1 + # via djangorestframework +readme-renderer==42.0 + # via twine +requests==2.31.0 + # via + # requests-toolbelt + # sphinx + # twine +requests-toolbelt==1.0.0 + # via twine +rfc3986==2.0.0 + # via twine +rich==13.5.2 + # via twine +setuptools-twine==0.1.3 + # via -r requirements/dev.in +six==1.16.0 + # via asttokens +snowballstemmer==2.2.0 + # via sphinx +sphinx==7.2.5 + # via + # -r requirements/dev.in + # sphinxcontrib-applehelp + # sphinxcontrib-devhelp + # sphinxcontrib-htmlhelp + # sphinxcontrib-qthelp + # sphinxcontrib-serializinghtml +sphinxcontrib-applehelp==1.0.7 + # via sphinx +sphinxcontrib-devhelp==1.0.5 + # via sphinx +sphinxcontrib-htmlhelp==2.0.4 + # via sphinx +sphinxcontrib-jsmath==1.0.1 + # via sphinx +sphinxcontrib-qthelp==1.0.6 + # via sphinx +sphinxcontrib-serializinghtml==1.1.9 + # via sphinx +sqlparse==0.4.4 + # via + # django + # django-debug-toolbar +stack-data==0.6.2 + # via ipython +tomli==2.0.1 + # via + # build + # coverage + # pip-tools + # pyproject-api + # pyproject-hooks + # pytest + # tox +tox==4.11.3 + # via + # -r requirements/dev.in + # tox-gh-actions +tox-gh-actions==3.1.3 + # via -r requirements/dev.in +traitlets==5.9.0 + # via + # ipython + # matplotlib-inline +twine==4.0.2 + # via + # -r requirements/dev.in + # setuptools-twine +typing-extensions==4.7.1 + # via + # asgiref + # filelock +urllib3==2.0.4 + # via + # requests + # twine +virtualenv==20.24.5 + # via tox +wcwidth==0.2.6 + # via prompt-toolkit +wheel==0.41.2 + # via pip-tools +zipp==3.16.2 + # via importlib-metadata + +# The following packages are considered to be unsafe in a requirements file: +# pip +# setuptools diff --git a/requirements/dev37.txt b/requirements/dev311.txt similarity index 50% rename from requirements/dev37.txt rename to requirements/dev311.txt index 5869981..7761d18 100644 --- a/requirements/dev37.txt +++ b/requirements/dev311.txt @@ -1,232 +1,239 @@ # -# This file is autogenerated by pip-compile -# To update, run: +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: # -# pip-compile --output-file=requirements/dev37.txt requirements/dev.in +# pip-compile --output-file=requirements/dev311.txt requirements/dev.in # -alabaster==0.7.12 +alabaster==0.7.13 # via sphinx -appdirs==1.4.4 - # via virtualenv -appnope==0.1.2 +appnope==0.1.3 # via ipython -asgiref==3.3.4 +asgiref==3.7.2 # via django -attrs==20.3.0 - # via pytest -babel==2.9.0 +asttokens==2.4.0 + # via stack-data +babel==2.12.1 # via sphinx backcall==0.2.0 # via ipython -bleach==3.3.0 - # via readme-renderer +build==1.0.3 + # via pip-tools bump2version==1.0.1 # via bumpversion bumpversion==0.6.0 # via -r requirements/dev.in -certifi==2020.12.5 +cachetools==5.3.1 + # via tox +certifi==2023.7.22 # via requests -chardet==4.0.0 +chardet==5.2.0 + # via tox +charset-normalizer==3.2.0 # via requests -click==7.1.2 +click==8.1.7 # via pip-tools -colorama==0.4.4 - # via twine -coverage==5.5 +colorama==0.4.6 + # via tox +coverage[toml]==7.3.1 # via pytest-cov -decorator==5.0.5 +decorator==5.1.1 # via ipython -distlib==0.3.1 +distlib==0.3.7 # via virtualenv -django-debug-toolbar==3.2 - # via -r requirements/dev.in -django-extensions==3.1.2 - # via -r requirements/dev.in -django==3.2 +django==4.2.5 # via # -r requirements/dev.in # django-debug-toolbar # django-extensions # djangorestframework -djangorestframework==3.12.4 +django-debug-toolbar==4.2.0 + # via -r requirements/dev.in +django-extensions==3.2.3 + # via -r requirements/dev.in +djangorestframework==3.14.0 # via -r requirements/dev.in -docutils==0.17 +docutils==0.20.1 # via # readme-renderer # sphinx -filelock==3.0.12 +executing==1.2.0 + # via stack-data +filelock==3.12.3 # via # tox # virtualenv -flake8==3.9.0 +flake8==6.1.0 # via # -r requirements/dev.in # pytest-flake8 -idna==2.10 +idna==3.4 # via requests -imagesize==1.2.0 +imagesize==1.4.1 # via sphinx -importlib-metadata==3.10.0 +importlib-metadata==6.8.0 # via - # flake8 # keyring - # pep517 - # pluggy - # pytest - # tox # twine - # virtualenv -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest -ipython-genutils==0.2.0 - # via traitlets -ipython==7.22.0 +ipython==8.15.0 # via -r requirements/dev.in -jedi==0.18.0 +jaraco-classes==3.3.0 + # via keyring +jedi==0.19.0 # via ipython -jinja2==2.11.3 +jinja2==3.1.2 # via sphinx -keyring==23.0.1 +keyring==24.2.0 # via twine -markupsafe==1.1.1 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.3 # via jinja2 -mccabe==0.6.1 +matplotlib-inline==0.1.6 + # via ipython +mccabe==0.7.0 # via flake8 -packaging==20.9 +mdurl==0.1.2 + # via markdown-it-py +more-itertools==10.1.0 + # via jaraco-classes +nh3==0.2.14 + # via readme-renderer +packaging==23.1 # via - # bleach + # build + # pyproject-api # pytest # sphinx # tox -parso==0.8.2 +parso==0.8.3 # via jedi -pep517==0.10.0 - # via pip-tools pexpect==4.8.0 # via ipython pickleshare==0.7.5 # via ipython -pip-tools==6.0.1 +pip-tools==7.3.0 # via -r requirements/dev.in -pkginfo==1.7.0 +pkginfo==1.9.6 # via twine -pluggy==0.13.1 +platformdirs==3.10.0 + # via + # tox + # virtualenv +pluggy==1.3.0 # via # pytest # tox -prompt-toolkit==3.0.18 +prompt-toolkit==3.0.39 # via ipython ptyprocess==0.7.0 # via pexpect -py==1.10.0 - # via - # pytest - # tox -pycodestyle==2.7.0 +pure-eval==0.2.2 + # via stack-data +pycodestyle==2.11.0 # via # -r requirements/dev.in # flake8 -pyflakes==2.3.1 +pyflakes==3.1.0 # via flake8 -pygments==2.8.1 +pygments==2.16.1 # via # ipython # readme-renderer + # rich # sphinx -pyparsing==2.4.7 - # via packaging -pytest-cov==2.11.1 - # via -r requirements/dev.in -pytest-django==4.1.0 - # via -r requirements/dev.in -pytest-flake8==1.0.7 - # via -r requirements/dev.in -pytest-runner==5.3.0 - # via -r requirements/dev.in -pytest==6.2.3 +pyproject-api==1.6.1 + # via tox +pyproject-hooks==1.0.0 + # via build +pytest==7.4.2 # via # -r requirements/dev.in # pytest-cov # pytest-django # pytest-flake8 -pytz==2021.1 - # via - # babel - # django -readme-renderer==29.0 - # via twine -requests-toolbelt==0.9.1 +pytest-cov==4.1.0 + # via -r requirements/dev.in +pytest-django==4.5.2 + # via -r requirements/dev.in +pytest-flake8==1.1.1 + # via -r requirements/dev.in +pytest-runner==6.0.0 + # via -r requirements/dev.in +pytz==2023.3.post1 + # via djangorestframework +readme-renderer==42.0 # via twine -requests==2.25.1 +requests==2.31.0 # via # requests-toolbelt # sphinx # twine -rfc3986==1.4.0 +requests-toolbelt==1.0.0 + # via twine +rfc3986==2.0.0 + # via twine +rich==13.5.2 # via twine setuptools-twine==0.1.3 # via -r requirements/dev.in -six==1.15.0 - # via - # bleach - # readme-renderer - # tox - # virtualenv -snowballstemmer==2.1.0 +six==1.16.0 + # via asttokens +snowballstemmer==2.2.0 # via sphinx -sphinx==3.5.3 - # via -r requirements/dev.in -sphinxcontrib-applehelp==1.0.2 +sphinx==7.2.5 + # via + # -r requirements/dev.in + # sphinxcontrib-applehelp + # sphinxcontrib-devhelp + # sphinxcontrib-htmlhelp + # sphinxcontrib-qthelp + # sphinxcontrib-serializinghtml +sphinxcontrib-applehelp==1.0.7 # via sphinx -sphinxcontrib-devhelp==1.0.2 +sphinxcontrib-devhelp==1.0.5 # via sphinx -sphinxcontrib-htmlhelp==1.0.3 +sphinxcontrib-htmlhelp==2.0.4 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-qthelp==1.0.3 +sphinxcontrib-qthelp==1.0.6 # via sphinx -sphinxcontrib-serializinghtml==1.1.4 +sphinxcontrib-serializinghtml==1.1.9 # via sphinx -sqlparse==0.4.1 +sqlparse==0.4.4 # via # django # django-debug-toolbar -toml==0.10.2 - # via - # pep517 - # pytest - # tox -tox-gh-actions==2.4.0 - # via -r requirements/dev.in -tox==3.23.0 +stack-data==0.6.2 + # via ipython +tox==4.11.3 # via # -r requirements/dev.in # tox-gh-actions -tqdm==4.60.0 - # via twine -traitlets==5.0.5 - # via ipython -twine==3.4.1 +tox-gh-actions==3.1.3 + # via -r requirements/dev.in +traitlets==5.9.0 + # via + # ipython + # matplotlib-inline +twine==4.0.2 # via # -r requirements/dev.in # setuptools-twine -typing-extensions==3.7.4.3 +urllib3==2.0.4 # via - # asgiref - # importlib-metadata -urllib3==1.26.4 - # via requests -virtualenv==20.4.3 + # requests + # twine +virtualenv==20.24.5 # via tox -wcwidth==0.2.5 +wcwidth==0.2.6 # via prompt-toolkit -webencodings==0.5.1 - # via bleach -zipp==3.4.1 - # via - # importlib-metadata - # pep517 +wheel==0.41.2 + # via pip-tools +zipp==3.16.2 + # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/dev35.txt b/requirements/dev35.txt deleted file mode 100644 index 2139cee..0000000 --- a/requirements/dev35.txt +++ /dev/null @@ -1,223 +0,0 @@ -# -# This file is autogenerated by pip-compile -# To update, run: -# -# pip-compile --output-file=requirements/dev35.txt requirements/dev.in -# -alabaster==0.7.12 - # via sphinx -appdirs==1.4.4 - # via virtualenv -appnope==0.1.2 - # via ipython -attrs==20.3.0 - # via pytest -babel==2.9.0 - # via sphinx -backcall==0.2.0 - # via ipython -bleach==3.3.0 - # via readme-renderer -bump2version==1.0.1 - # via bumpversion -bumpversion==0.6.0 - # via -r requirements/dev.in -certifi==2020.12.5 - # via requests -chardet==4.0.0 - # via requests -click==7.1.2 - # via pip-tools -coverage==5.5 - # via pytest-cov -decorator==5.0.5 - # via - # ipython - # traitlets -distlib==0.3.1 - # via virtualenv -django-debug-toolbar==3.1.1 - # via -r requirements/dev.in -django-extensions==3.1.0 - # via -r requirements/dev.in -django==2.2.20 - # via - # -r requirements/dev.in - # django-debug-toolbar - # djangorestframework -djangorestframework==3.12.4 - # via -r requirements/dev.in -docutils==0.17 - # via - # readme-renderer - # sphinx -filelock==3.0.12 - # via - # tox - # virtualenv -flake8==3.9.0 - # via - # -r requirements/dev.in - # pytest-flake8 -idna==2.10 - # via requests -imagesize==1.2.0 - # via sphinx -importlib-metadata==2.1.1 - # via - # flake8 - # pluggy - # pytest - # tox - # virtualenv -importlib-resources==3.2.1 - # via virtualenv -iniconfig==1.1.1 - # via pytest -ipython-genutils==0.2.0 - # via traitlets -ipython==7.9.0 - # via -r requirements/dev.in -jedi==0.17.2 - # via ipython -jinja2==2.11.3 - # via sphinx -markupsafe==1.1.1 - # via jinja2 -mccabe==0.6.1 - # via flake8 -packaging==20.9 - # via - # bleach - # pytest - # sphinx - # tox -parso==0.7.1 - # via jedi -pathlib2==2.3.5 - # via pytest -pexpect==4.8.0 - # via ipython -pickleshare==0.7.5 - # via ipython -pip-tools==5.5.0 - # via -r requirements/dev.in -pkginfo==1.7.0 - # via twine -pluggy==0.13.1 - # via - # pytest - # tox -prompt-toolkit==2.0.10 - # via ipython -ptyprocess==0.7.0 - # via pexpect -py==1.10.0 - # via - # pytest - # tox -pycodestyle==2.7.0 - # via - # -r requirements/dev.in - # flake8 -pyflakes==2.3.1 - # via flake8 -pygments==2.8.1 - # via - # ipython - # readme-renderer - # sphinx -pyparsing==2.4.7 - # via packaging -pytest-cov==2.11.1 - # via -r requirements/dev.in -pytest-django==4.1.0 - # via -r requirements/dev.in -pytest-flake8==1.0.7 - # via -r requirements/dev.in -pytest-runner==5.2 - # via -r requirements/dev.in -pytest==6.1.2 - # via - # -r requirements/dev.in - # pytest-cov - # pytest-django - # pytest-flake8 -pytz==2021.1 - # via - # babel - # django -readme-renderer==29.0 - # via twine -requests-toolbelt==0.9.1 - # via twine -requests==2.25.1 - # via - # requests-toolbelt - # sphinx - # twine -setuptools-twine==0.1.3 - # via -r requirements/dev.in -six==1.15.0 - # via - # bleach - # pathlib2 - # prompt-toolkit - # readme-renderer - # tox - # traitlets - # virtualenv -snowballstemmer==2.1.0 - # via sphinx -sphinx==3.5.3 - # via -r requirements/dev.in -sphinxcontrib-applehelp==1.0.2 - # via sphinx -sphinxcontrib-devhelp==1.0.2 - # via sphinx -sphinxcontrib-htmlhelp==1.0.3 - # via sphinx -sphinxcontrib-jsmath==1.0.1 - # via sphinx -sphinxcontrib-qthelp==1.0.3 - # via sphinx -sphinxcontrib-serializinghtml==1.1.4 - # via sphinx -sqlparse==0.4.1 - # via - # django - # django-debug-toolbar -toml==0.10.2 - # via - # pytest - # tox -tox-gh-actions==2.4.0 - # via -r requirements/dev.in -tox==3.23.0 - # via - # -r requirements/dev.in - # tox-gh-actions -tqdm==4.60.0 - # via twine -traitlets==4.3.3 - # via ipython -twine==1.15.0 - # via - # -r requirements/dev.in - # setuptools-twine -urllib3==1.26.4 - # via requests -virtualenv==20.4.3 - # via tox -wcwidth==0.2.5 - # via prompt-toolkit -webencodings==0.5.1 - # via bleach -zipp==1.2.0 - # via - # importlib-metadata - # importlib-resources - -# The following packages are considered to be unsafe in a requirements file: -# pip -# setuptools diff --git a/requirements/dev36.txt b/requirements/dev36.txt deleted file mode 100644 index 96bae83..0000000 --- a/requirements/dev36.txt +++ /dev/null @@ -1,239 +0,0 @@ -# -# This file is autogenerated by pip-compile -# To update, run: -# -# pip-compile --output-file=requirements/dev36.txt requirements/dev.in -# -alabaster==0.7.12 - # via sphinx -appdirs==1.4.4 - # via virtualenv -appnope==0.1.2 - # via ipython -asgiref==3.3.4 - # via django -attrs==20.3.0 - # via pytest -babel==2.9.0 - # via sphinx -backcall==0.2.0 - # via ipython -bleach==3.3.0 - # via readme-renderer -bump2version==1.0.1 - # via bumpversion -bumpversion==0.6.0 - # via -r requirements/dev.in -certifi==2020.12.5 - # via requests -chardet==4.0.0 - # via requests -click==7.1.2 - # via pip-tools -colorama==0.4.4 - # via twine -coverage==5.5 - # via pytest-cov -decorator==5.0.5 - # via - # ipython - # traitlets -distlib==0.3.1 - # via virtualenv -django-debug-toolbar==3.2 - # via -r requirements/dev.in -django-extensions==3.1.2 - # via -r requirements/dev.in -django==3.2 - # via - # -r requirements/dev.in - # django-debug-toolbar - # django-extensions - # djangorestframework -djangorestframework==3.12.4 - # via -r requirements/dev.in -docutils==0.17 - # via - # readme-renderer - # sphinx -filelock==3.0.12 - # via - # tox - # virtualenv -flake8==3.9.0 - # via - # -r requirements/dev.in - # pytest-flake8 -idna==2.10 - # via requests -imagesize==1.2.0 - # via sphinx -importlib-metadata==3.10.0 - # via - # flake8 - # keyring - # pep517 - # pluggy - # pytest - # tox - # twine - # virtualenv -importlib-resources==5.1.2 - # via virtualenv -iniconfig==1.1.1 - # via pytest -ipython-genutils==0.2.0 - # via traitlets -ipython==7.16.1 - # via -r requirements/dev.in -jedi==0.18.0 - # via ipython -jinja2==2.11.3 - # via sphinx -keyring==23.0.1 - # via twine -markupsafe==1.1.1 - # via jinja2 -mccabe==0.6.1 - # via flake8 -packaging==20.9 - # via - # bleach - # pytest - # sphinx - # tox -parso==0.8.2 - # via jedi -pep517==0.10.0 - # via pip-tools -pexpect==4.8.0 - # via ipython -pickleshare==0.7.5 - # via ipython -pip-tools==6.0.1 - # via -r requirements/dev.in -pkginfo==1.7.0 - # via twine -pluggy==0.13.1 - # via - # pytest - # tox -prompt-toolkit==3.0.18 - # via ipython -ptyprocess==0.7.0 - # via pexpect -py==1.10.0 - # via - # pytest - # tox -pycodestyle==2.7.0 - # via - # -r requirements/dev.in - # flake8 -pyflakes==2.3.1 - # via flake8 -pygments==2.8.1 - # via - # ipython - # readme-renderer - # sphinx -pyparsing==2.4.7 - # via packaging -pytest-cov==2.11.1 - # via -r requirements/dev.in -pytest-django==4.1.0 - # via -r requirements/dev.in -pytest-flake8==1.0.7 - # via -r requirements/dev.in -pytest-runner==5.3.0 - # via -r requirements/dev.in -pytest==6.2.3 - # via - # -r requirements/dev.in - # pytest-cov - # pytest-django - # pytest-flake8 -pytz==2021.1 - # via - # babel - # django -readme-renderer==29.0 - # via twine -requests-toolbelt==0.9.1 - # via twine -requests==2.25.1 - # via - # requests-toolbelt - # sphinx - # twine -rfc3986==1.4.0 - # via twine -setuptools-twine==0.1.3 - # via -r requirements/dev.in -six==1.15.0 - # via - # bleach - # readme-renderer - # tox - # traitlets - # virtualenv -snowballstemmer==2.1.0 - # via sphinx -sphinx==3.5.3 - # via -r requirements/dev.in -sphinxcontrib-applehelp==1.0.2 - # via sphinx -sphinxcontrib-devhelp==1.0.2 - # via sphinx -sphinxcontrib-htmlhelp==1.0.3 - # via sphinx -sphinxcontrib-jsmath==1.0.1 - # via sphinx -sphinxcontrib-qthelp==1.0.3 - # via sphinx -sphinxcontrib-serializinghtml==1.1.4 - # via sphinx -sqlparse==0.4.1 - # via - # django - # django-debug-toolbar -toml==0.10.2 - # via - # pep517 - # pytest - # tox -tox-gh-actions==2.4.0 - # via -r requirements/dev.in -tox==3.23.0 - # via - # -r requirements/dev.in - # tox-gh-actions -tqdm==4.60.0 - # via twine -traitlets==4.3.3 - # via ipython -twine==3.4.1 - # via - # -r requirements/dev.in - # setuptools-twine -typing-extensions==3.7.4.3 - # via - # asgiref - # importlib-metadata -urllib3==1.26.4 - # via requests -virtualenv==20.4.3 - # via tox -wcwidth==0.2.5 - # via prompt-toolkit -webencodings==0.5.1 - # via bleach -zipp==3.4.1 - # via - # importlib-metadata - # importlib-resources - # pep517 - -# The following packages are considered to be unsafe in a requirements file: -# pip -# setuptools diff --git a/requirements/dev38.txt b/requirements/dev38.txt index 94cb35c..e9c7b0c 100644 --- a/requirements/dev38.txt +++ b/requirements/dev38.txt @@ -1,220 +1,260 @@ # -# This file is autogenerated by pip-compile -# To update, run: +# This file is autogenerated by pip-compile with Python 3.8 +# by the following command: # # pip-compile --output-file=requirements/dev38.txt requirements/dev.in # -alabaster==0.7.12 +alabaster==0.7.13 # via sphinx -appdirs==1.4.4 - # via virtualenv -appnope==0.1.2 +appnope==0.1.3 # via ipython -asgiref==3.3.4 +asgiref==3.7.2 # via django -attrs==20.3.0 - # via pytest -babel==2.9.0 +asttokens==2.4.0 + # via stack-data +babel==2.12.1 # via sphinx backcall==0.2.0 # via ipython -bleach==3.3.0 - # via readme-renderer +backports-zoneinfo==0.2.1 + # via django +build==1.0.3 + # via pip-tools bump2version==1.0.1 # via bumpversion bumpversion==0.6.0 # via -r requirements/dev.in -certifi==2020.12.5 +cachetools==5.3.1 + # via tox +certifi==2023.7.22 # via requests -chardet==4.0.0 +chardet==5.2.0 + # via tox +charset-normalizer==3.2.0 # via requests -click==7.1.2 +click==8.1.7 # via pip-tools -colorama==0.4.4 - # via twine -coverage==5.5 +colorama==0.4.6 + # via tox +coverage[toml]==7.3.1 # via pytest-cov -decorator==5.0.5 +decorator==5.1.1 # via ipython -distlib==0.3.1 +distlib==0.3.7 # via virtualenv -django-debug-toolbar==3.2 - # via -r requirements/dev.in -django-extensions==3.1.2 - # via -r requirements/dev.in -django==3.2 +django==4.2.5 # via # -r requirements/dev.in # django-debug-toolbar # django-extensions # djangorestframework -djangorestframework==3.12.4 +django-debug-toolbar==4.2.0 # via -r requirements/dev.in -docutils==0.17 +django-extensions==3.2.3 + # via -r requirements/dev.in +djangorestframework==3.14.0 + # via -r requirements/dev.in +docutils==0.20.1 # via # readme-renderer # sphinx -filelock==3.0.12 +exceptiongroup==1.1.3 + # via pytest +executing==1.2.0 + # via stack-data +filelock==3.12.3 # via # tox # virtualenv -flake8==3.9.0 +flake8==6.1.0 # via # -r requirements/dev.in # pytest-flake8 -idna==2.10 +idna==3.4 # via requests -imagesize==1.2.0 +imagesize==1.4.1 # via sphinx -importlib-metadata==3.10.0 +importlib-metadata==6.8.0 # via + # build # keyring + # sphinx # twine -iniconfig==1.1.1 +importlib-resources==6.0.1 + # via keyring +iniconfig==2.0.0 # via pytest -ipython-genutils==0.2.0 - # via traitlets -ipython==7.22.0 +ipython==8.12.2 # via -r requirements/dev.in -jedi==0.18.0 +jaraco-classes==3.3.0 + # via keyring +jedi==0.19.0 # via ipython -jinja2==2.11.3 +jinja2==3.1.2 # via sphinx -keyring==23.0.1 +keyring==24.2.0 # via twine -markupsafe==1.1.1 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.3 # via jinja2 -mccabe==0.6.1 +matplotlib-inline==0.1.6 + # via ipython +mccabe==0.7.0 # via flake8 -packaging==20.9 +mdurl==0.1.2 + # via markdown-it-py +more-itertools==10.1.0 + # via jaraco-classes +nh3==0.2.14 + # via readme-renderer +packaging==23.1 # via - # bleach + # build + # pyproject-api # pytest # sphinx # tox -parso==0.8.2 +parso==0.8.3 # via jedi -pep517==0.10.0 - # via pip-tools pexpect==4.8.0 # via ipython pickleshare==0.7.5 # via ipython -pip-tools==6.0.1 +pip-tools==7.3.0 # via -r requirements/dev.in -pkginfo==1.7.0 +pkginfo==1.9.6 # via twine -pluggy==0.13.1 +platformdirs==3.10.0 + # via + # tox + # virtualenv +pluggy==1.3.0 # via # pytest # tox -prompt-toolkit==3.0.18 +prompt-toolkit==3.0.39 # via ipython ptyprocess==0.7.0 # via pexpect -py==1.10.0 - # via - # pytest - # tox -pycodestyle==2.7.0 +pure-eval==0.2.2 + # via stack-data +pycodestyle==2.11.0 # via # -r requirements/dev.in # flake8 -pyflakes==2.3.1 +pyflakes==3.1.0 # via flake8 -pygments==2.8.1 +pygments==2.16.1 # via # ipython # readme-renderer + # rich # sphinx -pyparsing==2.4.7 - # via packaging -pytest-cov==2.11.1 - # via -r requirements/dev.in -pytest-django==4.1.0 - # via -r requirements/dev.in -pytest-flake8==1.0.7 - # via -r requirements/dev.in -pytest-runner==5.3.0 - # via -r requirements/dev.in -pytest==6.2.3 +pyproject-api==1.6.1 + # via tox +pyproject-hooks==1.0.0 + # via build +pytest==7.4.2 # via # -r requirements/dev.in # pytest-cov # pytest-django # pytest-flake8 -pytz==2021.1 +pytest-cov==4.1.0 + # via -r requirements/dev.in +pytest-django==4.5.2 + # via -r requirements/dev.in +pytest-flake8==1.1.1 + # via -r requirements/dev.in +pytest-runner==6.0.0 + # via -r requirements/dev.in +pytz==2023.3.post1 # via # babel - # django -readme-renderer==29.0 - # via twine -requests-toolbelt==0.9.1 + # djangorestframework +readme-renderer==42.0 # via twine -requests==2.25.1 +requests==2.31.0 # via # requests-toolbelt # sphinx # twine -rfc3986==1.4.0 +requests-toolbelt==1.0.0 + # via twine +rfc3986==2.0.0 + # via twine +rich==13.5.2 # via twine setuptools-twine==0.1.3 # via -r requirements/dev.in -six==1.15.0 - # via - # bleach - # readme-renderer - # tox - # virtualenv -snowballstemmer==2.1.0 +six==1.16.0 + # via asttokens +snowballstemmer==2.2.0 # via sphinx -sphinx==3.5.3 +sphinx==7.1.2 # via -r requirements/dev.in -sphinxcontrib-applehelp==1.0.2 +sphinxcontrib-applehelp==1.0.4 # via sphinx sphinxcontrib-devhelp==1.0.2 # via sphinx -sphinxcontrib-htmlhelp==1.0.3 +sphinxcontrib-htmlhelp==2.0.1 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx sphinxcontrib-qthelp==1.0.3 # via sphinx -sphinxcontrib-serializinghtml==1.1.4 +sphinxcontrib-serializinghtml==1.1.5 # via sphinx -sqlparse==0.4.1 +sqlparse==0.4.4 # via # django # django-debug-toolbar -toml==0.10.2 +stack-data==0.6.2 + # via ipython +tomli==2.0.1 # via - # pep517 + # build + # coverage + # pip-tools + # pyproject-api + # pyproject-hooks # pytest # tox -tox-gh-actions==2.4.0 - # via -r requirements/dev.in -tox==3.23.0 +tox==4.11.3 # via # -r requirements/dev.in # tox-gh-actions -tqdm==4.60.0 - # via twine -traitlets==5.0.5 - # via ipython -twine==3.4.1 +tox-gh-actions==3.1.3 + # via -r requirements/dev.in +traitlets==5.9.0 + # via + # ipython + # matplotlib-inline +twine==4.0.2 # via # -r requirements/dev.in # setuptools-twine -urllib3==1.26.4 - # via requests -virtualenv==20.4.3 +typing-extensions==4.7.1 + # via + # asgiref + # filelock + # ipython + # rich +urllib3==2.0.4 + # via + # requests + # twine +virtualenv==20.24.5 # via tox -wcwidth==0.2.5 +wcwidth==0.2.6 # via prompt-toolkit -webencodings==0.5.1 - # via bleach -zipp==3.4.1 - # via importlib-metadata +wheel==0.41.2 + # via pip-tools +zipp==3.16.2 + # via + # importlib-metadata + # importlib-resources # The following packages are considered to be unsafe in a requirements file: # pip diff --git a/requirements/dev39.txt b/requirements/dev39.txt index 115e248..e304aee 100644 --- a/requirements/dev39.txt +++ b/requirements/dev39.txt @@ -1,219 +1,258 @@ # -# This file is autogenerated by pip-compile -# To update, run: +# This file is autogenerated by pip-compile with Python 3.9 +# by the following command: # # pip-compile --output-file=requirements/dev39.txt requirements/dev.in # -alabaster==0.7.12 +alabaster==0.7.13 # via sphinx -appdirs==1.4.4 - # via virtualenv -appnope==0.1.2 +appnope==0.1.3 # via ipython -asgiref==3.3.4 +asgiref==3.7.2 # via django -attrs==20.3.0 - # via pytest -babel==2.9.0 +asttokens==2.4.0 + # via stack-data +babel==2.12.1 # via sphinx backcall==0.2.0 # via ipython -bleach==3.3.0 - # via readme-renderer +build==1.0.3 + # via pip-tools bump2version==1.0.1 # via bumpversion bumpversion==0.6.0 # via -r requirements/dev.in -certifi==2020.12.5 +cachetools==5.3.1 + # via tox +certifi==2023.7.22 # via requests -chardet==4.0.0 +chardet==5.2.0 + # via tox +charset-normalizer==3.2.0 # via requests -click==7.1.2 +click==8.1.7 # via pip-tools -colorama==0.4.4 - # via twine -coverage==5.5 +colorama==0.4.6 + # via tox +coverage[toml]==7.3.1 # via pytest-cov -decorator==5.0.5 +decorator==5.1.1 # via ipython -distlib==0.3.1 +distlib==0.3.7 # via virtualenv -django-debug-toolbar==3.2 - # via -r requirements/dev.in -django-extensions==3.1.2 - # via -r requirements/dev.in -django==3.2 +django==4.2.5 # via # -r requirements/dev.in # django-debug-toolbar # django-extensions # djangorestframework -djangorestframework==3.12.4 +django-debug-toolbar==4.2.0 + # via -r requirements/dev.in +django-extensions==3.2.3 + # via -r requirements/dev.in +djangorestframework==3.14.0 # via -r requirements/dev.in -docutils==0.17 +docutils==0.20.1 # via # readme-renderer # sphinx -filelock==3.0.12 +exceptiongroup==1.1.3 + # via + # ipython + # pytest +executing==1.2.0 + # via stack-data +filelock==3.12.3 # via # tox # virtualenv -flake8==3.9.0 +flake8==6.1.0 # via # -r requirements/dev.in # pytest-flake8 -idna==2.10 +idna==3.4 # via requests -imagesize==1.2.0 +imagesize==1.4.1 # via sphinx -importlib-metadata==3.10.0 +importlib-metadata==6.8.0 # via + # build # keyring + # sphinx # twine -iniconfig==1.1.1 +iniconfig==2.0.0 # via pytest -ipython-genutils==0.2.0 - # via traitlets -ipython==7.22.0 +ipython==8.15.0 # via -r requirements/dev.in -jedi==0.18.0 +jaraco-classes==3.3.0 + # via keyring +jedi==0.19.0 # via ipython -jinja2==2.11.3 +jinja2==3.1.2 # via sphinx -keyring==23.0.1 +keyring==24.2.0 # via twine -markupsafe==1.1.1 +markdown-it-py==3.0.0 + # via rich +markupsafe==2.1.3 # via jinja2 -mccabe==0.6.1 +matplotlib-inline==0.1.6 + # via ipython +mccabe==0.7.0 # via flake8 -packaging==20.9 +mdurl==0.1.2 + # via markdown-it-py +more-itertools==10.1.0 + # via jaraco-classes +nh3==0.2.14 + # via readme-renderer +packaging==23.1 # via - # bleach + # build + # pyproject-api # pytest # sphinx # tox -parso==0.8.2 +parso==0.8.3 # via jedi -pep517==0.10.0 - # via pip-tools pexpect==4.8.0 # via ipython pickleshare==0.7.5 # via ipython -pip-tools==6.0.1 +pip-tools==7.3.0 # via -r requirements/dev.in -pkginfo==1.7.0 +pkginfo==1.9.6 # via twine -pluggy==0.13.1 +platformdirs==3.10.0 + # via + # tox + # virtualenv +pluggy==1.3.0 # via # pytest # tox -prompt-toolkit==3.0.18 +prompt-toolkit==3.0.39 # via ipython ptyprocess==0.7.0 # via pexpect -py==1.10.0 - # via - # pytest - # tox -pycodestyle==2.7.0 +pure-eval==0.2.2 + # via stack-data +pycodestyle==2.11.0 # via # -r requirements/dev.in # flake8 -pyflakes==2.3.1 +pyflakes==3.1.0 # via flake8 -pygments==2.8.1 +pygments==2.16.1 # via # ipython # readme-renderer + # rich # sphinx -pyparsing==2.4.7 - # via packaging -pytest-cov==2.11.1 - # via -r requirements/dev.in -pytest-django==4.1.0 - # via -r requirements/dev.in -pytest-flake8==1.0.7 - # via -r requirements/dev.in -pytest-runner==5.3.0 - # via -r requirements/dev.in -pytest==6.2.3 +pyproject-api==1.6.1 + # via tox +pyproject-hooks==1.0.0 + # via build +pytest==7.4.2 # via # -r requirements/dev.in # pytest-cov # pytest-django # pytest-flake8 -pytz==2021.1 - # via - # babel - # django -readme-renderer==29.0 - # via twine -requests-toolbelt==0.9.1 +pytest-cov==4.1.0 + # via -r requirements/dev.in +pytest-django==4.5.2 + # via -r requirements/dev.in +pytest-flake8==1.1.1 + # via -r requirements/dev.in +pytest-runner==6.0.0 + # via -r requirements/dev.in +pytz==2023.3.post1 + # via djangorestframework +readme-renderer==42.0 # via twine -requests==2.25.1 +requests==2.31.0 # via # requests-toolbelt # sphinx # twine -rfc3986==1.4.0 +requests-toolbelt==1.0.0 + # via twine +rfc3986==2.0.0 + # via twine +rich==13.5.2 # via twine setuptools-twine==0.1.3 # via -r requirements/dev.in -six==1.15.0 - # via - # bleach - # readme-renderer - # tox - # virtualenv -snowballstemmer==2.1.0 +six==1.16.0 + # via asttokens +snowballstemmer==2.2.0 # via sphinx -sphinx==3.5.3 - # via -r requirements/dev.in -sphinxcontrib-applehelp==1.0.2 +sphinx==7.2.5 + # via + # -r requirements/dev.in + # sphinxcontrib-applehelp + # sphinxcontrib-devhelp + # sphinxcontrib-htmlhelp + # sphinxcontrib-qthelp + # sphinxcontrib-serializinghtml +sphinxcontrib-applehelp==1.0.7 # via sphinx -sphinxcontrib-devhelp==1.0.2 +sphinxcontrib-devhelp==1.0.5 # via sphinx -sphinxcontrib-htmlhelp==1.0.3 +sphinxcontrib-htmlhelp==2.0.4 # via sphinx sphinxcontrib-jsmath==1.0.1 # via sphinx -sphinxcontrib-qthelp==1.0.3 +sphinxcontrib-qthelp==1.0.6 # via sphinx -sphinxcontrib-serializinghtml==1.1.4 +sphinxcontrib-serializinghtml==1.1.9 # via sphinx -sqlparse==0.4.1 +sqlparse==0.4.4 # via # django # django-debug-toolbar -toml==0.10.2 +stack-data==0.6.2 + # via ipython +tomli==2.0.1 # via - # pep517 + # build + # coverage + # pip-tools + # pyproject-api + # pyproject-hooks # pytest # tox -tox-gh-actions==2.4.0 - # via -r requirements/dev.in -tox==3.23.0 +tox==4.11.3 # via # -r requirements/dev.in # tox-gh-actions -tqdm==4.60.0 - # via twine -traitlets==5.0.5 - # via ipython -twine==3.4.1 +tox-gh-actions==3.1.3 + # via -r requirements/dev.in +traitlets==5.9.0 + # via + # ipython + # matplotlib-inline +twine==4.0.2 # via # -r requirements/dev.in # setuptools-twine -urllib3==1.26.4 - # via requests -virtualenv==20.4.3 +typing-extensions==4.7.1 + # via + # asgiref + # filelock + # ipython +urllib3==2.0.4 + # via + # requests + # twine +virtualenv==20.24.5 # via tox -wcwidth==0.2.5 +wcwidth==0.2.6 # via prompt-toolkit -webencodings==0.5.1 - # via bleach -zipp==3.4.1 +wheel==0.41.2 + # via pip-tools +zipp==3.16.2 # via importlib-metadata # The following packages are considered to be unsafe in a requirements file: diff --git a/requirements/tox.ini b/requirements/tox.ini index 128c4b5..a3eae3f 100644 --- a/requirements/tox.ini +++ b/requirements/tox.ini @@ -1,14 +1,13 @@ [tox] -envlist = py3{5,6,7,8,9} +envlist = py3{8,9,10,11} skipsdist = true [testenv] commands = make -C .. update-requirements requirements -whitelist_externals = make +allowlist_externals = make basepython = - py35: python3.5 - py36: python3.6 - py37: python3.7 py38: python3.8 py39: python3.9 + py310: python3.10 + py311: python3.11 diff --git a/setup.cfg b/setup.cfg index f161c9e..e428d3e 100644 --- a/setup.cfg +++ b/setup.cfg @@ -1,6 +1,6 @@ [bumpversion] commit = True -current_version = 0.7.9 +current_version = 0.8.0 tag = True tag_name = {new_version} @@ -15,32 +15,30 @@ long_description_content_type = text/x-rst keywords = django, request, user, middleware, thread, local license = BSD url = https://github.com/ninemoreminutes/django-crum/ -project_urls = +project_urls = Documentation = https://django-crum.rtfd.org/ Source = https://github.com/ninemoreminutes/django-crum/ Tracker = https://github.com/ninemoreminutes/django-crum/issues -classifiers = +classifiers = Development Status :: 4 - Beta Environment :: Web Environment Framework :: Django - Framework :: Django :: 1.11 - Framework :: Django :: 2.0 - Framework :: Django :: 2.1 Framework :: Django :: 2.2 Framework :: Django :: 3.0 Framework :: Django :: 3.1 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 Programming Language :: Python Programming Language :: Python :: 3 - Programming Language :: Python :: 3.4 - Programming Language :: Python :: 3.5 - Programming Language :: Python :: 3.6 - Programming Language :: Python :: 3.7 Programming Language :: Python :: 3.8 Programming Language :: Python :: 3.9 + Programming Language :: Python :: 3.10 + Programming Language :: Python :: 3.11 Topic :: Internet :: WWW/HTTP Topic :: Software Development :: Libraries Topic :: Software Development :: Libraries :: Python Modules @@ -49,18 +47,18 @@ classifiers = zip_safe = False packages = crum include_package_data = True -setup_requires = +setup_requires = pytest-runner setuptools-twine -tests_require = - django>=1.8 +tests_require = + django>=2.2 djangorestframework pytest pytest-cov pytest-django pytest-flake8 -install_requires = - django>=1.8 +install_requires = + django>=2.2 [check] metadata = True @@ -113,4 +111,4 @@ python_files = test*.py testpaths = crum test_project norecursedirs = .git .tox build dist docs flake8-ignore = E501 -addopts = --reuse-db --nomigrations --cache-clear --flake8 --cov crum --cov-append --cov-report term-missing +addopts = --reuse-db --nomigrations --cache-clear --cov crum --cov-append --cov-report term-missing diff --git a/tox.ini b/tox.ini index e9849a4..259417e 100644 --- a/tox.ini +++ b/tox.ini @@ -1,55 +1,48 @@ [tox] envlist = - py35-dj{111,20,21,22}, - py36-dj{20,21,22,30,31,32}, - py37-dj{20,21,22,30,31,32}, - py38-dj{22,30,31,32,main} - py39-dj{22,30,31,32,main} + py38-dj{22,30,31,32,40,41,42} + py39-dj{22,30,31,32,40,41,42} + py310-dj{32,40,41,42,main} + py311-dj{41,42,main} [testenv] commands = coverage erase py.test {posargs} basepython = - py35: python3.5 - py36: python3.6 - py37: python3.7 py38: python3.8 py39: python3.9 + py310: python3.10 + py311: python3.11 deps = - dj111: Django~=1.11.0 - dj111: djangorestframework~=3.11.0 - dj20: Django~=2.0.0 - dj20: djangorestframework - dj21: Django~=2.1.0 - dj21: djangorestframework - dj22: Django~=2.2.0 + dj22: Django>=2.2,<3.0 dj22: djangorestframework - dj30: Django~=3.0.0 + dj30: Django>=3.0,<3.1 dj30: djangorestframework - dj31: Django~=3.1.0 + dj31: Django>=3.1.0,<3.2 dj31: djangorestframework - dj32: Django>=3.2.0a0,<3.3 + dj32: Django>=3.2.0,<4.0 dj32: djangorestframework - djmain: https://github.com/django/django/zipball/main#egg=Django - djmain: https://github.com/encode/django-rest-framework/zipball/master#egg=djangorestframework + dj40: Django>=4.0.0,<4.1 + dj40: djangorestframework + dj41: Django>=4.1.0,<4.2 + dj41: djangorestframework + dj42: Django>=4.2.0,<5.0 + dj42: djangorestframework + djmain: https://github.com/django/django/archive/main.tar.gz + djmain: djangorestframework pytest pytest-cov pytest-django - pytest-flake8 pytest-runner setenv = DJANGO_SETTINGS_MODULE = test_project.settings PYTHONDONTWRITEBYTECODE = 1 install_command = pip install --pre {opts} {packages} -[testenv:py3{8,9}-djmain] -ignore_outcome = true - [gh-actions] python = - 3.5: py35 - 3.6: py36 - 3.7: py37 3.8: py38 3.9: py39 + 3.10: py310 + 3.11: py311