-
Notifications
You must be signed in to change notification settings - Fork 709
Change pip default cache path to **/pyproject.toml #529
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingfeature requestNew feature or request to improve the current logicNew feature or request to improve the current logic
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfeature requestNew feature or request to improve the current logicNew feature or request to improve the current logic