Skip to content

Commit 7c93fc5

Browse files
committed
Add PyPy3 tests + documentation
1 parent 8c17870 commit 7c93fc5

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

Dockerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y \
1717
openjdk-8-jdk-headless \
1818
php-cli \
1919
postgresql-client \
20+
pypy3 \
2021
python3-pip \
2122
python3.12 \
2223
python3.12-dev \

cmstestsuite/Tests.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,11 +49,12 @@
4949
LANG_PASCAL = "Pascal / fpc"
5050
LANG_PHP = "PHP"
5151
LANG_PYTHON3 = "Python 3 / CPython"
52+
LANG_PYPY3 = "Python 3 / PyPy3"
5253
LANG_RUST = "Rust"
5354
LANG_C_SHARP = "C# / Mono"
5455
ALL_LANGUAGES = (
5556
LANG_CPP, LANG_CPP14, LANG_CPP17, LANG_C, LANG_HS, LANG_JAVA, LANG_PASCAL,
56-
LANG_PHP, LANG_PYTHON3, LANG_RUST, LANG_C_SHARP
57+
LANG_PHP, LANG_PYTHON3, LANG_PYPY3, LANG_RUST, LANG_C_SHARP
5758
)
5859
NON_INTERPRETED_LANGUAGES = (
5960
LANG_C, LANG_CPP, LANG_CPP14, LANG_CPP17, LANG_PASCAL

docs/Installation.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,7 +214,7 @@ To install CMS and its Python dependencies on Ubuntu, you can issue:
214214
python3-xdg python3-jinja2
215215

216216
# Optional.
217-
# sudo apt-get install python3-yaml python3-sphinx python3-cups python3-pypdf2
217+
# sudo apt-get install python3-yaml python3-sphinx python3-cups python3-pypdf2 pypy3
218218

219219
Method 4: Using ``pacman`` on Arch Linux
220220
----------------------------------------
@@ -239,7 +239,7 @@ To install CMS python dependencies on Arch Linux (again: assuming you did not us
239239
# https://aur.archlinux.org/packages/patool/
240240

241241
# Optional.
242-
# sudo pacman -S --needed python-yaml python-sphinx python-pycups
242+
# sudo pacman -S --needed python-yaml python-sphinx python-pycups pypy3
243243
# Optionally install the following from AUR.
244244
# https://aur.archlinux.org/packages/python-pypdf2/
245245

0 commit comments

Comments
 (0)