Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Core: Move the python check somewhere it can't accidentally be removed #1570

Merged
merged 2 commits into from
Jan 25, 2025

Conversation

ikelos
Copy link
Member

@ikelos ikelos commented Jan 23, 2025

In order to prevent accidental cleaning, convert the import that carries out the version check into explicit call, but move the constants value somewhere more obvious (as was the point of the original PR, #1364).

Upsides to this are that the python version lives somewhere sensible, downsides are there's technically a little more code (importing the interfaces, and the windows/linux constants) that it has to pass through. Not sure if it's worth it, or we just completely revert #1364. Sometimes tidying introduces unexpected problems and I'd sooner be safe that create the conditions for accidents to happen...

@ikelos ikelos requested a review from atcuno January 23, 2025 20:56
@ikelos ikelos merged commit 734c18c into develop Jan 25, 2025
24 checks passed
@ikelos ikelos deleted the issues/explicit-version-check branch January 25, 2025 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant