From abd41770363d95eaebc7cf77dd299dd2a09d6864 Mon Sep 17 00:00:00 2001 From: Alan Crosswell Date: Tue, 7 Jan 2025 11:35:30 -0500 Subject: [PATCH 1/3] Python 3.8 EoL per PEP569 --- .github/workflows/tests.yml | 2 +- README.rst | 2 +- setup.py | 3 +-- tox.ini | 2 +- 4 files changed, 4 insertions(+), 5 deletions(-) diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index ca736986..0852bba1 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -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: diff --git a/README.rst b/README.rst index 0c9b842f..bf5daa73 100644 --- a/README.rst +++ b/README.rst @@ -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) diff --git a/setup.py b/setup.py index 652ab85b..779d00c1 100755 --- a/setup.py +++ b/setup.py @@ -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", @@ -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, ) diff --git a/tox.ini b/tox.ini index a2accaad..504a9d2e 100644 --- a/tox.ini +++ b/tox.ini @@ -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, From abe957303ce3bd0c4120771bf5a162a2dca19f1d Mon Sep 17 00:00:00 2001 From: Alan Crosswell Date: Tue, 7 Jan 2025 11:37:23 -0500 Subject: [PATCH 2/3] changelog --- CHANGELOG.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 07cd7d8f..2ca2de91 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,13 @@ 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 ### Fixed From e5327c0d6f2edd9860c87e7494013bb5b42d05bd Mon Sep 17 00:00:00 2001 From: Alan Crosswell Date: Thu, 9 Jan 2025 10:55:25 -0500 Subject: [PATCH 3/3] changes per @sliverc review --- CHANGELOG.md | 2 ++ docs/getting-started.md | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 2ca2de91..f1825191 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -17,6 +17,8 @@ any parts of the framework not mentioned in the documentation should generally b ## [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) diff --git a/docs/getting-started.md b/docs/getting-started.md index a7de353a..1799337b 100644 --- a/docs/getting-started.md +++ b/docs/getting-started.md @@ -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) pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy