Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test on python 3.11, Django 4.2, 5.0 #2850

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions requirements/base.txt
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ feedparser==6.0.8
dnspython<3.0.0,>=2.1.0

django-filter>=2
djangorestframework>=3.12,<3.13
django-crispy-forms>=1.8,<1.9
crispy-forms-foundation>=0.7,<0.8
djangorestframework>=3.12
django-crispy-forms>=1.8
crispy-forms-foundation>=0.7

# REST framework
iso8601
Expand Down
3 changes: 3 additions & 0 deletions requirements/django32.txt
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
Django>=3.2,<3.3
djangorestframework>=3.12,<3.13
django-crispy-forms>=1.8,<1.9
crispy-forms-foundation>=0.7,<0.8
2 changes: 2 additions & 0 deletions requirements/django42.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
Django>=4.2,<4.3
pytz
1 change: 1 addition & 0 deletions requirements/django50.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Django>=5.0,<5.1
1 change: 1 addition & 0 deletions tests/docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ RUN add-apt-repository ppa:deadsnakes/ppa && \
python3.7-dbg python3.7-dev python3.7-distutils \
python3.9-dbg python3.9-dev \
python3.10-dbg python3.10-dev \
python3.11-dbg python3.11-dev \
python3-pip

RUN echo "deb http://dl.google.com/linux/chrome/deb/ stable main" > /etc/apt/sources.list.d/google-chrome.list
Expand Down
6 changes: 5 additions & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@
[tox]
envlist =
{unit,integration,functional}-py{37,39,310}-django{32}
{unit,integration,functional}-py{39,310,311}-django{42}
{unit,integration,functional}-py{310,311}-django{50}
javascript
docs
skipsdist = True
Expand All @@ -23,6 +25,7 @@ python =
3.7: py37
3.9: py39
3.10: py310
3.11: py311

[testenv]
# Baseline test environment
Expand All @@ -45,7 +48,8 @@ setenv =
COVERAGE_FILE = {toxinidir}/reports/coverage/.coverage
PYTHONFAULTHANDLER=1
django32: DJANGO_VER=32
django40: DJANGO_VER=40
django42: DJANGO_VER=42
django50: DJANGO_VER=50
passenv =
GITHUB_ACTIONS
GITHUB_RUN_ID
Expand Down
Loading