Skip to content

Commit

Permalink
Bump python from 3.8 to 3.10
Browse files Browse the repository at this point in the history
- 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
  • Loading branch information
Frode Aannevik committed Nov 19, 2022
1 parent eecd752 commit 744c0d4
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
5 changes: 2 additions & 3 deletions Dockerfile
@@ -1,8 +1,7 @@
FROM python:3.8.1-alpine3.11

COPY requirements.txt .
FROM python:3.10.8-alpine3.16

RUN apk --no-cache --update add openssl libffi
COPY requirements.txt .
RUN apk --no-cache --update add --virtual build-dependencies build-base libffi-dev openssl-dev \
&& pty=False python3 -m pip install --disable-pip-version-check -r requirements.txt \
&& apk del build-dependencies
10 changes: 8 additions & 2 deletions requirements.txt
Expand Up @@ -6,15 +6,19 @@ boto3==1.18.63
botocore==1.21.63
bravado-core==5.16.0
certifi==2019.11.28
cffi==1.13.2
cffi==1.15.1
chardet==3.0.4
charset-normalizer==2.0.12
colorama==0.4.1
cryptography==3.3.2
docutils==0.15.2
exceptiongroup==1.0.4
glob2==0.7
idna==2.8
importlib-metadata==1.4.0
iniconfig==1.1.1
jmespath==0.9.4
jsonpointer==2.3
jsonref==0.2
jsonschema==3.2.0
Mako==1.2.2
Expand All @@ -32,7 +36,7 @@ pycparser==2.19
PyJWT==2.4.0
pyparsing==2.4.6
pyrsistent==0.15.7
pytest==5.3.4
pytest==7.2.0
pytest-bdd==3.2.1
pytest-parallel==0.1.0
python-dateutil==2.8.1
Expand All @@ -46,6 +50,8 @@ simplejson==3.17.0
six==1.14.0
strict-rfc3339==0.7
swagger-spec-validator==2.4.3
tblib==1.7.0
tomli==2.0.1
urllib3==1.26.5
wcwidth==0.1.8
webcolors==1.10
Expand Down

0 comments on commit 744c0d4

Please sign in to comment.