Skip to content

gh-153227: Unpin development version of Pygments - #156163

Merged
StanFromIreland merged 2 commits into
python:mainfrom
ZeroIntensity:docs/unpin-pygments
Aug 21, 2026
Merged

gh-153227: Unpin development version of Pygments#156163
StanFromIreland merged 2 commits into
python:mainfrom
ZeroIntensity:docs/unpin-pygments

Conversation

@ZeroIntensity

@ZeroIntensity ZeroIntensity commented Aug 21, 2026

Copy link
Copy Markdown
Member

Pygments has released the version that we wanted.

@StanFromIreland

Copy link
Copy Markdown
Member

Please regenerate pylock.toml. You'll have to run:

uv pip compile Doc/requirements.txt --exclude-newer P14D --exclude-newer-package linklint=PT0S --exclude-newer-package python-docs-theme=PT0S --exclude-newer-package pygments=PT0S --no-cache --output-file Doc/pylock.toml --python-version 3.12 --universal

@StanFromIreland StanFromIreland added the docs Documentation in the Doc dir label Aug 21, 2026
@github-project-automation github-project-automation Bot moved this to Todo in Docs PRs Aug 21, 2026
@ZeroIntensity

Copy link
Copy Markdown
Member Author

Yuck:

$ uv pip compile Doc/requirements.txt --exclude-newer P14D --exclude-newer-package linklint=PT0S --exclude-newer-package python-docs-theme=PT0S --no-cache --output-file Doc/pylock.toml --python-version 3.12 --universal

  × No solution found when resolving dependencies:
  ╰─▶ Because only pygments<=2.20.0 is available and you require pygments>=2.21, we can conclude that you require pygments>=3.
      And because you require pygments, we can conclude that your requirements are unsatisfiable.

hint: `pygments` was filtered by `exclude-newer` to only include packages uploaded before 2026-08-07T08:36:49.307043173Z. The latest version satisfying the requirement is v2.21.0, published at 2026-08-17T08:02:44.912Z. Consider using `exclude-newer-package` to override the cutoff for this package.

@ZeroIntensity

Copy link
Copy Markdown
Member Author

Nevermind, used the wrong command!

@StanFromIreland StanFromIreland added the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 21, 2026
@StanFromIreland
StanFromIreland merged commit 8db5262 into python:main Aug 21, 2026
36 checks passed
@miss-islington-app

Copy link
Copy Markdown

Thanks @ZeroIntensity for the PR, and @StanFromIreland for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15.
🐍🍒⛏🤖

@github-project-automation github-project-automation Bot moved this from Todo to Done in Docs PRs Aug 21, 2026
@bedevere-app

bedevere-app Bot commented Aug 21, 2026

Copy link
Copy Markdown

GH-156164 is a backport of this pull request to the 3.15 branch.

@bedevere-app bedevere-app Bot removed the needs backport to 3.15 pre-release feature fixes, bugs and security fixes label Aug 21, 2026
@ZeroIntensity
ZeroIntensity deleted the docs/unpin-pygments branch August 21, 2026 12:51
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.

2 participants