-
-
Notifications
You must be signed in to change notification settings - Fork 31.9k
gh-133604: remove deprecated java_ver
function
#133888
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
base: main
Are you sure you want to change the base?
Conversation
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
@@ -1908,7 +1908,7 @@ New Deprecations | |||
|
|||
* :mod:`platform`: | |||
|
|||
* Deprecate :func:`~platform.java_ver`, | |||
* Deprecate :func:`!platform.java_ver`, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The 3.13 what's new is a historical document, I would leave it unchanged.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eendebakpt One of the tests failed because of this. If that's acceptable, I'll keep it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@eendebakpt so.. keep '~' with failed test or not?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is fine. These are always updated when a function is removed.
Doc/whatsnew/3.15.rst
Outdated
platform | ||
-------- | ||
|
||
* The deprecated :func:`!platform.java_ver` function. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
* The deprecated :func:`!platform.java_ver` function. | |
* Removed the deprecated :func:`!platform.java_ver` function. |
To save Benedikt copy-editing it later. (See line 133)
You can also link this pr. (See line 134 as an example)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@StanFromIreland thank you! done
Lib/platform.py
Outdated
@@ -31,6 +31,7 @@ | |||
# | |||
# <see CVS and SVN checkin messages for history> | |||
# | |||
# 1.1.0 - removed deprecated java_ver() |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not noteworthy enough IMO. These are rarely updated, but it is up to @malemburg in the end.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No need to add to that list anymore. The checkin messages provide enough history.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You may want to change # <see CVS and SVN checkin messages for history>
to # <see checkin messages for history>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@malemburg thank you! done
platform.java_ver
#133604📚 Documentation preview 📚: https://cpython-previews--133888.org.readthedocs.build/