Просмотр исходного кода

Fixes #8683: Fix ZoneInfoNotFoundError exception under Python 3.9+

jeremystretch 4 лет назад
Родитель
Сommit
6638f560f8
3 измененных файлов с 6 добавлено и 0 удалено
  1. 4 0
      base_requirements.txt
  2. 1 0
      docs/release-notes/version-3.2.md
  3. 1 0
      requirements.txt

+ 4 - 0
base_requirements.txt

@@ -117,3 +117,7 @@ svgwrite
 # Tabular dataset library (for table-based exports)
 # https://github.com/jazzband/tablib
 tablib
+
+# Timezone data (required by django-timezone-field on Python 3.9+)
+# https://github.com/python/tzdata
+tzdata

+ 1 - 0
docs/release-notes/version-3.2.md

@@ -153,6 +153,7 @@ Where it is desired to limit the range of available VLANs within a group, users
 * [#8670](https://github.com/netbox-community/netbox/issues/8670) - Fix filtering device components by installed module
 * [#8671](https://github.com/netbox-community/netbox/issues/8671) - Fix AttributeError when viewing console/power/interface connection lists
 * [#8682](https://github.com/netbox-community/netbox/issues/8682) - Limit available VLANs by group min/max VIDs
+* [#8683](https://github.com/netbox-community/netbox/issues/8683) - Fix `ZoneInfoNotFoundError` exception under Python 3.9+
 
 ### Other Changes
 

+ 1 - 0
requirements.txt

@@ -30,6 +30,7 @@ social-auth-app-django==5.0.0
 social-auth-core==4.2.0
 svgwrite==1.4.1
 tablib==3.2.0
+tzdata==2021.5
 
 # Workaround for #7401
 jsonschema==3.2.0