Skip to content

Commit 14bc3a3

Browse files
committed
Closes #5938: Deprecate support for Python 3.6
1 parent 79b1982 commit 14bc3a3

File tree

3 files changed

+13
-4
lines changed

3 files changed

+13
-4
lines changed

docs/installation/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,13 +23,13 @@ The video below demonstrates the installation of NetBox v2.10.3 on Ubuntu 20.04
2323
| PostgreSQL | 9.6 |
2424
| Redis | 4.0 |
2525

26+
!!! note
27+
Python 3.7 or later will be required in NetBox v2.12. Users are strongly encouraged to install NetBox using Python 3.7 or later for new deployments.
28+
2629
Below is a simplified overview of the NetBox application stack for reference:
2730

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

3033
## Upgrading
3134

3235
If you are upgrading from an existing installation, please consult the [upgrading guide](upgrading.md).
33-
34-
!!! note
35-
Beginning with v2.5.9, the official documentation calls for systemd to be used for managing the WSGI workers in place of supervisord. Please see the instructions for [migrating to systemd](migrating-to-systemd.md) if you are still using supervisord.

docs/release-notes/version-2.11.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,9 @@
44

55
**WARNING:** This is a beta release and is not suitable for production use. It is intended for development and evaluation purposes only. No upgrade path to the final v2.11 release will be provided from this beta, and users should assume that all data entered into the application will be lost.
66

7+
**Note:** NetBox v2.11 is the last major release that will support Python 3.6. Beginning with NetBox v2.12, Python 3.7 or
8+
later will be required.
9+
710
### New Features
811

912
#### Parent Interface Assignments ([#1519](https://github.com/netbox-community/netbox/issues/1519))

netbox/netbox/settings.py

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
# Environment setup
1717
#
1818

19-
VERSION = '2.10.6-dev'
19+
VERSION = '2.11-beta1'
2020

2121
# Hostname
2222
HOSTNAME = platform.node()
@@ -29,6 +29,12 @@
2929
raise RuntimeError(
3030
"NetBox requires Python 3.6 or higher (current: Python {})".format(platform.python_version())
3131
)
32+
# TODO: Remove in NetBox v2.12
33+
if platform.python_version_tuple() < ('3', '7'):
34+
warnings.warn(
35+
"Support for Python 3.6 will be dropped in NetBox v2.12. Please upgrade to Python 3.7 or later at your "
36+
"earliest convenience."
37+
)
3238

3339

3440
#

0 commit comments

Comments
 (0)