[PR #9134] [MERGED] Fixes #9133: Require Python 3.8+ to run upgrade.sh #13431

Closed
opened 2025-12-29 22:27:22 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/9134
Author: @markkuleinio
Created: 4/14/2022
Status: Merged
Merged: 4/14/2022
Merged by: @jeremystretch

Base: developHead: python-version


📝 Commits (1)

  • 7779b66 Require Python 3.8+ to run upgrade.sh

📊 Changes

1 file changed (+5 additions, -5 deletions)

View changed files

📝 upgrade.sh (+5 -5)

📄 Description

Fixes: #9133

Updates the Python version checks in upgrade.sh to require 3.8+ (as required in NetBox 3.2).

# ./upgrade.sh
--------------------------------------------------------------------
ERROR: Unsupported Python version: Python 3.7.3. NetBox requires
Python 3.8 or later. To specify an alternate Python executable, set
the PYTHON environment variable. For example:

  sudo PYTHON=/usr/bin/python3.8 ./upgrade.sh

To show your current Python version: python3 -V
--------------------------------------------------------------------
#

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/9134 **Author:** [@markkuleinio](https://github.com/markkuleinio) **Created:** 4/14/2022 **Status:** ✅ Merged **Merged:** 4/14/2022 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `python-version` --- ### 📝 Commits (1) - [`7779b66`](https://github.com/netbox-community/netbox/commit/7779b66972332a1e32425b0049288758a3417b33) Require Python 3.8+ to run upgrade.sh ### 📊 Changes **1 file changed** (+5 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `upgrade.sh` (+5 -5) </details> ### 📄 Description <!-- Thank you for your interest in contributing to NetBox! Please note that our contribution policy requires that a feature request or bug report be opened for approval prior to filing a pull request. This helps avoid wasting time and effort on something that we might not be able to accept. Please indicate the relevant feature request or bug report below. IF YOUR PULL REQUEST DOES NOT REFERENCE AN ACCEPTED BUG REPORT OR FEATURE REQUEST, IT WILL BE MARKED AS INVALID AND CLOSED. --> ### Fixes: #9133 <!-- Please include a summary of the proposed changes below. --> Updates the Python version checks in `upgrade.sh` to require 3.8+ (as required in NetBox 3.2). ``` # ./upgrade.sh -------------------------------------------------------------------- ERROR: Unsupported Python version: Python 3.7.3. NetBox requires Python 3.8 or later. To specify an alternate Python executable, set the PYTHON environment variable. For example: sudo PYTHON=/usr/bin/python3.8 ./upgrade.sh To show your current Python version: python3 -V -------------------------------------------------------------------- # ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:27:22 +01:00
adam closed this issue 2025-12-29 22:27:22 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#13431