Kaynağa Gözat

Closes #14672: Add support for Python 3.12

Jeremy Stretch 2 yıl önce
ebeveyn
işleme
1f865af559

+ 1 - 1
.github/workflows/ci.yml

@@ -9,7 +9,7 @@ jobs:
       NETBOX_CONFIGURATION: netbox.configuration_testing
       NETBOX_CONFIGURATION: netbox.configuration_testing
     strategy:
     strategy:
       matrix:
       matrix:
-        python-version: ['3.10', '3.11']
+        python-version: ['3.10', '3.11', '3.12']
         node-version: ['14.x']
         node-version: ['14.x']
     services:
     services:
       redis:
       redis:

+ 1 - 1
docs/installation/3-netbox.md

@@ -7,7 +7,7 @@ This section of the documentation discusses installing and configuring the NetBo
 Begin by installing all system packages required by NetBox and its dependencies.
 Begin by installing all system packages required by NetBox and its dependencies.
 
 
 !!! warning "Python 3.10 or later required"
 !!! warning "Python 3.10 or later required"
-    NetBox requires Python 3.10 or 3.11.
+    NetBox supports Python 3.10, 3.11, and 3.12.
 
 
 === "Ubuntu"
 === "Ubuntu"
 
 

+ 5 - 5
docs/installation/index.md

@@ -18,11 +18,11 @@ The following sections detail how to set up a new instance of NetBox:
 
 
 ## Requirements
 ## Requirements
 
 
-| Dependency | Minimum Version |
-|------------|-----------------|
-| Python     | 3.10            |
-| PostgreSQL | 12              |
-| Redis      | 4.0             |
+| Dependency | Supported Versions |
+|------------|--------------------|
+| Python     | 3.10, 3.11, 3.12   |
+| PostgreSQL | 12+                |
+| Redis      | 4.0+               |
 
 
 Below is a simplified overview of the NetBox application stack for reference:
 Below is a simplified overview of the NetBox application stack for reference:
 
 

+ 5 - 5
docs/installation/upgrading.md

@@ -17,11 +17,11 @@ Prior to upgrading your NetBox instance, be sure to carefully review all [releas
 
 
 NetBox requires the following dependencies:
 NetBox requires the following dependencies:
 
 
-| Dependency | Minimum Version |
-|------------|-----------------|
-| Python     | 3.10            |
-| PostgreSQL | 12              |
-| Redis      | 4.0             |
+| Dependency | Supported Versions |
+|------------|--------------------|
+| Python     | 3.10, 3.11, 3.12   |
+| PostgreSQL | 12+                |
+| Redis      | 4.0+               |
 
 
 ## 3. Install the Latest Release
 ## 3. Install the Latest Release