瀏覽代碼

10781 add python 3.11 support (#10782)

* 10781 add python 3.11 support

* 10781 update Django to latest
Arthur Hanson 3 年之前
父節點
當前提交
13c27b00d3
共有 4 個文件被更改,包括 4 次插入3 次删除
  1. 1 0
      .github/ISSUE_TEMPLATE/bug_report.yaml
  2. 1 1
      .github/workflows/ci.yml
  3. 1 1
      docs/installation/3-netbox.md
  4. 1 1
      requirements.txt

+ 1 - 0
.github/ISSUE_TEMPLATE/bug_report.yaml

@@ -25,6 +25,7 @@ body:
         - "3.8"
         - "3.8"
         - "3.9"
         - "3.9"
         - "3.10"
         - "3.10"
+        - "3.11"
     validations:
     validations:
       required: true
       required: true
   - type: textarea
   - type: textarea

+ 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.8', '3.9', '3.10']
+        python-version: ['3.8', '3.9', '3.10', '3.11']
         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.8 or later required"
 !!! warning "Python 3.8 or later required"
-    NetBox requires Python 3.8, 3.9, or 3.10.
+    NetBox requires Python 3.8, 3.9, 3.10 or 3.11.
 
 
 === "Ubuntu"
 === "Ubuntu"
 
 

+ 1 - 1
requirements.txt

@@ -1,5 +1,5 @@
 bleach==5.0.1
 bleach==5.0.1
-Django==4.1.1
+Django==4.1.2
 django-cors-headers==3.13.0
 django-cors-headers==3.13.0
 django-debug-toolbar==3.7.0
 django-debug-toolbar==3.7.0
 django-filter==22.1
 django-filter==22.1