Skip to content

Commit 1dc2077

Browse files
author
Tony Crisci
committed
add python3.10 to the test suite
1 parent d0fa10b commit 1dc2077

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

Dockerfile

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,17 @@ RUN export DEBIAN_FRONTEND=noninteractive; \
2020
python3.7 \
2121
python3.9 \
2222
python3.9-distutils \
23+
python3.10 \
24+
python3.10-distutils \
25+
curl \
2326
dbus \
2427
python3-gi
2528

2629
COPY requirements.txt .
2730

2831
RUN pip3 install yapf flake8 && \
29-
for py in python3 python3.6 python3.7 python3.9; do \
32+
for py in python3 python3.6 python3.7 python3.9 python3.10; do \
33+
curl https://bootstrap.pypa.io/get-pip.py | $py; \
3034
$py -m pip install \
3135
pytest \
3236
pytest-asyncio \

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ format:
1313
python3 -m yapf -rip $(source_dirs)
1414

1515
test:
16-
for py in python3.6 python3.7 python3.9 python3.8 ; do \
16+
for py in python3.10 python3.6 python3.7 python3.8 python3.9 ; do \
1717
if hash $$py; then \
1818
dbus-run-session $$py -m pytest -sv --cov=dbus_next || exit 1 ; \
1919
fi \

0 commit comments

Comments
 (0)