Skip to content

Commit 43f2257

Browse files
committed
ci: Add Python 3.13 CI build
1 parent 7356980 commit 43f2257

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
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', '3.11', '3.12' ]
21+
python-version: [ '3.6', '3.7', '3.8', '3.9', '3.11', '3.12', '3.13' ]
2222

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

Dockerfile.qa

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ RUN apt install -y \
2626
python$PYTHON_VERSION-dev \
2727
python3-pip
2828

29+
# Install curl
30+
RUN apt-get install -y curl
31+
2932
# install distutils.util
3033
RUN if [ $PYTHON_VERSION = '3.7' ] ; then \
3134
apt install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ;\
@@ -40,6 +43,9 @@ RUN if [ $PYTHON_VERSION = '3.7' ] ; then \
4043
elif [ $PYTHON_VERSION = '3.12' ] ; then \
4144
apt install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ; \
4245
curl -sS https://bootstrap.pypa.io/get-pip.py | python$PYTHON_VERSION ; \
46+
elif [ $PYTHON_VERSION = '3.13' ] ; then \
47+
apt install -y python$PYTHON_VERSION-distutils python3-distutils-extra python3-apt --reinstall ; \
48+
curl -sS https://bootstrap.pypa.io/get-pip.py | python$PYTHON_VERSION ; \
4349
else \
4450
apt install -y python3-distutils python3-distutils-extra python3-apt --reinstall ; \
4551
fi

0 commit comments

Comments
 (0)