2
0
mirror of https://github.com/frappe/bench.git synced 2024-09-28 23:09:03 +00:00
bench/bench
Gavin D'souza 75957a56ee 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.
2022-06-16 18:16:57 +05:30
..
commands chore: Drop release project 2022-06-14 15:41:22 +05:30
config feat(config): Add IPv6 listener to nginx site configuration (#1312) 2022-05-30 17:05:08 +05:30
patches chore: remove unnecessary shutil import 2021-12-17 19:39:51 +05:30
playbooks fix: Bump Nodejs v12 => v14 2022-06-06 17:18:54 +05:30
tests chore: Remove release related tests 2022-06-14 16:00:50 +05:30
utils feat: Setup dev-dependencies defined via pyproject 2022-06-16 18:16:57 +05:30
__init__.py fix: Initialize bench in get-app with --init-bench 2021-11-29 18:34:58 +05:30
app.py chore: Drop dead code 2022-06-14 15:48:56 +05:30
bench.py fix: (re)Install every Frappe app even if not installed to env 2022-06-16 17:54:21 +05:30
cli.py fix: Command picking & execution 2021-12-28 13:39:23 +05:30
exceptions.py feat(remove-app): Options for no backup of app & force removal 2022-05-19 13:00:09 +05:30