Skip to content

Conversation

@JP-Ellis
Copy link
Contributor

@JP-Ellis JP-Ellis commented Jan 1, 2026

All the instructions recommend that uv run be used (with good reason), save for one. So this makes a very minor update to the docs to suggest using uv run -m ... for consistency.

This is unlikely to be an issue as the http.server module is rather stable, but it won't harm to make sure that the same Python version and venv is used.

  • Pull request is based on the default branch (3.x at this time)
  • Pull request includes tests for any new/updated operations/facts
  • Pull request includes documentation for any new/updated operations/facts
  • Tests pass (see scripts/dev-test.sh) (2026 bug)
  • Type checking & code style passes (see scripts/dev-lint.sh)

All the instructions recommend that `uv run` be used (with good
reason), save for one. So this makes a very minor update to the docs to
suggest using `uv run -m ...` for consistency.

This is unlikely to be an issue as the `http.server` module is rather
stable, but it won't harm to make sure that the same Python version and
venv is used.

Signed-off-by: JP-Ellis <josh@jpellis.me>
@JP-Ellis JP-Ellis changed the title docs: replace python -m with uv run -m docs: replace python -m with uv run -m Jan 1, 2026
Copy link
Member

@Fizzadar Fizzadar left a comment

Choose a reason for hiding this comment

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

Good spot! Thank you @JP-Ellis!

@Fizzadar Fizzadar merged commit caed112 into pyinfra-dev:3.x Jan 3, 2026
25 checks passed
@JP-Ellis JP-Ellis deleted the docs/replace-python-with-uv-run branch January 3, 2026 20:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants