Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(nox): support Python 3.10 #315

Merged
merged 2 commits into from
Mar 11, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions docker-nox/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ RUN apt-get update -qy && \
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys F23C5A6CF475977595C89F51BA6932366A755776 && \
apt-get update -qy && \
apt-get install -qy \
openssh-client \
git \
python2.7 \
python2.7-dev \
python3.5 \
Expand All @@ -23,6 +25,9 @@ RUN apt-get update -qy && \
python3.9 \
python3.9-dev \
python3.9-distutils \
python3.10 \
python3.10-dev \
python3.10-distutils \
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Not sure if this is needed, but I saw there was one for Python 3.9.

python3-pip && \
curl https://bootstrap.pypa.io/pip/2.7/get-pip.py --output /tmp/get-pip.py && \
python2.7 /tmp/get-pip.py && \
Expand All @@ -33,5 +38,6 @@ RUN apt-get update -qy && \
python3.7 -m pip install --upgrade pip && \
python3.8 -m pip install --upgrade pip && \
python3.9 -m pip install --upgrade pip && \
python3.10 -m pip install --upgrade pip && \
python3 -m pip install 'nox==2021.10.1' && \
rm -rf /var/cache/apt/lists