From 7505baf3a14dbb7d10436ef173b8056c94376305 Mon Sep 17 00:00:00 2001 From: jeremystretch Date: Thu, 20 Oct 2022 15:49:13 -0400 Subject: [PATCH] Fixes #10712: Fix ModuleNotFoundError exception when generating API schema under Python 3.9+ --- docs/release-notes/version-3.3.md | 1 + requirements.txt | 3 +++ 2 files changed, 4 insertions(+) diff --git a/docs/release-notes/version-3.3.md b/docs/release-notes/version-3.3.md index d2d6849fa..de0f1a40a 100644 --- a/docs/release-notes/version-3.3.md +++ b/docs/release-notes/version-3.3.md @@ -15,6 +15,7 @@ * [#10643](https://github.com/netbox-community/netbox/issues/10643) - Ensure consistent display of custom fields for all model forms * [#10646](https://github.com/netbox-community/netbox/issues/10646) - Fix filtering of power feed by power panel when connecting a cable * [#10655](https://github.com/netbox-community/netbox/issues/10655) - Correct display of assigned contacts in object tables +* [#10712](https://github.com/netbox-community/netbox/issues/10712) - Fix ModuleNotFoundError exception when generating API schema under Python 3.9+ --- diff --git a/requirements.txt b/requirements.txt index 70bbd5c76..9afcaea03 100644 --- a/requirements.txt +++ b/requirements.txt @@ -34,3 +34,6 @@ tzdata==2022.4 # Workaround for #7401 jsonschema==3.2.0 + +# Temporary fix for #10712 +swagger-spec-validator==2.7.6