Skip to content

Commit 31e41f8

Browse files
committed
Closes #6767: Add support for Python 3.9
1 parent 717724c commit 31e41f8

File tree

9 files changed

+9
-12
lines changed

9 files changed

+9
-12
lines changed

.github/ISSUE_TEMPLATE/bug_report.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@ body:
2525
label: Python version
2626
description: What version of Python are you currently running?
2727
options:
28-
- 3.6
2928
- 3.7
3029
- 3.8
3130
- 3.9

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ jobs:
55
runs-on: ubuntu-latest
66
strategy:
77
matrix:
8-
python-version: [3.7, 3.8]
8+
python-version: [3.7, 3.8, 3.9]
99
services:
1010
redis:
1111
image: redis

docs/administration/netbox-shell.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ This will launch a lightly customized version of [the built-in Django shell](htt
1111
```
1212
$ ./manage.py nbshell
1313
### NetBox interactive shell (localhost)
14-
### Python 3.6.9 | Django 2.2.11 | NetBox 2.7.10
14+
### Python 3.7.10 | Django 3.2.5 | NetBox 3.0
1515
### lsmodels() will show available models. Use help(<model>) for more info.
1616
```
1717

docs/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ NetBox is built on the [Django](https://djangoproject.com/) Python framework and
5555

5656
## Supported Python Versions
5757

58-
NetBox supports Python 3.6, 3.7, and 3.8 environments currently. (Support for Python 3.5 was removed in NetBox v2.8.)
58+
NetBox supports Python 3.7, 3.8, and 3.9 environments currently. (Support for Python 3.6 was removed in NetBox v3.0.)
5959

6060
## Getting Started
6161

docs/installation/3-netbox.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ This section of the documentation discusses installing and configuring the NetBo
77
Begin by installing all system packages required by NetBox and its dependencies.
88

99
!!! note
10-
NetBox v2.8.0 and later require Python 3.6, 3.7, or 3.8.
10+
NetBox v3.0 and later require Python 3.7, 3.8, or 3.9.
1111

1212
=== "Ubuntu"
1313

docs/installation/index.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,10 @@ The video below demonstrates the installation of NetBox v2.10.3 on Ubuntu 20.04
1919

2020
| Dependency | Minimum Version |
2121
|------------|-----------------|
22-
| Python | 3.6 |
22+
| Python | 3.7 |
2323
| PostgreSQL | 9.6 |
2424
| Redis | 4.0 |
2525

26-
!!! note
27-
Python 3.7 or later will be required in NetBox v3.0. Users are strongly encouraged to install NetBox using Python 3.7 or later for new deployments.
28-
2926
Below is a simplified overview of the NetBox application stack for reference:
3027

3128
![NetBox UI as seen by a non-authenticated user](../media/installation/netbox_application_stack.png)

docs/installation/upgrading.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ Prior to upgrading your NetBox instance, be sure to carefully review all [releas
66

77
## Update Dependencies to Required Versions
88

9-
NetBox v2.9.0 and later requires the following:
9+
NetBox v3.0 and later requires the following:
1010

1111
| Dependency | Minimum Version |
1212
|------------|-----------------|
13-
| Python | 3.6 |
13+
| Python | 3.7 |
1414
| PostgreSQL | 9.6 |
1515
| Redis | 4.0 |
1616

docs/plugins/development.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ The plugin source directory contains all of the actual Python code and other res
4848

4949
### Create setup.py
5050

51-
`setup.py` is the [setup script](https://docs.python.org/3.6/distutils/setupscript.html) we'll use to install our plugin once it's finished. The primary function of this script is to call the setuptools library's `setup()` function to create a Python distribution package. We can pass a number of keyword arguments to inform the package creation as well as to provide metadata about the plugin. An example `setup.py` is below:
51+
`setup.py` is the [setup script](https://docs.python.org/3.7/distutils/setupscript.html) we'll use to install our plugin once it's finished. The primary function of this script is to call the setuptools library's `setup()` function to create a Python distribution package. We can pass a number of keyword arguments to inform the package creation as well as to provide metadata about the plugin. An example `setup.py` is below:
5252

5353
```python
5454
from setuptools import find_packages, setup

docs/release-notes/version-3.0.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -181,6 +181,7 @@ Note that NetBox's `rqworker` process will _not_ service custom queues by defaul
181181
* [#6338](https://github.com/netbox-community/netbox/issues/6338) - Decimal fields are no longer coerced to strings in REST API
182182
* [#6639](https://github.com/netbox-community/netbox/issues/6639) - Drop support for queryset caching (django-cacheops)
183183
* [#6713](https://github.com/netbox-community/netbox/issues/6713) - Checking for new releases is now done as part of the housekeeping routine
184+
* [#6767](https://github.com/netbox-community/netbox/issues/6767) - Add support for Python 3.9
184185

185186
### Configuration Changes
186187

0 commit comments

Comments
 (0)