Skip to content

Commit 195e1d2

Browse files
committed
Drop support for python version 3.6
Python version 3.6 was supported until December 23-rd 2021 (see https://endoflife.date/python) meaning its end of life has expired before more than 20 days. Dropping support for python version 3.6 will allow us to make some small cleanups. After a quick check I saw that Warehouse target python version 3.8.2: - their docker file: https://github.com/pypa/warehouse/blob/main/Dockerfile#L47 - https://github.com/pypa/warehouse/blob/main/.python-version - last pr updating pr version: pypi/warehouse#7828 Pip supports python version 3.7+ as well. They dropped python 3.6 a couple of months ago: pypa/pip#10641 This means it shouldn't cause headache to our users if we drop python version 3.6 too. Signed-off-by: Martin Vrachev <[email protected]>
1 parent feb4ee6 commit 195e1d2

File tree

4 files changed

+4
-5
lines changed

4 files changed

+4
-5
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ jobs:
1313
fail-fast: false
1414
# Run tests on each OS/Python combination
1515
matrix:
16-
python-version: ["3.6", "3.7", "3.8", "3.9", "3.10"]
16+
python-version: ["3.7", "3.8", "3.9", "3.10"]
1717
# TODO: Add windows-latest when gpg issues are solved
1818
os: [ubuntu-latest, macos-latest]
1919
toxenv: [py]

requirements.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# 1. Use this script to create a pinned requirements file for each Python
1717
# version
1818
# ```
19-
# for v in 3.6 3.7 3.8 3.9; do
19+
# for v in 3.7 3.8 3.9; do
2020
# mkvirtualenv sslib-env-${v} -p python${v};
2121
# pip install pip-tools;
2222
# pip-compile --no-header -o requirements-${v}.txt requirements.txt;

setup.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@
8888
'Operating System :: MacOS :: MacOS X',
8989
'Operating System :: Microsoft :: Windows',
9090
'Programming Language :: Python :: 3',
91-
'Programming Language :: Python :: 3.6',
9291
'Programming Language :: Python :: 3.7',
9392
'Programming Language :: Python :: 3.8',
9493
'Programming Language :: Python :: 3.9',
@@ -101,7 +100,7 @@
101100
'Source': 'https://github.com/secure-systems-lab/securesystemslib',
102101
'Issues': 'https://github.com/secure-systems-lab/securesystemslib/issues',
103102
},
104-
python_requires = "~=3.6",
103+
python_requires = "~=3.7",
105104
extras_require = {
106105
'colors': ['colorama>=0.3.9'],
107106
'crypto': ['cryptography>=3.3.2'],

tox.ini

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# and then run "tox" from this directory.
55

66
[tox]
7-
envlist = mypy, py36, py37, py38, py39, py310, purepy38, py38-no-gpg
7+
envlist = mypy, py37, py38, py39, py310, purepy38, py38-no-gpg
88
skipsdist = True
99

1010
[testenv]

0 commit comments

Comments
 (0)