Update testing Dockerfile:
- Remove Python 3.6
- Add Python 3.11
- Fix tox targets (also run isort, fix pypy target name)
diff --git a/contrib/Dockerfile b/contrib/Dockerfile
index 2db5aff..88e368e 100644
--- a/contrib/Dockerfile
+++ b/contrib/Dockerfile
@@ -15,7 +15,7 @@
# Docker image used for running tests the under all the supported Python
# versions
-FROM ubuntu:20.04
+FROM ubuntu:22.04
RUN set -e && \
apt-get update && \
@@ -27,17 +27,17 @@
add-apt-repository ppa:pypy/ppa && \
apt-get update && \
apt-get -y install \
- python3.6 \
python3.7 \
python3.8 \
python3.9 \
python3.10 \
+ python3.11 \
python-dev \
- python3.6-dev \
python3.7-dev \
python3.8-dev \
python3.9-dev \
python3.10-dev \
+ python3.11-dev \
python3.6-distutils \
python3.7-distutils \
python3.8-distutils \
@@ -62,4 +62,4 @@
WORKDIR /libcloud
-CMD ["tox", "-e", "lint,black-check,bandit,,py3.6,py3.7,py3.8,py3.9,py3.10,pypypy-3.8"]
+CMD ["tox", "-e", "lint,isort-check,black-check,bandit,py3.7,py3.8,py3.9,py3.10,py3.11,pypypy3.8"]