From 5918cd650e98fdf7b58b66d834eb24150ae2bd6b Mon Sep 17 00:00:00 2001 From: Tom Hendrikx Date: Sat, 5 Nov 2022 00:40:28 +0100 Subject: [PATCH] Replace py-dateutil with python-dateutil `py-dateutil` is abandoned, it hasn't been touched since 2014. With Python 3.10, I receive errors like: `module 'collections' has no attribute 'Callable'`. `python-dateutil` seems to be the maintained fork of `py-dateutil`, and a drop-in replacement. Test suite runs equally with or without the changed dependency. --- requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/requirements.txt b/requirements.txt index 4b4c0b453..810028b38 100644 --- a/requirements.txt +++ b/requirements.txt @@ -24,7 +24,7 @@ gevent==22.10.1 jsonfield==3.1.0 Pillow # Optional dependency for django-ckeditor progressbar33==2.4 -py-dateutil==2.2 +python-dateutil cryptography pytz requests