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 — [3.13] gh-151949: Fix Sphinx reference warnings in `Doc/library/lzma.rst` (GH-153878) by fedonman · Pull Request #154483 · python/cpython

Conversation

@fedonman

@fedonman fedonman commented Jul 22, 2026 •
edited by bedevere-app Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor

This is a manual backport of #153878 to 3.13.

The automated backport (#154126) fails the docs build. That PR removes Doc/library/lzma.rst from the nitpick ignore list, but on 3.13 six of the BCJ filter references in that file are still unresolved and now show up as warnings: FILTER_X86, FILTER_IA64, FILTER_ARM, FILTER_ARMTHUMB, FILTER_POWERPC and FILTER_SPARC.

On main those names are written with a leading !, which tells Sphinx to render them as plain text without looking for a reference target. That prefix was added by the change that introduced the ARM64 and RISCV filters (GH-115989), which was never backported, so the release branches still carry the plain references.

This backport adds the same ! prefix to those six lines, so the file builds cleanly under nitpicky mode and renders the same way it does on main. I checked with a nitpicky docs build that lzma.rst produces no warnings.

Supersedes #154126.

  • Issue: Fix all Sphinx reference warnings in Doc/library/lzma.rst #151949

Sorry, something went wrong.

Uh oh!

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

All reactions
@fedonman
pythongh-151949: Fix Sphinx reference warnings in `Doc/library/lzma.r…
06f39b9
…st` (pythonGH-153878)

The lzma module constants (FORMAT_*, CHECK_*, PRESET_*, FILTER_*, MODE_*
and MF_*) were referenced with the :const: role throughout the module
documentation but were never defined as reference targets, producing
"reference target not found" warnings under nitpicky mode.

Document these public constants with .. data:: directives, following the
convention used by the signal, socket and ssl modules, so the existing
references resolve. The now-redundant inline descriptions of the format
and check constants are condensed into linked references.
(cherry picked from commit 1530b38)

Co-authored-by: Vyron Vasileiadis <[email protected]>
@bedevere-app bedevere-app Bot added docs Documentation in the Doc dir skip news labels Jul 22, 2026
@github-project-automation github-project-automation Bot added this to Docs PRs Jul 22, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Jul 22, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Jul 22, 2026
Fix all Sphinx reference warnings in Doc/library/lzma.rst #151949
Closed
@bedevere-app bedevere-app Bot added the sprint label Jul 22, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Jul 22, 2026
gh-151949: Fix Sphinx reference warnings in Doc/library/lzma.rst #153878
Merged
@bedevere-app bedevere-app Bot added the awaiting review label Jul 22, 2026
@github-project-automation github-project-automation Bot added this to Sprint Jul 22, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Sprint Jul 22, 2026
@read-the-docs-community

read-the-docs-community Bot commented Jul 22, 2026

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33706769 | 📁 Comparing 06f39b9 against main (79cdcee)

  🔍 Preview build  

469 files changed · + 1 added · ± 425 modified · - 43 deleted

+ Added

  • library/asyncio-policy.html

± Modified

  • about.html
  • bugs.html
  • copyright.html
  • glossary.html
  • index.html
  • license.html
  • py-modindex.html
  • c-api/allocation.html
  • c-api/apiabiversion.html
  • c-api/arg.html
  • and 415 more...

- Deleted

  • improve-page-nojs.html
  • improve-page.html
  • _static/tachyon-example-flamegraph.html
  • _static/tachyon-example-heatmap.html
  • c-api/extension-modules.html
  • c-api/interp-lifecycle.html
  • c-api/lifecycle.html
  • c-api/profiling.html
  • c-api/sentinel.html
  • c-api/slots.html
  • and 33 more...
All reactions

Sorry, something went wrong.

Uh oh!

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

@fedonman fedonman closed this Jul 22, 2026
@github-project-automation github-project-automation Bot moved this from Todo to Done in Sprint Jul 22, 2026
@fedonman
fedonman deleted the backport-lzma-nitpick-3.13 branch July 22, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

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 news sprint

Projects

Docs PRs
Status: Todo
Sprint
Archived in project

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.

1 participant

@fedonman
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 01402520 — 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.