Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Setup dev-dependencies defined via pyproject
Since support for pyproject.toml exists, Frappe has gotten rid of requirements.txt file. However, dev-requirements.txt file still existed in Frappe & other apps. With this, we can get rid of the separate dev-reqs file as well and replace it by defining the deps in pyproject under [tool.bench.dev-dependencies] Example: For Frappe, this transition will look like moving the contents of dev-requirements.txt as follows: ``` \# dev-requirements.txt coverage==5.5 Faker~=13.12.1 pyngrok~=5.0.5 unittest-xml-reporting~=3.0.4 ``` ``` \# pyproject.toml [tool.bench.dev-dependencies] coverage = "==5.5" Faker = "~=13.12.1" pyngrok = "~=5.0.5" unittest-xml-reporting = "~=3.0.4" ``` Note: If dev-dependencies are defined in pyproject.toml, and a dev-dependencies.txt file exists - the txt file will be ignored.
- Loading branch information