From 7d8e7ccec1db163ae010e7e9baea7c1f398ba4ce Mon Sep 17 00:00:00 2001 From: Nico OVH <106733633+nicoovh@users.noreply.github.com> Date: Wed, 21 Dec 2022 14:26:08 +0100 Subject: [PATCH] pin pytz version to 2022.7 in requirements.txt When pytz/tzdata release a new version together, if both are not pinned together, we end up with a mixed, non compatible versions. It happens this month with netbox version 3.3.8, because a fresh install would get ``tzdata==2022.6``, as pinned in requirements.txt, and ``pytz==2022.7``. Which may lead to following error: ``zoneinfo._common.ZoneInfoNotFoundError: 'No time zone found with key America/Ciudad_Juarez'`` I suggest to pin both versions in the requirements.txt file. --- requirements.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements.txt b/requirements.txt index 5a0e74669..c08734b1e 100644 --- a/requirements.txt +++ b/requirements.txt @@ -31,6 +31,7 @@ social-auth-core[openidconnect]==4.3.0 svgwrite==1.4.3 tablib==3.3.0 tzdata==2022.7 +pytz==2022.7 # Workaround for #7401 jsonschema==3.2.0