upgrade.sh does not require Python 3.8 #6356

Closed
opened 2025-12-29 19:39:47 +01:00 by adam · 2 comments
Owner

Originally created by @markkuleinio on GitHub (Apr 14, 2022).

Originally assigned to: @markkuleinio on GitHub.

NetBox version

v3.2.1

Python version

3.8

Steps to Reproduce

  1. Run upgrade.sh on a system with Python 3.7 only

Expected Behavior

upgrade.sh should complain about the minimum required Python version (3.8 for NetBox 3.2)

Observed Behavior

# ./upgrade.sh
Using Python 3.7.3
...
ERROR: Could not find a version that satisfies the requirement Django==4.0.4

so there is no direct error message about the Python version.

In the start of upgrade.sh there is a Python version check but it only checks for 3.7+ while Python 3.8+ is required for NetBox 3.2.

Originally created by @markkuleinio on GitHub (Apr 14, 2022). Originally assigned to: @markkuleinio on GitHub. ### NetBox version v3.2.1 ### Python version 3.8 ### Steps to Reproduce 1. Run `upgrade.sh` on a system with Python 3.7 only ### Expected Behavior `upgrade.sh` should complain about the minimum required Python version (3.8 for NetBox 3.2) ### Observed Behavior ``` # ./upgrade.sh Using Python 3.7.3 ... ERROR: Could not find a version that satisfies the requirement Django==4.0.4 ``` so there is no direct error message about the Python version. In the start of `upgrade.sh` there is a Python version check but it only checks for 3.7+ while Python 3.8+ is required for NetBox 3.2.
adam added the type: bugstatus: accepted labels 2025-12-29 19:39:47 +01:00
adam closed this issue 2025-12-29 19:39:47 +01:00
Author
Owner

@markkuleinio commented on GitHub (Apr 14, 2022):

PR ready to be submitted if issue is accepted.

@markkuleinio commented on GitHub (Apr 14, 2022): PR ready to be submitted if issue is accepted.
Author
Owner

@jeremystretch commented on GitHub (Apr 14, 2022):

We do have the logic in there but it currently only checks for v3.7+, so it should be an easy tweak. Thanks!

@jeremystretch commented on GitHub (Apr 14, 2022): We do have the logic in there but it currently only checks for v3.7+, so it should be an easy tweak. Thanks!
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#6356