Skip to content

Commit

Permalink
Add 3.10 python support badge and docker file (#918)
Browse files Browse the repository at this point in the history
* Add 3.10 python support badge
  • Loading branch information
gonchik authored Jan 11, 2022
1 parent 1d12a25 commit 6d8545a
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: ['3.6', '3.7', '3.8', '3.9']
python-version: ['3.6', '3.7', '3.8', '3.9', '3.10']

steps:
- uses: actions/checkout@v2
Expand Down
16 changes: 15 additions & 1 deletion Dockerfile.qa
Original file line number Diff line number Diff line change
@@ -1,15 +1,29 @@
FROM ubuntu:20.04

ARG DEBIAN_FRONTEND=noninteractive
ARG PYTHON_VERSION

# Install add-apt-repository
RUN apt-get update
RUN apt-get install -y software-properties-common

# Install python development
# Add python repo
RUN add-apt-repository ppa:deadsnakes/ppa
RUN apt-get update

# Install apt-utils
RUN apt-get install -y apt-utils

# Install python development
RUN apt-get install -y python$PYTHON_VERSION-dev python3-pip

# install distutils.util
RUN if [ $PYTHON_VERSION != '3.10' ] ; then \
apt-get install -y python3-distutils python3-distutils-extra python3-apt --reinstall ; \
else \
apt-get install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ; \
curl -sS https://bootstrap.pypa.io/get-pip.py | python3.10 ; \
fi
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python$PYTHON_VERSION 1

# Install kerberos development
Expand Down
1 change: 0 additions & 1 deletion atlassian/bamboo.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import logging

from requests.exceptions import HTTPError

from .rest_client import AtlassianRestAPI

log = logging.getLogger(__name__)
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
"Programming Language :: Python :: 3.10",
"Topic :: Utilities",
"Topic :: Internet",
"Topic :: Internet :: WWW/HTTP",
Expand Down

0 comments on commit 6d8545a

Please sign in to comment.