Skip to content

Commit

Permalink
Test with Django 5.0, increase Django range to 5.0
Browse files Browse the repository at this point in the history
  • Loading branch information
danirus committed Dec 11, 2023
1 parent 798f519 commit 0ee6122
Show file tree
Hide file tree
Showing 7 changed files with 13 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-pipeline.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
django: ["3.2", "4.0", "4.1", "4.2"]
django: ["3.2", "4.0", "4.1", "4.2", "5.0"]
steps:
- uses: actions/checkout@v2
- name: Python setup
Expand Down
2 changes: 1 addition & 1 deletion django_comments_xtd/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def get_form():
return import_string(settings.COMMENTS_XTD_FORM_CLASS)


VERSION = (2, 9, 10, 'f', 0) # following PEP 440
VERSION = (2, 9, 11, 'f', 0) # following PEP 440


def get_version():
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
# The short X.Y version.
version = '2.9'
# The full version, including alpha/beta/rc tags.
release = '2.9.10'
release = '2.9.11'

# The language for content autogenerated by Sphinx. Refer to documentation
# for a list of supported languages.
Expand Down
2 changes: 1 addition & 1 deletion docs/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
sphinx>=6,<8
sphinx-nefertiti>=0.1.10
sphinx-nefertiti>=0.2.1
2 changes: 1 addition & 1 deletion requirements.pip
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Django>=3,<5
Django>=3,<6
pytz
django-contrib-comments>=2.2,<2.3
djangorestframework>=3.13,<3.15
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ def run_tests(*args):

setup(
name="django-comments-xtd",
version="2.9.10",
version="2.9.11",
packages=find_packages(),
include_package_data=True,
license="MIT",
Expand All @@ -35,7 +35,7 @@ def run_tests(*args):
maintainer_email="[email protected]",
url="http://pypi.python.org/pypi/django-comments-xtd",
install_requires=[
'Django>=3,<5',
'Django>=3,<5.1',
'django-contrib-comments>=2.2,<2.3',
'djangorestframework>=3.12,<3.15',
'docutils',
Expand Down
10 changes: 6 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ django_find_project = false

[tox]
skipsdist = True
envlist = py3.11-django{3.2,4.0,4.1,4.2}
envlist = py3.11-django{3.2,4.0,4.1,4.2,5.0}

[travis]
python =
Expand All @@ -20,6 +20,7 @@ DJANGO =
4.0: django4.0
4.1: django4.1
4.2: django4.2
5.0: django5.0
[testenv]
changedir = {toxinidir}/django_comments_xtd
commands = py.test -rw --cov-config .coveragerc --cov django_comments_xtd
Expand All @@ -37,9 +38,10 @@ deps =
py3.11-django4.0: django>=4.0,<4.1
py3.11-django4.1: django>=4.1,<4.2
py3.11-django4.2: django>=4.2,<4.3
py3.11-django{3.2,4.0,4.1,4.2}: djangorestframework>=3.12,<3.15
py3.11-django{3.2,4.0,4.1,4.2}: django-contrib-comments>=2.1,<2.2
py3.11-django{4.0,4.1,4.2}: pytz
py3.11-django5.0: django>=5.0,<5.1
py3.11-django{3.2,4.0,4.1,4.2,5.0}: djangorestframework>=3.12,<3.15
py3.11-django{3.2,4.0,4.1,4.2,5.0}: django-contrib-comments>=2.1,<2.2
py3.11-django{4.0,4.1,4.2,5.0}: pytz
setenv =
PYTHONPATH = {toxinidir}:{toxinidir}
DJANGO_SETTINGS_MODULE=django_comments_xtd.tests.settings
Expand Down

0 comments on commit 0ee6122

Please sign in to comment.