Closed
Description
Description:
requirements.txt
is a convention. The only existing standard for where to specify Python dependencies is PEP 621
Related to #502, but not following standards is IMHO a bug, not a missing feature.
Action version:
v4
Platform, Runner type, Tools version:
N/A
Repro steps:
Create a standard Python project, e.g. via hatch new
or by following the official tutorial: https://packaging.python.org/en/latest/tutorials/packaging-projects/
Expected behavior:
The default path(s) should end with pyproject.toml
.
An option would be to be smart about it and only consider pyproject.toml
if it contains a project.dependencies
array.
Actual behavior:
The default cache path is **/requirements.txt
.
Metadata
Metadata
Assignees
Labels
Something isn't workingSomething isn't workingNew feature or request to improve the current logicNew feature or request to improve the current logic