Freeze common dependencies; add section to README

This commit is contained in:
Daniel Markstedt 2023-11-09 17:49:00 +09:00
parent e1d465d77f
commit e2ee517665
2 changed files with 16 additions and 2 deletions

View File

@ -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`,

View File

@ -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