Skip to content

uv#6397

Open
kellerza wants to merge 2 commits intoesphome:currentfrom
kellerza:uv2
Open

uv#6397
kellerza wants to merge 2 commits intoesphome:currentfrom
kellerza:uv2

Conversation

@kellerza
Copy link
Copy Markdown

@kellerza kellerza commented Apr 6, 2026

Copilot AI review requested due to automatic review settings April 6, 2026 14:59
@esphome esphome bot added the current label Apr 6, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Adds a new cross-platform installation path to the “Installing ESPHome Manually” guide by documenting how to install and run ESPHome via Astral’s uv tool manager.

Changes:

  • Added a “Cross-platform using uv” section with links to uv docs and an install command.
  • Added a quick verification command (esphome version) and an upgrade command (uv tool upgrade esphome).

Comment on lines +19 to +22
If you don't have Python installed, uv offers an easy way to [install and manage Python versions](https://docs.astral.sh/uv/guides/install-python/).

Using uv, you can install esphome as a [tool](https://docs.astral.sh/uv/guides/tools/) with the following command:

Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

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

In prose, consider referring to the project as “ESPHome” and using code formatting only for the PyPI/tool name (e.g., “install ESPHome (package esphome) as a tool”). As written, “install esphome” can read like a typo/casing inconsistency.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

Comment on lines +27 to +33
Now *esphome* will be available on your PATH

```shell
esphome version
```

Upgrade to the latest version using `uv tool upgrade esphome`
Copy link

Copilot AI Apr 6, 2026

Choose a reason for hiding this comment

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

This reads as a guarantee that may not hold if uv’s tool bin directory isn’t on PATH yet (or a new shell session is needed). Consider softening to “should be available” and adding a brief note about updating PATH/restarting the shell if esphome isn’t found. Also add trailing periods for these sentences.

Copilot uses AI. Check for mistakes.
Copy link
Copy Markdown
Author

Choose a reason for hiding this comment

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

@copilot apply changes based on this feedback

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai bot commented Apr 6, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: e3b92008-7483-4376-87f0-18c0a0c7d862

📥 Commits

Reviewing files that changed from the base of the PR and between 2daa19c and 2df5f57.

📒 Files selected for processing (1)
  • src/content/docs/guides/installing_esphome.mdx
✅ Files skipped from review due to trivial changes (1)
  • src/content/docs/guides/installing_esphome.mdx

Walkthrough

Added a "Cross-platform using uv" section to the ESPHome installation guide documenting the uv Rust-based Python tool for Windows, macOS, and Linux; includes install, verify, and upgrade commands and Python version constraints (>=3.11,<3.14).

Changes

Cohort / File(s) Summary
Installation Documentation
src/content/docs/guides/installing_esphome.mdx
Added a new "Cross-platform using uv" section with commands: uv tool install esphome --with wheel,pip --python ">=3.11,<3.14", esphome version for verification, and uv tool upgrade esphome for updates. No other files changed.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Suggested reviewers

  • clydebarrow
  • glmnet
🚥 Pre-merge checks | ✅ 1 | ❌ 2

❌ Failed checks (2 inconclusive)

Check name Status Explanation Resolution
Title check ❓ Inconclusive The title 'uv' is extremely vague and does not clearly convey what was changed. While 'uv' is the tool being added, the title lacks context about the change (adding documentation for cross-platform installation using uv). Expand the title to be more descriptive, such as 'Add uv cross-platform installation guide' or 'Document ESPHome installation via uv package manager'.
Description check ❓ Inconclusive The description '#5481 @ximex' is a reference to an issue and user but provides no meaningful explanation of what this pull request changes or why. Provide a description that explains the changes being made, such as 'Adds documentation for installing ESPHome using uv, a Rust-based Python package manager that works across Windows, macOS, and Linux.'
✅ Passed checks (1 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Copy link
Copy Markdown
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
src/content/docs/guides/installing_esphome.mdx (1)

17-33: Small wording consistency polish for platform naming and punctuation.

Consider using macOS (to match the rest of the page) and ending command-intro lines with periods for consistency.

✏️ Suggested doc polish
-It offers a simple way to install and run ESPHome on Windows, Mac and Linux.
+It offers a simple way to install and run ESPHome on Windows, macOS, and Linux.
@@
-Now *esphome* will be available on your PATH
+Now *esphome* will be available on your PATH.
@@
-Upgrade to the latest version using `uv tool upgrade esphome`
+Upgrade to the latest version using `uv tool upgrade esphome`.
🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@src/content/docs/guides/installing_esphome.mdx` around lines 17 - 33, Replace
the platform name "Mac" with "macOS" in the sentence that lists supported
platforms (the line mentioning "Windows, Mac and Linux"), and add trailing
periods to the command-intro lines—specifically the sentence "Now *esphome* will
be available on your PATH" and the sentence "Upgrade to the latest version using
`uv tool upgrade esphome`"—so they end with periods; changes touch the text
around the install command `uv tool install esphome --with wheel,pip --python
">=3.11,<3.14"` and the descriptive lines referencing esphome and upgrade.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@src/content/docs/guides/installing_esphome.mdx`:
- Around line 17-33: Replace the platform name "Mac" with "macOS" in the
sentence that lists supported platforms (the line mentioning "Windows, Mac and
Linux"), and add trailing periods to the command-intro lines—specifically the
sentence "Now *esphome* will be available on your PATH" and the sentence
"Upgrade to the latest version using `uv tool upgrade esphome`"—so they end with
periods; changes touch the text around the install command `uv tool install
esphome --with wheel,pip --python ">=3.11,<3.14"` and the descriptive lines
referencing esphome and upgrade.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: a2bc4dad-88d2-4ab1-a9c2-b5593893d9bf

📥 Commits

Reviewing files that changed from the base of the PR and between ca60c70 and 2daa19c.

📒 Files selected for processing (1)
  • src/content/docs/guides/installing_esphome.mdx

@netlify
Copy link
Copy Markdown

netlify bot commented Apr 6, 2026

Deploy Preview for esphome ready!

Name Link
🔨 Latest commit 2df5f57
🔍 Latest deploy log https://app.netlify.com/projects/esphome/deploys/69d3cb45ab7efc0008f110ca
😎 Deploy Preview https://deploy-preview-6397--esphome.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
@kellerza
Copy link
Copy Markdown
Author

kellerza commented Apr 6, 2026

@copilot apply changes based on the comments in this thread

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants