From 7a31d856a6c2e5d8da3ef9c7f067a11f1b7a7e77 Mon Sep 17 00:00:00 2001
From: jotaen4tinypilot <83721279+jotaen4tinypilot@users.noreply.github.com>
Date: Fri, 24 May 2024 17:59:22 +0200
Subject: [PATCH] Upgrade pip dependencies (#1802)
Resolves https://github.com/tiny-pilot/tinypilot-pro/issues/1336.
This PR upgrades a few of our Python dependencies. Coincidentally, all
license paths were slightly changed for these packages.
@jdeanwallace it would be cool if you could briefly QA this on device as
well, just as a quick double-check.
Co-authored-by: Jan Heuermann
---
app/license_notice.py | 8 ++++----
requirements.txt | 8 ++++----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/app/license_notice.py b/app/license_notice.py
index df1ea3d4e..425fc131f 100644
--- a/app/license_notice.py
+++ b/app/license_notice.py
@@ -70,7 +70,7 @@ class LicenseMetadata:
name='eventlet',
homepage_url='https://eventlet.net',
license_glob_pattern=
- './venv/lib/python3.*/site-packages/eventlet-*.dist-info/LICENSE*',
+ './venv/lib/python3.*/site-packages/eventlet-*.dist-info/licenses/LICENSE*',
),
LicenseMetadata(
name='Flask',
@@ -118,7 +118,7 @@ class LicenseMetadata:
name='dnspython',
homepage_url='https://www.dnspython.org',
license_glob_pattern=
- './venv/lib/python3.*/site-packages/dnspython-*.dist-info/LICENSE*',
+ './venv/lib/python3.*/site-packages/dnspython-*.dist-info/licenses/LICENSE*',
),
LicenseMetadata(
name='greenlet',
@@ -142,7 +142,7 @@ class LicenseMetadata:
name='Jinja2',
homepage_url='https://palletsprojects.com/p/jinja/',
license_glob_pattern=
- './venv/lib/python3.*/site-packages/Jinja2-*.dist-info/LICENSE*',
+ './venv/lib/python3.*/site-packages/jinja2-*.dist-info/LICENSE*',
),
LicenseMetadata(
name='MarkupSafe',
@@ -172,7 +172,7 @@ class LicenseMetadata:
name='Werkzeug',
homepage_url='https://palletsprojects.com/p/werkzeug/',
license_glob_pattern=
- './venv/lib/python3.*/site-packages/Werkzeug-*.dist-info/LICENSE*',
+ './venv/lib/python3.*/site-packages/werkzeug-*.dist-info/LICENSE*',
),
LicenseMetadata(
name='WTForms',
diff --git a/requirements.txt b/requirements.txt
index bb9ad5988..a1ae4dd5b 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,7 +1,7 @@
# See the "Updating Python pip packages" section of CONTRIBUTING.md for
# instructions about updating this file.
-eventlet==0.33.3
+eventlet==0.35.2
Flask==2.3.2
Flask-SocketIO==5.3.4
Flask-WTF==1.1.1
@@ -11,15 +11,15 @@ PyYAML==6.0.1
bidict==0.22.1
blinker==1.6.2
click==8.1.6
-dnspython==2.4.1
+dnspython==2.6.1
greenlet==2.0.2
importlib-metadata==6.8.0
itsdangerous==2.1.2
-Jinja2==3.1.3
+Jinja2==3.1.4
MarkupSafe==2.1.3
python-engineio==4.5.1
python-socketio==5.8.0
six==1.16.0
-Werkzeug==2.3.6
+Werkzeug==2.3.8
WTForms==3.0.1
zipp==3.16.2