Skip to content

Commit 5c7f3b0

Browse files
committed
remove support for Python 3.8
1 parent 448ff11 commit 5c7f3b0

File tree

6 files changed

+11
-19
lines changed

6 files changed

+11
-19
lines changed

.github/workflows/integration_tests.yml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ jobs:
4949
fail-fast: false
5050
matrix:
5151
# Define the base dimensions
52-
python: ['38', '39', '310', '311', '312', '313']
52+
python: ['39', '310', '311', '312', '313']
5353
algo: ['rs', 'hs']
5454
django_name: ['django420', 'django50', 'django51', 'django52']
5555

@@ -65,13 +65,7 @@ jobs:
6565
django_spec: 'Django>=5.2,<5.3'
6666

6767
exclude:
68-
# Python 3.8 and 3.9 only support Django 4.2 in this config
69-
- python: '38'
70-
django_name: 'django50'
71-
- python: '38'
72-
django_name: 'django51'
73-
- python: '38'
74-
django_name: 'django52'
68+
# Python 3.9 only supports Django 4.2 in this config
7569
- python: '39'
7670
django_name: 'django50'
7771
- python: '39'

.github/workflows/unit_tests.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ jobs:
77
strategy:
88
matrix:
99
python_version:
10-
- "3.8"
1110
- "3.9"
1211
- "3.10"
1312
- "3.11"

CONTRIBUTING.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ Before you submit a pull request, check that it meets these guidelines:
107107
2. If the pull request adds functionality, the docs should be updated. Put
108108
your new functionality into a function with a docstring, and add the
109109
feature to the list in README.rst.
110-
3. The pull request should work for Python 3.8+. Check
110+
3. The pull request should work for Python 3.9+. Check
111111
`<https://github.com/mozilla/mozilla-django-oidc/actions>`_ and make sure
112112
that the tests pass for all supported Python versions.
113113

docs/installation.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ After installation, you'll need to do some things to get your site using
1717
Requirements
1818
------------
1919

20-
This library supports Python 3.8+ on OSX and Linux.
20+
This library supports Python 3.9+ on OSX and Linux.
2121

2222

2323
Acquire a client id and client secret
@@ -144,7 +144,7 @@ Next, edit your ``urls.py`` and add the following:
144144
.. code-block:: python
145145
146146
from django.urls import path, include
147-
147+
148148
urlpatterns = [
149149
# ...
150150
path('oidc/', include('mozilla_django_oidc.urls')),
@@ -280,8 +280,8 @@ fields.
280280
If you want something different, set ``settings.OIDC_USERNAME_ALGO`` to a Python
281281
dotted path to the function you want to use.
282282

283-
The function takes in an email address as a text (Python 2 unicode or Python 3
284-
string) and returns a text (Python 2 unicode or Python 3 string).
283+
The function takes in an email address as a text (Python 3 string) and
284+
returns a text (Python 3 string).
285285

286286
Here's an example function for Python 3 that doesn't convert the email address
287287
at all:

pyproject.toml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[build-system]
22
requires = [
3-
"setuptools>=61.0.0",
3+
"setuptools>=75.0.0",
44
"wheel"
55
]
66
build-backend = "setuptools.build_meta"
@@ -14,6 +14,7 @@ authors = [
1414
{ name = "John Giannelos", email = "jgiannelos@mozilla.com" }
1515
]
1616
license = "MPL-2.0"
17+
requires-python = ">=3.9"
1718
keywords = ["mozilla-django-oidc"]
1819
classifiers = [
1920
"Development Status :: 5 - Production/Stable",
@@ -28,7 +29,6 @@ classifiers = [
2829
"Natural Language :: English",
2930
"Programming Language :: Python :: 3",
3031
"Programming Language :: Python :: 3 :: Only",
31-
"Programming Language :: Python :: 3.8",
3232
"Programming Language :: Python :: 3.9",
3333
"Programming Language :: Python :: 3.10",
3434
"Programming Language :: Python :: 3.11",
@@ -86,7 +86,7 @@ zip-safe = false
8686

8787
[tool.setuptools.dynamic]
8888
version = { attr = "mozilla_django_oidc.__version__" }
89-
readme = { file = ["README.rst"], "content-type" = "text/x-rst" }
89+
readme = { file = ["README.rst"], content-type = "text/x-rst" }
9090

9191
[tool.setuptools.packages.find]
9292
include = ["mozilla_django_oidc", "mozilla_django_oidc.*"]

tox.ini

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,13 @@
11
[tox]
22
envlist =
33
lint
4-
py{38,39,310,311,312}-django420
4+
py{39,310,311,312}-django420
55
py{310,311,312}-django50
66
py{310,311,312,313}-django51
77
py{310,311,312,313,314}-django52
88

99
[gh-actions]
1010
python =
11-
3.8: py38
1211
3.9: py39
1312
3.10: py310
1413
3.11: py311

0 commit comments

Comments
 (0)