Skip to content

Commit 744c0d4

Browse files
author
Frode Aannevik
committed
Bump python from 3.8 to 3.10
- Bump pytest from 5.3.4 to 7.2.0 The old version of pytest did not support python3.10 Rel: pytest-dev/pytest#8540
1 parent eecd752 commit 744c0d4

File tree

2 files changed

+10
-5
lines changed

2 files changed

+10
-5
lines changed

Dockerfile

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
FROM python:3.8.1-alpine3.11
2-
3-
COPY requirements.txt .
1+
FROM python:3.10.8-alpine3.16
42

53
RUN apk --no-cache --update add openssl libffi
4+
COPY requirements.txt .
65
RUN apk --no-cache --update add --virtual build-dependencies build-base libffi-dev openssl-dev \
76
&& pty=False python3 -m pip install --disable-pip-version-check -r requirements.txt \
87
&& apk del build-dependencies

requirements.txt

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,15 +6,19 @@ boto3==1.18.63
66
botocore==1.21.63
77
bravado-core==5.16.0
88
certifi==2019.11.28
9-
cffi==1.13.2
9+
cffi==1.15.1
1010
chardet==3.0.4
11+
charset-normalizer==2.0.12
1112
colorama==0.4.1
1213
cryptography==3.3.2
1314
docutils==0.15.2
15+
exceptiongroup==1.0.4
1416
glob2==0.7
1517
idna==2.8
1618
importlib-metadata==1.4.0
19+
iniconfig==1.1.1
1720
jmespath==0.9.4
21+
jsonpointer==2.3
1822
jsonref==0.2
1923
jsonschema==3.2.0
2024
Mako==1.2.2
@@ -32,7 +36,7 @@ pycparser==2.19
3236
PyJWT==2.4.0
3337
pyparsing==2.4.6
3438
pyrsistent==0.15.7
35-
pytest==5.3.4
39+
pytest==7.2.0
3640
pytest-bdd==3.2.1
3741
pytest-parallel==0.1.0
3842
python-dateutil==2.8.1
@@ -46,6 +50,8 @@ simplejson==3.17.0
4650
six==1.14.0
4751
strict-rfc3339==0.7
4852
swagger-spec-validator==2.4.3
53+
tblib==1.7.0
54+
tomli==2.0.1
4955
urllib3==1.26.5
5056
wcwidth==0.1.8
5157
webcolors==1.10

0 commit comments

Comments
 (0)