From 6000db329a9338eae68ba133fdcc37a35d4492ca Mon Sep 17 00:00:00 2001 From: Sophie Matthews Date: Tue, 13 Aug 2024 03:21:21 -0700 Subject: [PATCH 1/2] Add support to build on Ubuntu Noble / Python 3.8 --- debian/rules | 5 ++++- requirements.txt | 10 +++++----- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/debian/rules b/debian/rules index bf47628..6d0c0ba 100755 --- a/debian/rules +++ b/debian/rules @@ -3,7 +3,10 @@ export DH_OPTIONS -ifeq ($(shell (. /etc/lsb-release && dpkg --compare-versions $$DISTRIB_RELEASE ge "22.04" && echo yes || echo no)),yes) +ifeq ($(shell (. /etc/lsb-release && dpkg --compare-versions $$DISTRIB_RELEASE ge "24.04" && echo yes || echo no)),yes) + python3_depends = python3.8, python3.8-distutils + python3_runtime = python3.8 +else ifeq ($(shell (. /etc/lsb-release && dpkg --compare-versions $$DISTRIB_RELEASE ge "22.04" && echo yes || echo no)),yes) python3_depends = python3.7, python3.7-distutils python3_runtime = python3.7 else diff --git a/requirements.txt b/requirements.txt index 0a5dc6c..002dd60 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,15 +1,15 @@ -backports.ssl-match-hostname==3.5.0.1 callee==0.3.1 -certifi==2018.1.18 -chardet==3.0.4 +certifi==2024.7.4 +chardet==5.1.0 docker==5.0.3 docker-pycreds==0.2.2 future==0.16.0 idna==2.6 ipaddress==1.0.19 -python-dateutil==2.6.1 +python-dateutil==2.9.0 pytimeparse==1.1.8 -requests==2.20.0 +requests==2.32.3 +setuptools==70.1.1 six==1.11.0 urllib3==1.24.2 websocket-client==0.57.0 From c00f2b2bfa1ff8db659c3f58e359cf8c271c0ffb Mon Sep 17 00:00:00 2001 From: Sophie Matthews Date: Tue, 13 Aug 2024 04:01:45 -0700 Subject: [PATCH 2/2] Dependencies for both Py 3.7 and 3.8 --- requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/requirements.txt b/requirements.txt index 002dd60..e9effef 100644 --- a/requirements.txt +++ b/requirements.txt @@ -8,8 +8,8 @@ idna==2.6 ipaddress==1.0.19 python-dateutil==2.9.0 pytimeparse==1.1.8 -requests==2.32.3 -setuptools==70.1.1 +requests==2.31.0 +setuptools==68.0.0 six==1.11.0 urllib3==1.24.2 websocket-client==0.57.0