Skip to content

Commit

Permalink
ci: Add Python 3.13 CI build (#1465)
Browse files Browse the repository at this point in the history
  • Loading branch information
offa authored Oct 12, 2024
1 parent 7356980 commit fb9c354
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
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', '3.11', '3.12' ]
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.11', '3.12', '3.13' ]

steps:
- uses: actions/checkout@v4
Expand Down
6 changes: 6 additions & 0 deletions Dockerfile.qa
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@ RUN apt install -y \
python$PYTHON_VERSION-dev \
python3-pip

# Install curl
RUN apt-get install -y curl

# install distutils.util
RUN if [ $PYTHON_VERSION = '3.7' ] ; then \
apt install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ;\
Expand All @@ -40,6 +43,9 @@ RUN if [ $PYTHON_VERSION = '3.7' ] ; then \
elif [ $PYTHON_VERSION = '3.12' ] ; then \
apt install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ; \
curl -sS https://bootstrap.pypa.io/get-pip.py | python$PYTHON_VERSION ; \
elif [ $PYTHON_VERSION = '3.13' ] ; then \
apt install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ; \
curl -sS https://bootstrap.pypa.io/get-pip.py | python$PYTHON_VERSION ; \
else \
apt install -y python3-distutils python3-distutils-extra python3-apt --reinstall ; \
fi
Expand Down

0 comments on commit fb9c354

Please sign in to comment.