build: update python dependencies

The latest version of several dependencies has deprecated
Python 3.7.  Update Moonraker's requirements so that
the latest version is installed without breaking existing
installations.

Signed-off-by:  Eric Callahan <arksine.code@gmail.com>
This commit is contained in:
Eric Callahan 2023-10-10 16:30:39 -04:00
parent b676773602
commit fd11c08b99
No known key found for this signature in database
GPG Key ID: 5A1EB336DFB4C71B
2 changed files with 12 additions and 6 deletions

View File

@ -6,12 +6,15 @@ authors = [
{name = "Eric Callahan", email = "arksine.code@gmail.com"}, {name = "Eric Callahan", email = "arksine.code@gmail.com"},
] ]
dependencies = [ dependencies = [
"tornado==6.2.0", "tornado==6.2.0 ; python_version=='3.7'",
"tornado==6.3.3 ; python_version>='3.8'",
"pyserial==3.4", "pyserial==3.4",
"pyserial-asyncio==0.6", "pyserial-asyncio==0.6",
"pillow==9.3.0", "pillow==9.5.0 ; python_version=='3.7'",
"pillow==10.0.1 ; python_version>='3.8'",
"lmdb==1.4.1", "lmdb==1.4.1",
"streaming-form-data==1.11.0", "streaming-form-data==1.11.0 ; python_version=='3.7'",
"streaming-form-data==1.13.0 ; python_version>='3.8'",
"distro==1.8.0", "distro==1.8.0",
"inotify-simple==1.3.5", "inotify-simple==1.3.5",
"libnacl==1.8.0", "libnacl==1.8.0",

View File

@ -1,10 +1,13 @@
# Python dependencies for Moonraker # Python dependencies for Moonraker
tornado==6.2.0 tornado==6.2.0 ; python_version=='3.7'
tornado==6.3.3 ; python_version>='3.8'
pyserial==3.4 pyserial==3.4
pyserial-asyncio==0.6 pyserial-asyncio==0.6
pillow==9.3.0 pillow==9.5.0 ; python_version=='3.7'
pillow==10.0.1 ; python_version>='3.8'
lmdb==1.4.1 lmdb==1.4.1
streaming-form-data==1.11.0 streaming-form-data==1.11.0 ; python_version=='3.7'
streaming-form-data==1.13.0 ; python_version>='3.8'
distro==1.8.0 distro==1.8.0
inotify-simple==1.3.5 inotify-simple==1.3.5
libnacl==1.8.0 libnacl==1.8.0