GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Document 3.13, 3.14, 4.0 and future removals by hugovk · Pull Request #93986 · python/cpython

Conversation

@hugovk

@hugovk hugovk commented Jun 18, 2022 •
edited by gpshead
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

Follow on from #92308.

This lists in the What's New page some more deprecations pending removal in:

  • 3.13 (#84540 - lib2to3 and 2to3, #93674)
  • 3.14 (#93864)
  • 4.0 (#57281)
  • future versions (#83710)

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@hugovk
Document some 3.13, 3.14, 4.0 and future removals
7a43461
@bedevere-bot bedevere-bot added docs Documentation in the Doc dir awaiting review labels Jun 18, 2022
@hugovk hugovk added skip issue skip news labels Jun 18, 2022
@warsaw

warsaw commented Jun 18, 2022

Copy link
Copy Markdown
Member

I wonder if there was some automation we can add to help ensure that planned deprecations actually happen? Like, maybe a JSON file or some such where the deprecations are recorded (or a script to parse the docs or code). Then, when the new version is created at main, the automation would open some release blockers on those deprecations. What do you think?

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@arhadthedev

arhadthedev commented Jun 18, 2022 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

@warsaw Probably, grepping docs for .. deprecated-removed:: and headers for Py_DEPRECATED would be better than maintaining another list file.

Edit: for \.\. deprecated-removed:: [^ ]+ (\d+).(\d+) and Py_DEPRECATED\((\d+).(\d+)\).

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hugovk

hugovk commented Jun 19, 2022

Copy link
Copy Markdown
Member Author

I wonder if there was some automation we can add to help ensure that planned deprecations actually happen?

Yes, using the new warnings._deprecated method will make it clear with RuntimeErrors after the relevant alpha: https://discuss.python.org/t/introducing-warnings-deprecated/14856

graingert reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

hauntsaninja
hauntsaninja reviewed Jun 20, 2022
View reviewed changes
Comment thread Doc/whatsnew/3.12.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

@hugovk
Merge remote-tracking branch 'upstream/main' into document-pending-re…
9a78b96
…movals
@hugovk hugovk mentioned this pull request Jul 29, 2022
Better emphasise pending removals in What's New #92308
Closed
@ezio-melotti

ezio-melotti commented Jul 29, 2022

Copy link
Copy Markdown
Member

I wonder if there was some automation we can add to help ensure that planned deprecations actually happen?

See also:

  • Enforce the use of deprecated-removed in docs #92564
  • Add support for future-version workflows core-workflow#468
All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ezio-melotti
ezio-melotti reviewed Jul 29, 2022
View reviewed changes

@ezio-melotti ezio-melotti left a comment

Copy link
Copy Markdown
Member

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.

I left a comment and a couple of minor suggestions -- feel free to disregard them if you think the current version is better.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread Doc/whatsnew/3.12.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Doc/whatsnew/3.12.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Doc/whatsnew/3.12.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

@hugovk @ezio-melotti
Improve wording and linking
6f28fb9
Co-authored-by: Ezio Melotti <[email protected]>
@ezio-melotti ezio-melotti mentioned this pull request Aug 4, 2022
array: Add 'w' type and deprecate 'u' type. #80480
Closed
hugovk added 2 commits August 6, 2022 11:03
@hugovk
Move array's 'u' format code to future removal
1dd3174
@hugovk
Merge branch 'main' into document-pending-removals
60aaa74
ezio-melotti
ezio-melotti reviewed Aug 11, 2022
View reviewed changes
Comment thread Doc/whatsnew/3.12.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

@CAM-Gerlach

CAM-Gerlach commented Aug 11, 2022

Copy link
Copy Markdown
Member

I wonder if there was some automation we can add to help ensure that planned deprecations actually happen?

You could also fire a Sphinx warning in the else branch here in the directive (with a check for whether its an alpha, and perhaps an :option: to disable it for special cases), just like warnings._deprecated does.

ezio-melotti reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hugovk @ezio-melotti
Whitespace fix
5787b27
Co-authored-by: Ezio Melotti <[email protected]>
@CAM-Gerlach CAM-Gerlach mentioned this pull request Aug 12, 2022
Edit What's New for Python 3.11 #95913
Closed
31 of 33 tasks
bdarnell
bdarnell reviewed Feb 7, 2023
View reviewed changes
Comment thread Doc/whatsnew/3.12.rst Outdated
:keyword:`for`, :keyword:`if`, :keyword:`in`, :keyword:`is` and :keyword:`or`.
In a future release it will be changed to a syntax error. (:gh:`87999`)

* :func:`asyncio.get_event_loop` emits a :exc:`DeprecationWarning` if there is

@bdarnell bdarnell Feb 7, 2023

Copy link
Copy Markdown
Contributor

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 deprecation plans for this function have changed. See #100970 for the updated deprecation notice.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@hugovk hugovk Feb 7, 2023

Copy link
Copy Markdown
Member Author

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.

Thanks for the note! This PR has got pretty out of date...

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@hugovk hugovk mentioned this pull request May 26, 2023
gh-104992: [What's New in 3.12] Document unittest.TestProgram.usageExit's deprecation #104995
Merged
hugovk added 2 commits August 16, 2023 22:15
@hugovk
Resolve merge conflict
cf00b4d
@hugovk
Merge remote-tracking branch 'upstream/main' into document-pending-re…
6853206
…movals
@hugovk

hugovk commented Aug 16, 2023

Copy link
Copy Markdown
Member Author

Will try again in a new PR :)

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@hugovk hugovk closed this Aug 16, 2023
@hugovk
hugovk deleted the document-pending-removals branch August 16, 2023 19:19
@hugovk hugovk mentioned this pull request Aug 16, 2023
Document 3.13, 3.14 and future removals #108055
Merged
@hugovk

hugovk commented Aug 16, 2023

Copy link
Copy Markdown
Member Author

Please see PR #108055 instead 🚀

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@hauntsaninja hauntsaninja hauntsaninja left review comments
@ezio-melotti ezio-melotti ezio-melotti left review comments
+1 more reviewer
@bdarnell bdarnell bdarnell left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

awaiting review docs Documentation in the Doc dir skip issue skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

8 participants

@hugovk @warsaw @arhadthedev @ezio-melotti @CAM-Gerlach @bdarnell @hauntsaninja @bedevere-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.