Skip to content

Update Doc/pylock.toml#149467

Merged
nedbat merged 1 commit intopython:mainfrom
nedbat:nedbat/lock-doc-reqs
May 6, 2026
Merged

Update Doc/pylock.toml#149467
nedbat merged 1 commit intopython:mainfrom
nedbat:nedbat/lock-doc-reqs

Conversation

@nedbat
Copy link
Copy Markdown
Member

@nedbat nedbat commented May 6, 2026

Updated with:

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 --upgrade

which is the same command as the file claims, but with --upgrade added, not sure why there's a discrepancy.

This brings in linklint==1.0.0 to fix some missing links.

Comment thread Doc/pylock.toml Outdated
# 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
lock-version = "1.0"
created-by = "uv"
requires-python = ">=3.12"
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You have to remove this manually I’m afraid.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this only tribal knowledge at this point? I was hoping not to wade into half-automation in progress.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, I think so, but this is a new thing for us :)

Will go away after the next release of packaging with pypa/packaging#1179 and then the next release of pip containing that.

We could make a make target or something to run the uv command then strip this line, @StanFromIreland suggested something like this earlier.

@read-the-docs-community
Copy link
Copy Markdown

read-the-docs-community Bot commented May 6, 2026

@nedbat nedbat force-pushed the nedbat/lock-doc-reqs branch from 04b016a to a2e94ca Compare May 6, 2026 19:36
@nedbat nedbat merged commit b2582a6 into python:main May 6, 2026
34 checks passed
@nedbat nedbat deleted the nedbat/lock-doc-reqs branch May 6, 2026 20:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants