Freeze Python dependencies with pip freeze -l (#1322)

* Freeze Python dependencies with 'pip freeze -l'

* Freeze common dependencies; add section to README
This commit is contained in:
Daniel Markstedt 2023-11-09 19:44:32 +09:00 committed by GitHub
parent 1585a2fb70
commit bd33f66694
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 37 additions and 5 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

View File

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

View File

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