Skip to content

Commit 79e8446

Browse files
committed
Add 3.10 python support badge and docker file (#918)
* Add 3.10 python support badge
1 parent 3a83b51 commit 79e8446

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
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']
21+
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']
2222

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

Dockerfile.qa

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,29 @@
11
FROM ubuntu:20.04
22

3+
ARG DEBIAN_FRONTEND=noninteractive
34
ARG PYTHON_VERSION
45

56
# Install add-apt-repository
67
RUN apt-get update
78
RUN apt-get install -y software-properties-common
89

9-
# Install python development
10+
# Add python repo
1011
RUN add-apt-repository ppa:deadsnakes/ppa
1112
RUN apt-get update
13+
14+
# Install apt-utils
15+
RUN apt-get install -y apt-utils
16+
17+
# Install python development
1218
RUN apt-get install -y python$PYTHON_VERSION-dev python3-pip
19+
20+
# install distutils.util
21+
RUN if [ $PYTHON_VERSION != '3.10' ] ; then \
22+
apt-get install -y python3-distutils python3-distutils-extra python3-apt --reinstall ; \
23+
else \
24+
apt-get install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ; \
25+
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 ; \
26+
fi
1327
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python$PYTHON_VERSION 1
1428

1529
# Install kerberos development

atlassian/bamboo.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@
22
import logging
33

44
from requests.exceptions import HTTPError
5-
65
from .rest_client import AtlassianRestAPI
76

87
log = logging.getLogger(__name__)

setup.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@
4949
"Programming Language :: Python :: 3.7",
5050
"Programming Language :: Python :: 3.8",
5151
"Programming Language :: Python :: 3.9",
52+
"Programming Language :: Python :: 3.10",
5253
"Topic :: Utilities",
5354
"Topic :: Internet",
5455
"Topic :: Internet :: WWW/HTTP",

0 commit comments

Comments
 (0)