Skip to content

gh-157137: Mark the PEP 820 soft deprecations as 3.15, not next - #157138

Merged
hugovk merged 1 commit into
python:mainfrom
fedonman:fix-soft-deprecated-version-tags
Sep 8, 2026
Merged

gh-157137: Mark the PEP 820 soft deprecations as 3.15, not next#157138
hugovk merged 1 commit into
python:mainfrom
fedonman:fix-soft-deprecated-version-tags

Conversation

@fedonman

@fedonman fedonman commented Sep 7, 2026

Copy link
Copy Markdown
Contributor

The seven soft-deprecated:: next directives added with PEP 820 were already in the tree at v3.15.0b1, and Doc/whatsnew/3.15.rst lists exactly those functions as 3.15 soft deprecations, but next expands to the development version. This sets them to 3.15, the form every other soft-deprecated:: directive in the tree uses.

All seven were already in the tree at v3.15.0b1, and Doc/whatsnew/3.15.rst
lists exactly those functions as 3.15 soft deprecations. The 3.15.0b1
commit rewrote 84 ":: next" tags and none of the soft-deprecated:: ones.
@read-the-docs-community

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #34439764 | 📁 Comparing 788c634 against main (23180c5)

  🔍 Preview build  

2 files changed
± c-api/module.html
± c-api/type.html

@StanFromIreland

Copy link
Copy Markdown
Member

I'd rather we fix the core root of this problem, and then these will be picked up by the next update.

@StanFromIreland
StanFromIreland marked this pull request as draft September 8, 2026 14:31
@StanFromIreland

Copy link
Copy Markdown
Member

I did some digging, and indeed we've already fixed this: python/release-tools#428

So I think this is correct.

@StanFromIreland
StanFromIreland marked this pull request as ready for review September 8, 2026 14:40
@hugovk

hugovk commented Sep 8, 2026

Copy link
Copy Markdown
Member

Thanks! python/release-tools#428 meant it was fixed in the 3.15 branch during 3.15.0rc2, but we need this to fix for main.

@hugovk
hugovk merged commit e757c06 into python:main Sep 8, 2026
44 checks passed
@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Sep 8, 2026
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

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants