Upgrade all pip dependencies to their latest versions (#1532)

Part of https://github.com/tiny-pilot/tinypilot-pro/issues/1002,
~stacked onto [the Python 3.9
upgrade](https://github.com/tiny-pilot/tinypilot/pull/1531)~ (merged).

This PR upgrades all pip/Python dependencies to their latest version,
following our [new guide for that
process](e845e1165b/CONTRIBUTING.md (L187-L201)).
A few notes:

- According to their changelogs,
[`Flask`](https://flask.palletsprojects.com/en/2.3.x/changes/),
[`Flask-WTF`](https://flask-wtf.readthedocs.io/en/1.1.x/changes/), and
[`eventlet`](http://eventlet.net/doc/changelog.html) should be safe to
bump to their latest versions.
- With `eventlet`, it’s slightly strange, since according to their
[changelog the latest *documented* version is
0.33.0](https://eventlet.net/doc/changelog.html), but the [latest
*available* version is
0.33.3](https://github.com/eventlet/eventlet/tags). We also *have* to
use [0.33.3, due to this
bug](https://github.com/eventlet/eventlet/issues/781) – 0.33.0 doesn’t
work with Flask, it wouldn’t even start the app due to an import issue.
- [`PyYAML`](https://pypi.org/project/PyYAML/) was already up to date
(at 6.0.1)
- `monotonic` and `typing_extensions` no longer appear as indirect
dependencies, so I have removed them from the license page
- `dnspython` is a new indirect dependency, but for some reason [we
already had it listed on our license
page](e845e1165b/app/license_notice.py (L111-L115))
- `blinker` is new as well

It would be cool if you could QA this PR on your end.
<a data-ca-tag
href="https://codeapprove.com/pr/tiny-pilot/tinypilot/1532"><img
src="https://codeapprove.com/external/github-tag-allbg.png" alt="Review
on CodeApprove" /></a>
This commit is contained in:
jotaen4tinypilot
2023-07-27 20:27:49 +02:00
committed by GitHub
parent 4ecc5543db
commit c3d10f3250
2 changed files with 22 additions and 29 deletions

View File

@@ -102,6 +102,12 @@ _LICENSE_METADATA = [
license_glob_pattern=
'./venv/lib/python3.*/site-packages/bidict-*.dist-info/LICENSE*',
),
LicenseMetadata(
name='blinker',
homepage_url='https://blinker.readthedocs.io/',
license_glob_pattern=
'./venv/lib/python3.*/site-packages/blinker-*.dist-info/LICENSE*',
),
LicenseMetadata(
name='click',
homepage_url='https://palletsprojects.com/p/click',
@@ -144,12 +150,6 @@ _LICENSE_METADATA = [
license_glob_pattern=
'./venv/lib/python3.*/site-packages/MarkupSafe-*.dist-info/LICENSE*',
),
LicenseMetadata(
name='monotonic',
homepage_url='https://github.com/atdt/monotonic',
license_url=
'https://raw.githubusercontent.com/atdt/monotonic/1.5/LICENSE',
),
LicenseMetadata(
name='python-engineio',
homepage_url='https://github.com/miguelgrinberg/python-engineio',
@@ -168,12 +168,6 @@ _LICENSE_METADATA = [
license_glob_pattern=
'./venv/lib/python3.*/site-packages/six-*.dist-info/LICENSE*',
),
LicenseMetadata(
name='typing_extensions',
homepage_url='https://typing-extensions.readthedocs.io/',
license_glob_pattern=
'./venv/lib/python3.*/site-packages/typing_extensions-*.dist-info/LICENSE*',
),
LicenseMetadata(
name='Werkzeug',
homepage_url='https://palletsprojects.com/p/werkzeug/',

View File

@@ -1,26 +1,25 @@
# See the "Updating Python pip packages" section of CONTRIBUTING.md for
# instructions about updating this file.
eventlet==0.31.0
Flask==1.1.1
eventlet==0.33.3
Flask==2.3.2
Flask-SocketIO==5.3.4
Flask-WTF==0.14.3
Flask-WTF==1.1.1
PyYAML==6.0.1
# Indirect dependencies
bidict==0.21.2
click==7.1.2
dnspython==1.16.0
greenlet==1.1.3
importlib-metadata==6.7.0
itsdangerous==1.1.0
Jinja2==2.11.3
MarkupSafe==1.1.1
monotonic==1.5
bidict==0.22.1
blinker==1.6.2
click==8.1.6
dnspython==2.4.1
greenlet==2.0.2
importlib-metadata==6.8.0
itsdangerous==2.1.2
Jinja2==3.1.2
MarkupSafe==2.1.3
python-engineio==4.5.1
python-socketio==5.8.0
six==1.15.0
typing_extensions==4.7.1
Werkzeug==1.0.1
WTForms==2.3.3
zipp==3.15.0
six==1.16.0
Werkzeug==2.3.6
WTForms==3.0.1
zipp==3.16.2