Skip to content

Commit 71b795d

Browse files
authored
chore: remove CPython3.4 advertised support and add CPython3.8 (#217)
* chore: remove CPython3.4 advertised support and add CPython3.8 * docs: update readmes to reflect 3.5 minimum
1 parent 9ec35ef commit 71b795d

File tree

8 files changed

+69
-57
lines changed

8 files changed

+69
-57
lines changed

.travis.yml

+45-29
Original file line numberDiff line numberDiff line change
@@ -15,19 +15,6 @@ matrix:
1515
- python: 2.7
1616
env: TOXENV=py27-examples
1717
stage: Client Tests
18-
# CPython 3.4
19-
- python: 3.4
20-
env: TOXENV=py34-local
21-
stage: Client Tests
22-
- python: 3.4
23-
env: TOXENV=py34-integ
24-
stage: Client Tests
25-
- python: 3.4
26-
env: TOXENV=py34-accept
27-
stage: Client Tests
28-
- python: 3.4
29-
env: TOXENV=py34-examples
30-
stage: Client Tests
3118
# CPython 3.5
3219
- python: 3.5
3320
env: TOXENV=py35-local
@@ -77,6 +64,29 @@ matrix:
7764
dist: xenial
7865
sudo: true
7966
stage: Client Tests
67+
# CPython 3.8
68+
# xenial + sudo are currently needed to get 3.8
69+
# https://github.com/travis-ci/travis-ci/issues/9815
70+
- python: 3.8
71+
env: TOXENV=py38-local
72+
dist: xenial
73+
sudo: true
74+
stage: Client Tests
75+
- python: 3.8
76+
env: TOXENV=py38-integ
77+
dist: xenial
78+
sudo: true
79+
stage: Client Tests
80+
- python: 3.8
81+
env: TOXENV=py38-accept
82+
dist: xenial
83+
sudo: true
84+
stage: Client Tests
85+
- python: 3.8
86+
env: TOXENV=py38-examples
87+
dist: xenial
88+
sudo: true
89+
stage: Client Tests
8090
# Upstream tests
8191
- python: 3.6
8292
env: TOXENV=nocmk
@@ -148,22 +158,6 @@ matrix:
148158
TEST_VECTOR_HANDLERS=1
149159
TOXENV=py27-awses_latest
150160
stage: Test Vector Handler Tests
151-
# CPython 3.4
152-
- python: 3.4
153-
env:
154-
TEST_VECTOR_HANDLERS=1
155-
TOXENV=py34-awses_1.3.3
156-
stage: Test Vector Handler Tests
157-
- python: 3.4
158-
env:
159-
TEST_VECTOR_HANDLERS=1
160-
TOXENV=py34-awses_1.3.max
161-
stage: Test Vector Handler Tests
162-
- python: 3.4
163-
env:
164-
TEST_VECTOR_HANDLERS=1
165-
TOXENV=py34-awses_latest
166-
stage: Test Vector Handler Tests
167161
# CPython 3.5
168162
- python: 3.5
169163
env:
@@ -218,6 +212,28 @@ matrix:
218212
dist: xenial
219213
sudo: true
220214
stage: Test Vector Handler Tests
215+
# CPython 3.8
216+
- python: 3.8
217+
env:
218+
TEST_VECTOR_HANDLERS=1
219+
TOXENV=py38-awses_1.3.3
220+
dist: xenial
221+
sudo: true
222+
stage: Test Vector Handler Tests
223+
- python: 3.8
224+
env:
225+
TEST_VECTOR_HANDLERS=1
226+
TOXENV=py38-awses_1.3.max
227+
dist: xenial
228+
sudo: true
229+
stage: Test Vector Handler Tests
230+
- python: 3.8
231+
env:
232+
TEST_VECTOR_HANDLERS=1
233+
TOXENV=py38-awses_latest
234+
dist: xenial
235+
sudo: true
236+
stage: Test Vector Handler Tests
221237
# Linters
222238
- python: 3.6
223239
env:

README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ Getting Started
3636
Required Prerequisites
3737
======================
3838

39-
* Python 2.7+ or 3.4+
39+
* Python 2.7+ or 3.5+
4040
* cryptography >= 1.8.1
4141
* boto3
4242
* attrs

appveyor.yml

+18-22
Original file line numberDiff line numberDiff line change
@@ -24,28 +24,6 @@ environment:
2424
- PYTHON: "C:\\Python27-x64"
2525
TOXENV: "py27-examples"
2626

27-
# Python 3.4
28-
- PYTHON: "C:\\Python34"
29-
TOXENV: "py34-local"
30-
- PYTHON: "C:\\Python34"
31-
TOXENV: "py34-integ"
32-
- PYTHON: "C:\\Python34"
33-
TOXENV: "py34-accept"
34-
- PYTHON: "C:\\Python34"
35-
TOXENV: "py34-examples"
36-
- PYTHON: "C:\\Python34-x64"
37-
DISTUTILS_USE_SDK: "1"
38-
TOXENV: "py34-local"
39-
- PYTHON: "C:\\Python34-x64"
40-
DISTUTILS_USE_SDK: "1"
41-
TOXENV: "py34-integ"
42-
- PYTHON: "C:\\Python34-x64"
43-
DISTUTILS_USE_SDK: "1"
44-
TOXENV: "py34-accept"
45-
- PYTHON: "C:\\Python34-x64"
46-
DISTUTILS_USE_SDK: "1"
47-
TOXENV: "py34-examples"
48-
4927
# Python 3.5
5028
- PYTHON: "C:\\Python35"
5129
TOXENV: "py35-local"
@@ -100,6 +78,24 @@ environment:
10078
- PYTHON: "C:\\Python37-x64"
10179
TOXENV: "py37-examples"
10280

81+
# Python 3.8
82+
- PYTHON: "C:\\Python38"
83+
TOXENV: "py38-local"
84+
- PYTHON: "C:\\Python38"
85+
TOXENV: "py38-integ"
86+
- PYTHON: "C:\\Python38"
87+
TOXENV: "py38-accept"
88+
- PYTHON: "C:\\Python38"
89+
TOXENV: "py38-examples"
90+
- PYTHON: "C:\\Python38-x64"
91+
TOXENV: "py38-local"
92+
- PYTHON: "C:\\Python38-x64"
93+
TOXENV: "py38-integ"
94+
- PYTHON: "C:\\Python38-x64"
95+
TOXENV: "py38-accept"
96+
- PYTHON: "C:\\Python38-x64"
97+
TOXENV: "py38-examples"
98+
10399
install:
104100
# Prepend newly installed Python to the PATH of this build
105101
- "SET PATH=%PYTHON%;%PYTHON%\\Scripts;%PATH%"

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ def get_requirements():
4848
"Programming Language :: Python :: 2",
4949
"Programming Language :: Python :: 2.7",
5050
"Programming Language :: Python :: 3",
51-
"Programming Language :: Python :: 3.4",
5251
"Programming Language :: Python :: 3.5",
5352
"Programming Language :: Python :: 3.6",
5453
"Programming Language :: Python :: 3.7",
54+
"Programming Language :: Python :: 3.8",
5555
"Programming Language :: Python :: Implementation :: CPython",
5656
"Topic :: Security",
5757
"Topic :: Security :: Cryptography",

test_vector_handlers/README.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ Getting Started
1212
Required Prerequisites
1313
======================
1414

15-
* Python 2.7 or 3.4+
15+
* Python 2.7 or 3.5+
1616
* aws-encryption-sdk
1717

1818
Use

test_vector_handlers/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ def get_requirements():
4848
"Programming Language :: Python :: 2",
4949
"Programming Language :: Python :: 2.7",
5050
"Programming Language :: Python :: 3",
51-
"Programming Language :: Python :: 3.4",
5251
"Programming Language :: Python :: 3.5",
5352
"Programming Language :: Python :: 3.6",
5453
"Programming Language :: Python :: 3.7",
54+
"Programming Language :: Python :: 3.8",
5555
"Programming Language :: Python :: Implementation :: CPython",
5656
"Topic :: Security",
5757
"Topic :: Security :: Cryptography",

test_vector_handlers/tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{27,34,35,36,37}-awses_{1.3.3,1.3.max,latest},
3+
py{27,35,36,37,38}-awses_{1.3.3,1.3.max,latest},
44
# 1.2.0 and 1.2.max are being difficult because of attrs
55
bandit, doc8, readme, docs,
66
{flake8,pylint}{,-tests},

tox.ini

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[tox]
22
envlist =
3-
py{27,34,35,36,37}-{local,integ,accept,examples}, nocmk,
3+
py{27,35,36,37,38}-{local,integ,accept,examples}, nocmk,
44
bandit, doc8, readme, docs,
55
{flake8,pylint}{,-tests,-examples},
66
isort-check, black-check,

0 commit comments

Comments
 (0)