Skip to content

Commit fcf3995

Browse files
authored
Merge pull request #391 from MysticEntity-dev/django6Support
Add Django 6 as supported version and add it to test matrix
2 parents e2cbac5 + 8269fad commit fcf3995

4 files changed

Lines changed: 45 additions & 9 deletions

File tree

.github/workflows/codecov.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,9 @@ jobs:
2828
with:
2929
path: .venv
3030
key: venv-${{ runner.os }}-${{ hashFiles('**/poetry.lock') }}-1
31+
- name: Update poetry lock
32+
run: poetry lock
33+
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
3134
- name: Install dependencies
3235
run: poetry install
3336
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'

.github/workflows/testing.yml

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,14 @@ jobs:
4444
# Django 4.2 is incompatible with Python 3.13+
4545
- django-version: 4.2
4646
python-version: 3.13
47+
#Django 6 is incompatible with < Pyhton 3.12
48+
- django-version: 6.0
49+
python-version: 3.9
50+
- django-version: 6.0
51+
python-version: 3.10
52+
- django-version: 6.0
53+
python-version: 3.11
54+
4755
steps:
4856
- uses: actions/checkout@v3
4957
- uses: actions/setup-python@v5
@@ -59,7 +67,7 @@ jobs:
5967
with:
6068
path: .venv
6169
key: ${{ hashFiles('**/poetry.lock') }}-${{ matrix.python-version }}-0
62-
- run: poetry env use ${{ matrix.python-version }} && poetry install --no-root
70+
- run: poetry env use ${{ matrix.python-version }} && poetry lock && poetry install --no-root
6371
if: steps.cached-poetry-dependencies.outputs.cache-hit != 'true'
6472
- run: |
6573
source .venv/bin/activate

poetry.lock

Lines changed: 30 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pyproject.toml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ classifiers = [
1616
'Framework :: Django :: 5.0',
1717
'Framework :: Django :: 5.1',
1818
'Framework :: Django :: 5.2',
19+
'Framework :: Django :: 6.0',
1920
'Intended Audience :: Developers',
2021
'Intended Audience :: End Users/Desktop',
2122
'Operating System :: OS Independent',
@@ -39,14 +40,14 @@ classifiers = [
3940
python = '^3.9'
4041
django = [
4142
{ version = '^4.2', python = '>=3.9 <3.10' },
42-
{ version = '^4.2 || ^5', python = '>=3.10' },
43+
{ version = '^4.2 || ^5 || ^6', python = '>=3.10' },
4344
]
4445
requests = '*'
4546
urllib3 = '*'
4647
cryptography = '*'
4748
PyJWT = "*"
4849

49-
[tool.poetry.dev-dependencies]
50+
[tool.poetry.group.dev.dependencies]
5051
responses = '*'
5152
mock = '*'
5253
coverage = '*'

0 commit comments

Comments
 (0)