diff --git a/requirements/compile.py b/requirements/compile.py index 02e07c1b..91da9aa0 100755 --- a/requirements/compile.py +++ b/requirements/compile.py @@ -161,6 +161,18 @@ check=True, capture_output=True, ) + subprocess.run( + [ + "python3.10", + *common_args, + "-P", + "Django>=5.0a1,<5.1", + "-o", + "py310-django50.txt", + ], + check=True, + capture_output=True, + ) subprocess.run( [ "python3.11", @@ -185,6 +197,18 @@ check=True, capture_output=True, ) + subprocess.run( + [ + "python3.11", + *common_args, + "-P", + "Django>=5.0a1,<5.1", + "-o", + "py311-django50.txt", + ], + check=True, + capture_output=True, + ) subprocess.run( [ "python3.12", @@ -197,3 +221,15 @@ check=True, capture_output=True, ) + subprocess.run( + [ + "python3.12", + *common_args, + "-P", + "Django>=5.0a1,<5.1", + "-o", + "py312-django50.txt", + ], + check=True, + capture_output=True, + ) diff --git a/requirements/py310-django50.txt b/requirements/py310-django50.txt new file mode 100644 index 00000000..d6a3573c --- /dev/null +++ b/requirements/py310-django50.txt @@ -0,0 +1,44 @@ +# +# This file is autogenerated by pip-compile with Python 3.10 +# by the following command: +# +# requirements/compile.py +# +asgiref==3.7.2 + # via django +brotli==1.1.0 + # via -r requirements.in +certifi==2023.7.22 + # via requests +charset-normalizer==3.2.0 + # via requests +coverage==7.3.1 + # via -r requirements.in +django==5.0a1 + # via -r requirements.in +exceptiongroup==1.1.3 + # via pytest +idna==3.4 + # via requests +iniconfig==2.0.0 + # via pytest +packaging==23.1 + # via pytest +pluggy==1.3.0 + # via pytest +pytest==7.4.2 + # via + # -r requirements.in + # pytest-randomly +pytest-randomly==3.15.0 + # via -r requirements.in +requests==2.31.0 + # via -r requirements.in +sqlparse==0.4.4 + # via django +tomli==2.0.1 + # via pytest +typing-extensions==4.8.0 + # via asgiref +urllib3==2.0.4 + # via requests diff --git a/requirements/py311-django50.txt b/requirements/py311-django50.txt new file mode 100644 index 00000000..da299ecb --- /dev/null +++ b/requirements/py311-django50.txt @@ -0,0 +1,38 @@ +# +# This file is autogenerated by pip-compile with Python 3.11 +# by the following command: +# +# requirements/compile.py +# +asgiref==3.7.2 + # via django +brotli==1.1.0 + # via -r requirements.in +certifi==2023.7.22 + # via requests +charset-normalizer==3.2.0 + # via requests +coverage==7.3.1 + # via -r requirements.in +django==5.0a1 + # via -r requirements.in +idna==3.4 + # via requests +iniconfig==2.0.0 + # via pytest +packaging==23.1 + # via pytest +pluggy==1.3.0 + # via pytest +pytest==7.4.2 + # via + # -r requirements.in + # pytest-randomly +pytest-randomly==3.15.0 + # via -r requirements.in +requests==2.31.0 + # via -r requirements.in +sqlparse==0.4.4 + # via django +urllib3==2.0.4 + # via requests diff --git a/requirements/py312-django50.txt b/requirements/py312-django50.txt new file mode 100644 index 00000000..c6cd87ef --- /dev/null +++ b/requirements/py312-django50.txt @@ -0,0 +1,38 @@ +# +# This file is autogenerated by pip-compile with Python 3.12 +# by the following command: +# +# requirements/compile.py +# +asgiref==3.7.2 + # via django +brotli==1.1.0 + # via -r requirements.in +certifi==2023.7.22 + # via requests +charset-normalizer==3.2.0 + # via requests +coverage==7.3.1 + # via -r requirements.in +django==5.0a1 + # via -r requirements.in +idna==3.4 + # via requests +iniconfig==2.0.0 + # via pytest +packaging==23.1 + # via pytest +pluggy==1.3.0 + # via pytest +pytest==7.4.2 + # via + # -r requirements.in + # pytest-randomly +pytest-randomly==3.15.0 + # via -r requirements.in +requests==2.31.0 + # via -r requirements.in +sqlparse==0.4.4 + # via django +urllib3==2.0.4 + # via requests diff --git a/setup.cfg b/setup.cfg index 241dda4a..51f6acf5 100644 --- a/setup.cfg +++ b/setup.cfg @@ -15,6 +15,7 @@ classifiers = Framework :: Django :: 4.0 Framework :: Django :: 4.1 Framework :: Django :: 4.2 + Framework :: Django :: 5.0 Intended Audience :: Developers License :: OSI Approved :: MIT License Operating System :: OS Independent diff --git a/tox.ini b/tox.ini index 88dbd62d..441e0193 100644 --- a/tox.ini +++ b/tox.ini @@ -2,10 +2,10 @@ requires = tox>=4.2 env_list = - py312-django{42} - py311-django{42, 41} + py312-django{50, 42} + py311-django{50, 42, 41} py311-codegen - py310-django{42, 41, 40, 32} + py310-django{50, 42, 41, 40, 32} py39-django{42, 41, 40, 32} py38-django{42, 41, 40, 32}