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

gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation #104994

Conversation

hugovk
Copy link
Member

@hugovk hugovk commented May 26, 2023

The unittest.TestProgram.usageExit method was deprecated in Python 3.11 and scheduled for removal in 3.13.

The deprecation was documented in the changelog but not in What's New.

For visibility, let's add it to the "What's New in 3.11" > Deprecations:


📚 Documentation preview 📚: https://cpython-previews--104994.org.readthedocs.build/

@hugovk hugovk added stdlib Python modules in the Lib dir needs backport to 3.11 only security fixes needs backport to 3.12 bug and security fixes labels May 26, 2023
@bedevere-bot bedevere-bot added docs Documentation in the Doc dir skip news labels May 26, 2023
@hugovk hugovk changed the title gh-104992: Document unittest.TestProgram.usageExit's pending removal in 3.13 gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation May 26, 2023
@JelleZijlstra JelleZijlstra merged commit 7df861c into python:main May 27, 2023
@miss-islington
Copy link
Contributor

Thanks @hugovk for the PR, and @JelleZijlstra for merging it 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 27, 2023
…sageExit's deprecation (pythonGH-104994)

Document unittest.TestProgram.usageExit's pending removal in 3.13
(cherry picked from commit 7df861c)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
@bedevere-bot
Copy link

GH-105009 is a backport of this pull request to the 3.12 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.12 bug and security fixes label May 27, 2023
@bedevere-bot
Copy link

GH-105010 is a backport of this pull request to the 3.11 branch.

@bedevere-bot bedevere-bot removed the needs backport to 3.11 only security fixes label May 27, 2023
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request May 27, 2023
…sageExit's deprecation (pythonGH-104994)

Document unittest.TestProgram.usageExit's pending removal in 3.13
(cherry picked from commit 7df861c)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
JelleZijlstra pushed a commit that referenced this pull request May 27, 2023
…usageExit's deprecation (GH-104994) (#105009)

gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation (GH-104994)

Document unittest.TestProgram.usageExit's pending removal in 3.13
(cherry picked from commit 7df861c)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
JelleZijlstra pushed a commit that referenced this pull request May 27, 2023
…usageExit's deprecation (GH-104994) (#105010)

gh-104992: [What's New in 3.11] Document unittest.TestProgram.usageExit's deprecation (GH-104994)

Document unittest.TestProgram.usageExit's pending removal in 3.13
(cherry picked from commit 7df861c)

Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
@hugovk hugovk deleted the docs-unittest.TestProgram.usageExit-whatsnew311-deprecations branch May 27, 2023 06:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs Documentation in the Doc dir skip news stdlib Python modules in the Lib dir
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants