Skip to content

Add 3.10 python support badge and docker file #918

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

Merged
merged 17 commits into from
Jan 11, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
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
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