mirror of
https://github.com/binwiederhier/ntfy.git
synced 2026-05-09 08:26:00 +02:00
[PR #665] [CLOSED] Allow newer python when building docs #1373
Labels
No labels
ai-generated
android-app
android-app
android-app
🪲 bug
build
build
dependencies
docs
enhancement
enhancement
🔥 HOT
in-progress 🏃
ios
prio:low
prio:low
pull-request
question
🔒 security
server
server
unified-push
web-app
website
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/ntfy#1373
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/binwiederhier/ntfy/pull/665
Author: @cyqsimon
Created: 3/8/2023
Status: ❌ Closed
Base:
main← Head:allow-newer-python📝 Commits (4)
8d80de5Add python version search scriptf959795Update Makefile to use scriptd44570bScript returns full binary name008ff70Improve python binary selection logic📊 Changes
2 files changed (+53 additions, -15 deletions)
View changed files
📝
Makefile(+7 -15)➕
tools/get-python-bin.sh(+46 -0)📄 Description
Previously in
Makefile, there are provisions to usepython3.8ifpython3is not new enough. However it doesn't check for versions newer than 3.8, which could be problematic if the user haspython3.6andpython3.9, butpython3points topython3.6. This is a frequent occurrence on RHEL systems.This change also makes sure that the version of
pipcalled matches the version ofpythonused. Now I'm not that familiar with Python, so I cannot say for certain whether this is strictly necessary. But I cannot imagine there to be any downsides with doing this.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.