diff --git a/python/README.md b/python/README.md index 791e4fe8..4725850d 100644 --- a/python/README.md +++ b/python/README.md @@ -6,15 +6,25 @@ packages that are shared among the clients. The following paragraphs in this README contain instructions that are shared among all Python apps. -## Supported Python interpreter +## Supported Python interpreters The policy in this project is to support the Python 3 interpreter that comes -standard with the current stable, as well as previous stable release of Debian. +standard with the current stable, as well as the previous stable releases of Debian. At the time of writing they are: - Python 3.11 in [Debian Bookworm](https://packages.debian.org/bookworm/python3) - Python 3.9 in [Debian Bullseye](https://packages.debian.org/bullseye/python3) +## Dependencies + +We use 'pip freeze' to manage explicit Python dependencies in this project. +After adding new or bumping the versions of Python dependencies, +please run the following command in the requisite subdir commit the results: + +``` +pip freeze -l > requirements.txt +``` + ## Static analysis and formatting The CI workflow is set up to check code formatting with `black`, diff --git a/python/common/requirements.txt b/python/common/requirements.txt index 90a99b04..658ef8fe 100644 --- a/python/common/requirements.txt +++ b/python/common/requirements.txt @@ -1,3 +1,7 @@ +certifi==2023.7.22 +charset-normalizer==3.3.2 +idna==3.4 protobuf==3.19.5 requests==2.31.0 +urllib3==2.0.7 vcgencmd==0.1.1 diff --git a/python/oled/requirements.txt b/python/oled/requirements.txt index 8ea5d44c..7d240e48 100644 --- a/python/oled/requirements.txt +++ b/python/oled/requirements.txt @@ -1,4 +1,15 @@ +Adafruit-Blinka==8.24.0 +adafruit-circuitpython-busdevice==5.2.6 +adafruit-circuitpython-framebuf==1.6.4 +adafruit-circuitpython-requests==2.0.2 adafruit-circuitpython-ssd1306==2.12.11 +adafruit-circuitpython-typing==1.9.5 +Adafruit-PlatformDetect==3.53.0 +Adafruit-PureIO==1.1.11 Pillow==10.0.1 protobuf==3.20.2 -unidecode==1.3.6 +pyftdi==0.55.0 +pyserial==3.5 +pyusb==1.2.1 +typing_extensions==4.8.0 +Unidecode==1.3.6 diff --git a/python/web/requirements.txt b/python/web/requirements.txt index ed6efd1d..88e3f57d 100644 --- a/python/web/requirements.txt +++ b/python/web/requirements.txt @@ -1,10 +1,17 @@ +Babel==2.13.1 bjoern==3.2.2 +blinker==1.6.3 +charset-normalizer==2.1.1 +click==8.1.7 Flask==3.0.0 +flask-babel==4.0.0 +itsdangerous==2.1.2 Jinja2==3.1.2 +MarkupSafe==2.1.3 protobuf==3.20.2 +pytz==2023.3.post1 requests==2.31.0 simplepam==0.1.5 -flask_babel==4.0.0 ua-parser==0.16.1 vcgencmd==0.1.1 -werkzeug==3.0.1 +Werkzeug==3.0.1