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

Drop support for python 3.8 #231

Merged
merged 1 commit into from
Oct 9, 2024
Merged
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
4 changes: 2 additions & 2 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9

- name: Install flake8
run: |
Expand All @@ -44,7 +44,7 @@ jobs:
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: 3.8
python-version: 3.9

- name: Install bandit
run: |
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish-to-pypi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
# Matrix to exercise the build backend on all versions of python supported
matrix:
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
python: ['3.9', '3.10', '3.11', '3.12']
steps:
- uses: actions/checkout@v4

Expand Down
6 changes: 1 addition & 5 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,10 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python: ['3.8', '3.9', '3.10', '3.11', '3.12']
python: ['3.9', '3.10', '3.11', '3.12']
django: ['2.2', '3.0', '3.1', '3.2', '4.0', '4.1', '4.2', '5.0', '5.1']
database: ['postgres', 'sqlite']
exclude:
- python: '3.8'
django: '5.0'
- python: '3.8'
django: '5.1'
- python: '3.9'
django: '5.0'
- python: '3.9'
Expand Down
1 change: 1 addition & 0 deletions ChangeLog.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ unreleased

*New:*
- Confirm support for Django 5.1
- Drop support for Python 3.8


.. _v1.9.3:
Expand Down
8 changes: 4 additions & 4 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@ This package is compatible and tested with the following Python & Django version
+------------------------+-----------------------------------+
| Django | Python |
+========================+===================================+
| 2.2, 3.0, 3.1 | 3.8, 3.9 |
| 2.2, 3.0, 3.1 | 3.9 |
+------------------------+-----------------------------------+
| 3.2, 4.0 | 3.8, 3.9, 3.10 |
| 3.2, 4.0 | 3.9, 3.10 |
+------------------------+-----------------------------------+
| 4.1 | 3.8, 3.9, 3.10, 3.11 |
| 4.1 | 3.9, 3.10, 3.11 |
+------------------------+-----------------------------------+
| 4.2 | 3.8, 3.9, 3.10, 3.11, 3.12 |
| 4.2 | 3.9, 3.10, 3.11, 3.12 |
+------------------------+-----------------------------------+
| 5.0, 5.1 | 3.10, 3.11, 3.12 |
+------------------------+-----------------------------------+
Expand Down
3 changes: 1 addition & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ readme = {file = "README.rst", content-type = "text/x-rst"}
license = {file = "LICENSE"}
authors = [{name = "Romain Garrigues"}]
maintainers = [{name = "Lincoln Puzey"}]
requires-python = ">=3.8"
requires-python = ">=3.9"
dependencies = [
"Django>=2.2",
]
Expand All @@ -25,7 +25,6 @@ classifiers = [
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3 :: Only",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down
12 changes: 6 additions & 6 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,12 @@
[tox]
isolated_build = True
envlist =
py{38,39}-django{22,30,31}-{postgresql,sqlite}
py{38,39,310}-django{32,40}-{postgresql,sqlite}
py{38,39,310,311}-django{41}-{postgresql,sqlite}
py{38,39,310,311,312}-django{42}-{postgresql,sqlite}
py{39}-django{22,30,31}-{postgresql,sqlite}
py{39,310}-django{32,40}-{postgresql,sqlite}
py{39,310,311}-django{41}-{postgresql,sqlite}
py{39,310,311,312}-django{42}-{postgresql,sqlite}
py{310,311,312}-django{50,51}-{postgresql,sqlite}
py{38,39,310,311,312}-flake8
py{39,310,311,312}-flake8

[testenv]
passenv =
Expand All @@ -32,7 +32,7 @@ commands =
coverage run -m pytest -v
coverage report

[testenv:py{38,39,310,311,312}-flake8]
[testenv:py{39,310,311,312}-flake8]
skip_install = True
deps = flake8
commands =
Expand Down