Skip to content

Comments

feat(dependabot): Add Dependabot configuration#28

Merged
hostcc merged 1 commit intomainfrom
feat/dependabot
Dec 20, 2025
Merged

feat(dependabot): Add Dependabot configuration#28
hostcc merged 1 commit intomainfrom
feat/dependabot

Conversation

@hostcc
Copy link
Owner

@hostcc hostcc commented Dec 20, 2025

  • Added Dependabot configuration file to automate dependency updates for the 'esphome' package.
  • ESPHome doesn't allow Python 3.14 which Dependabot attempts to use - constrain the Python version correspondingly.

* Added Dependabot configuration file to automate dependency updates for the 'esphome' package.
* ESPHome doesn't allow Python 3.14 which Dependabot attempts to use - constrain
  the Python version correspondingly.
@hostcc hostcc self-assigned this Dec 20, 2025
@hostcc hostcc added the enhancement New feature or request label Dec 20, 2025
Copilot AI review requested due to automatic review settings December 20, 2025 07:55
@hostcc hostcc merged commit 9206d58 into main Dec 20, 2025
8 checks passed
@hostcc hostcc deleted the feat/dependabot branch December 20, 2025 07:57
Copy link

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

This PR adds Dependabot configuration to automate dependency updates for the ESPHome-based irrigation controller project. The changes introduce a Dependabot configuration file and a minimal pyproject.toml to constrain the Python version used by Dependabot.

Key changes:

  • Added Dependabot configuration for daily automated updates of the esphome package
  • Introduced Python version constraint (>=3.11.0,<3.14) to prevent Dependabot from using Python 3.14

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
.github/dependabot.yml Configures Dependabot for daily pip dependency updates with esphome-only updates, custom commit prefixes, and PR limits
pyproject.toml Adds Python version constraint to prevent Dependabot from attempting to use Python 3.14 with ESPHome

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

schedule:
interval: "daily"
allow:
- dependency-name: "esphome"
Copy link

Copilot AI Dec 20, 2025

Choose a reason for hiding this comment

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

The allow configuration restricts Dependabot to only update the "esphome" package, meaning "pillow" (also present in requirements.txt) will not receive automated updates. If this is intentional and pillow should be manually managed, consider adding a comment explaining why. If pillow should also be updated, either remove the allow section entirely or add pillow to the allowed dependencies list.

Suggested change
- dependency-name: "esphome"
- dependency-name: "esphome"
- dependency-name: "pillow"

Copilot uses AI. Check for mistakes.
@@ -0,0 +1,4 @@
[project]
Copy link

Copilot AI Dec 20, 2025

Choose a reason for hiding this comment

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

According to PEP 621, the [project] table requires a name field. While some tools may tolerate its absence, this incomplete configuration could cause issues with pip or other Python packaging tools. Consider either adding a minimal project name (e.g., name = "esphome-config-sprinkler") or using a different approach to constrain Python versions for Dependabot, such as configuring it directly in the Dependabot configuration file or using a minimal setup.py.

Suggested change
[project]
[project]
name = "esphome-config-sprinkler"

Copilot uses AI. Check for mistakes.
@github-actions
Copy link
Contributor

🎉 This pull request has been included in version 2.1.0

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

Labels

enhancement New feature or request released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant