Skip to content

Commit 1055323

Browse files
committed
add 3.11 into support
1 parent c638cbb commit 1055323

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

.github/workflows/test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
strategy:
1919
fail-fast: false
2020
matrix:
21-
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
21+
python-version: ['3.6', '3.7', '3.8', '3.9', '3.11']
2222

2323
steps:
2424
- uses: actions/checkout@v3

Dockerfile.qa

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM ubuntu:22.04
1+
FROM ubuntu:20.04
22

33
ARG DEBIAN_FRONTEND=noninteractive
44
ARG PYTHON_VERSION
@@ -24,11 +24,11 @@ RUN if [ $PYTHON_VERSION = '3.7' ] ; then \
2424
apt-get install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ;\
2525
elif [ $PYTHON_VERSION = '3.6' ] ; then \
2626
apt-get install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ;\
27-
elif [ $PYTHON_VERSION != '3.10' ] ; then \
28-
apt-get install -y python3-distutils python3-distutils-extra python3-apt --reinstall ; \
29-
else \
27+
elif [ $PYTHON_VERSION = '3.10' ] ; then \
3028
apt-get install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ; \
31-
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 ; \
29+
curl -sS https://bootstrap.pypa.io/get-pip.py | python$PYTHON_VERSION ; \
30+
else \
31+
apt-get install -y python3-distutils python3-distutils-extra python3-apt --reinstall ; \
3232
fi
3333

3434
# Register the version in alternatives

0 commit comments

Comments
 (0)