-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from thorgate/django-50-support
Add Django 5.0 support
- Loading branch information
Showing
9 changed files
with
1,133 additions
and
1,169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,8 @@ jobs: | |
- "3.8" | ||
- "3.9" | ||
- "3.10" | ||
- "3.11" | ||
- "3.12" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
@@ -28,23 +30,23 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Add poetry | ||
uses: abatilo/[email protected] | ||
with: | ||
poetry-version: "1.2.2" | ||
uses: abatilo/[email protected] | ||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip setuptools | ||
poetry install | ||
- name: Lint | ||
- if: ${{ matrix.python-version == '3.11' }} | ||
name: Lint | ||
run: | | ||
poetry run make lint | ||
- name: Test with tox | ||
run: | | ||
poetry run make coverage | ||
poetry run make test-all | ||
- name: Code Coverage Summary Report | ||
- if: ${{ matrix.python-version == '3.11' }} | ||
name: Code Coverage Summary Report | ||
uses: irongut/[email protected] | ||
with: | ||
filename: coverage.xml | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,7 +15,7 @@ jobs: | |
fail-fast: false | ||
matrix: | ||
python-version: | ||
- "3.10" | ||
- "3.11" | ||
|
||
steps: | ||
- uses: actions/checkout@v2 | ||
|
@@ -24,9 +24,7 @@ jobs: | |
with: | ||
python-version: ${{ matrix.python-version }} | ||
- name: Add poetry | ||
uses: abatilo/[email protected] | ||
with: | ||
poetry-version: "1.2.2" | ||
uses: abatilo/[email protected] | ||
- name: Install dependencies | ||
run: poetry install | ||
- name: Build and publish | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,10 @@ | |
History | ||
======= | ||
|
||
1.0.2 (2024-01-08) | ||
|
||
* Add support for django 5 | ||
|
||
1.0.1 (2023-01-13) | ||
------------------ | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "tg-utils" | ||
version = "1.0.1" | ||
version = "1.0.2" | ||
description = "Common utils for Django-based projects." | ||
authors = ["Thorgate <[email protected]>"] | ||
license = "ISCL" | ||
|
@@ -55,7 +55,6 @@ prospector = "^1.7.0" | |
pylint = "==2.14.*" | ||
sphinx = "==3.*" | ||
tox = "*" | ||
tox-poetry = "*" | ||
tox-gh-actions = "*" | ||
|
||
django-compressor = "*" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters