[PR #25] [MERGED] Remove walrus operator to support min python version 3.6 #34

Closed
opened 2026-02-27 20:07:49 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/misiektoja/spotify_monitor/pull/25
Author: @tomballgithub
Created: 10/3/2025
Status: Merged
Merged: 10/3/2025
Merged by: @tomballgithub

Base: devHead: walrus_fix


📝 Commits (1)

  • 948d7cd Remove walrus operator to support min python version 3.6

📊 Changes

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

View changed files

📝 spotify_monitor.py (+2 -1)

📄 Description

The walrus operator (:=) was introduced in python 3.8.
So, either it should be removed, or the minimum version should be 3.8

Current code base checks for 3.6:

if sys.version_info < (3, 6):
    print("* Error: Python version 3.6 or higher required !")
    sys.exit(1)

🔄 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/misiektoja/spotify_monitor/pull/25 **Author:** [@tomballgithub](https://github.com/tomballgithub) **Created:** 10/3/2025 **Status:** ✅ Merged **Merged:** 10/3/2025 **Merged by:** [@tomballgithub](https://github.com/tomballgithub) **Base:** `dev` ← **Head:** `walrus_fix` --- ### 📝 Commits (1) - [`948d7cd`](https://github.com/misiektoja/spotify_monitor/commit/948d7cd11b2a023d420f632de395e281e5e9d267) Remove walrus operator to support min python version 3.6 ### 📊 Changes **1 file changed** (+2 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `spotify_monitor.py` (+2 -1) </details> ### 📄 Description The walrus operator (:=) was introduced in python 3.8. So, either it should be removed, or the minimum version should be 3.8 Current code base checks for 3.6: ``` if sys.version_info < (3, 6): print("* Error: Python version 3.6 or higher required !") sys.exit(1) ``` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem closed this issue 2026-02-27 20:07:49 +03:00
Sign in to join this conversation.
No labels
Stale
bug
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/spotify_monitor#34
No description provided.