mirror of
https://github.com/frappe/bench.git
synced 2024-09-28 23:09:03 +00:00
75957a56ee
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. |
||
---|---|---|
.. | ||
commands | ||
config | ||
patches | ||
playbooks | ||
tests | ||
utils | ||
__init__.py | ||
app.py | ||
bench.py | ||
cli.py | ||
exceptions.py |