dependabot / dependabot-core

🤖 Dependabot's core logic for creating update PRs.
https://docs.github.com/en/code-security/dependabot
MIT License
4.69k stars 1.01k forks source link

Add Support for Hatch #7346

Open moorec-aws opened 1 year ago

moorec-aws commented 1 year ago

Is there an existing issue for this?

Feature description

Add support for hatch.toml and/or hatch within pyproject.toml to parse/update dependencies including env dependencies.

hatch.toml:

[envs.default]
dependencies = [
  "ruff ~= 0.0.254",
  "mypy == 1.1",
  "twine ~= 4.0.2",
]

pyproject.toml:

[tool.hatch.envs.default]
dependencies = [
  "ruff ~= 0.0.254",
  "mypy == 1.1",
  "twine ~= 4.0.2",
]

https://hatch.pypa.io/latest/config/dependency/ https://hatch.pypa.io/latest/config/environment/advanced/

jurre commented 1 year ago

We currently don't have any active plans on adding support for this, but we'll definitely keep an eye on how things develop, thanks for opening this issue so we have a place to track it 👍