From 5acddbd466dca342e7eca03d58485cb1a50471e8 Mon Sep 17 00:00:00 2001 From: Hemna Date: Wed, 23 Nov 2022 13:28:38 -0500 Subject: [PATCH] Fixed failing unit tests This patch re-adds in the pytz lib for the generic time plugins. --- aprsd/plugins/time.py | 2 ++ dev-requirements.txt | 4 ++++ requirements.in | 1 + requirements.txt | 1 + 4 files changed, 8 insertions(+) diff --git a/aprsd/plugins/time.py b/aprsd/plugins/time.py index d63c07e..f668544 100644 --- a/aprsd/plugins/time.py +++ b/aprsd/plugins/time.py @@ -2,6 +2,8 @@ import logging import re import time +import pytz + from aprsd import plugin, plugin_utils from aprsd.utils import fuzzy, trace diff --git a/dev-requirements.txt b/dev-requirements.txt index f7b793f..0a6d9dc 100644 --- a/dev-requirements.txt +++ b/dev-requirements.txt @@ -94,3 +94,7 @@ urllib3==1.26.12 # via requests, twine virtualenv==20.16.7 # via pre-commit, tox webencodings==0.5.1 # via bleach zipp==3.10.0 # via importlib-metadata, importlib-resources + +# The following packages are considered to be unsafe in a requirements file: +# pip +# setuptools diff --git a/requirements.in b/requirements.in index 04216bf..c854366 100644 --- a/requirements.in +++ b/requirements.in @@ -13,6 +13,7 @@ pyyaml # requests. py3-validate-email requests +pytz six thesmuggler update_checker diff --git a/requirements.txt b/requirements.txt index bb1e300..5fadfa4 100644 --- a/requirements.txt +++ b/requirements.txt @@ -38,6 +38,7 @@ pyserial-asyncio==0.6 # via kiss3 pyserial==3.5 # via pyserial-asyncio python-engineio==4.3.4 # via python-socketio python-socketio==5.7.2 # via flask-socketio +pytz==2022.6 # via -r requirements.in pyyaml==6.0 # via -r requirements.in requests==2.28.1 # via -r requirements.in, update-checker rich==12.6.0 # via -r requirements.in