Skip to content

Commit

Permalink
Removed support for Python 3.8 (#1266)
Browse files Browse the repository at this point in the history
  • Loading branch information
n2ygk authored Jan 13, 2025
1 parent 1654ae1 commit 1b5fb9c
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ["3.8", "3.9", "3.10", "3.11", "3.12", "3.13"]
python-version: ["3.9", "3.10", "3.11", "3.12", "3.13"]
env:
PYTHON: ${{ matrix.python-version }}
steps:
Expand Down
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
Note that in line with [Django REST framework policy](https://www.django-rest-framework.org/topics/release-notes/),
any parts of the framework not mentioned in the documentation should generally be considered private API, and may be subject to change.

## [unreleased]

### Removed

* Removed support for Python 3.8.


## [7.1.0] - 2024-10-25

This is the last release supporting Python 3.8.

### Fixed

* Handled zero as a valid ID for resource (regression since 6.1.0)
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ As a Django REST framework JSON:API (short DJA) we are trying to address followi
Requirements
------------

1. Python (3.8, 3.9, 3.10, 3.11, 3.12, 3.13)
1. Python (3.9, 3.10, 3.11, 3.12, 3.13)
2. Django (4.2, 5.0, 5.1)
3. Django REST framework (3.14, 3.15)

Expand Down
2 changes: 1 addition & 1 deletion docs/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ like the following:

## Requirements

1. Python (3.8, 3.9, 3.10, 3.11, 3.12, 3.13)
1. Python (3.9, 3.10, 3.11, 3.12, 3.13)
2. Django (4.2, 5.0, 5.1)
3. Django REST framework (3.14, 3.15)

Expand Down
3 changes: 1 addition & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ def get_package_data(package):
"Operating System :: OS Independent",
"Programming Language :: Python",
"Programming Language :: Python :: 3",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Programming Language :: Python :: 3.11",
Expand Down Expand Up @@ -116,6 +115,6 @@ def get_package_data(package):
"openapi": ["pyyaml>=5.4", "uritemplate>=3.0.1"],
},
setup_requires=wheel,
python_requires=">=3.8",
python_requires=">=3.9",
zip_safe=False,
)
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[tox]
envlist =
py{38,39,310,311,312}-django42-drf{314,315,master},
py{39,310,311,312}-django42-drf{314,315,master},
py{310,311,312}-django{50,51}-drf{314,315,master},
py313-django51-drf{master},
black,
Expand Down

0 comments on commit 1b5fb9c

Please sign in to comment.