Skip to content

Commit e628f15

Browse files
droideckmistotebe
authored andcommitted
Deprecate EOL Python 3.6, 3.7, 3.8 versions
1 parent 326f870 commit e628f15

File tree

5 files changed

+6
-26
lines changed

5 files changed

+6
-26
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
name: CI
33

4-
on:
4+
on:
55
push:
66
pull_request:
77
schedule:
@@ -20,20 +20,15 @@ jobs:
2020
fail-fast: false
2121
matrix:
2222
python-version:
23-
- "3.7"
24-
- "3.8"
2523
- "3.9"
2624
- "3.10"
2725
- "3.11"
2826
- "3.12"
2927
- "3.13"
3028
- "pypy3.9"
3129
- "pypy3.10"
32-
image:
30+
image:
3331
- "ubuntu-22.04"
34-
include:
35-
- python-version: "3.6"
36-
image: "ubuntu-20.04"
3732
steps:
3833
- name: Checkout
3934
uses: "actions/checkout@v4"

.github/workflows/tox-fedora.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -21,20 +21,15 @@ jobs:
2121
strategy:
2222
matrix:
2323
tox_env:
24-
- py36
25-
- py37
26-
- py38
2724
- py39
2825
- py310
2926
- py311
3027
- py312
3128
- py313
32-
- c90-py36
33-
- c90-py37
3429
- py3-nosasltls
3530
- py3-trace
3631
- pypy3
3732
- doc
3833

3934
# Use GitHub's Linux Docker host
40-
runs-on: ubuntu-20.04
35+
runs-on: ubuntu-22.04

pyproject.toml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
[tool.black]
2-
line-length = 88
3-
target-version = ['py36', 'py37', 'py38']
4-
51
[tool.isort]
62
line_length=88
73
known_first_party=['ldap', '_ldap', 'ldapurl', 'ldif', 'slapdtest']

setup.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -86,9 +86,6 @@ class OpenLDAP2:
8686

8787
'Programming Language :: Python',
8888
'Programming Language :: Python :: 3',
89-
'Programming Language :: Python :: 3.6',
90-
'Programming Language :: Python :: 3.7',
91-
'Programming Language :: Python :: 3.8',
9289
'Programming Language :: Python :: 3.9',
9390
'Programming Language :: Python :: 3.10',
9491
'Programming Language :: Python :: 3.11',
@@ -160,6 +157,6 @@ class OpenLDAP2:
160157
'pyasn1_modules >= 0.1.5',
161158
],
162159
zip_safe=False,
163-
python_requires='>=3.6',
160+
python_requires='>=3.9',
164161
test_suite = 'Tests',
165162
)

tox.ini

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,12 @@
55

66
[tox]
77
# Note: when updating Python versions, also change setup.py and .github/worlflows/*
8-
envlist = py{36,37,38,39,310,311,312},c90-py{36,37},py3-nosasltls,doc,py3-trace,pypy3.9
8+
envlist = py{39,310,311,312},py3-nosasltls,doc,py3-trace,pypy3.9
99
minver = 1.8
1010

1111
[gh-actions]
1212
python =
13-
3.6: py36
14-
3.7: py37
15-
3.8: py38, doc, py3-nosasltls
16-
3.9: py39, py3-trace
13+
3.9: py39, py3-trace, doc, py3-nosasltls
1714
3.10: py310
1815
3.11: py311
1916
3.12: py312

0 commit comments

Comments
 (0)