-
-
Notifications
You must be signed in to change notification settings - Fork 31.1k
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
Make 'sys.platform' return "freebsd" only on FreeBSD without major version #129393
Labels
Comments
michael-o
added a commit
to michael-o/cpython
that referenced
this issue
Jan 28, 2025
… without major version
michael-o
added a commit
to michael-o/cpython
that referenced
this issue
Jan 28, 2025
… without major version
michael-o
added a commit
to michael-o/cpython
that referenced
this issue
Jan 28, 2025
… without major version
Implemented by the change e3eba8c. |
srinivasreddy
pushed a commit
to srinivasreddy/cpython
that referenced
this issue
Feb 7, 2025
…python#129394) Make 'sys.platform' return "freebsd" only on FreeBSD without major version.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature or enhancement
Proposal:
When using using
sys.platform
and especiallyrequirements.txt
/pyproject.toml
one cannot constrain dependencies to FreeBSD as whole, but need to deal with the suffixed major version. A change should follow suit all other cases to contain the platform name only without the major version.Locally patched:
A PR wll follow soon.
Has this already been discussed elsewhere?
No response given
Links to previous discussion of this feature:
No response
Linked PRs
The text was updated successfully, but these errors were encountered: