Changed from execv to execve with empty env dict because bench commands on macOS 10.14.6 PY3.9.0a4 fails with "Error while finding module specification for 'frappe.utils.bench_helper' (ModuleNotFoundError: No module named 'frappe')"
This error has come up in the past too. I'm now suspecting it has
something to do with the current process passing on it's environment
variables to the process that's going to replace it, which causes these
issues.
Note that direct execution of the commands without the bench wrapper
worked fine although via bench failed with the specified error
Due to "WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly."
# [5.3.0](https://github.com/frappe/bench/compare/v5.2.1...v5.3.0) (2021-02-04)
### Bug Fixes
* Run compileall in bench after update ([54e6bcf](54e6bcfe9c))
* wrong flag description ([e9c046d](e9c046d56b))
* **install:** Allow override of frappe_branch and erpnext_branch ([6a207ca](6a207ca57a))
* **install:** Helpful logging ([2c4659a](2c4659a7aa))
* **playbooks:** Support wkhtmltox arm64 architecture ([d6d1b91](d6d1b91a79))
* Allow bench src as root ([9d1f7a7](9d1f7a7ed7))
* force renew on monthly bases ([7dcd5f9](7dcd5f9ce3))
* Handle no args passed in CLI ([31e4aee](31e4aeeab8))
* Install wheel during ansible setup ([61567be](61567be3f6))
* Log in ~/bench.log if not running inside bench directory ([28302f6](28302f67a3))
* removed force renewal as it would extend by 3 months every month, now the job runs daily ([408676c](408676c80e))
* removed patch ([87edc4e](87edc4e109))
* Use NullHandler for commands executed outside a bench dir ([31f2999](31f2999b4b))
* utf8mb4_general_ci ([f2e7702](f2e7702fde))
* **install:** Install dev packages for Arm 64-bit ([df0562d](df0562d59b))
* **install:** Obey --without-site ([608b28c](608b28c246))
* Add bench.cli namespace ([2f0b508](2f0b508d2e))
* Remove src test ([b8ed4f6](b8ed4f6a4b))
* Unpin setuptools, six and virtualenv ([03576d1](03576d10b4))
* update letsencrypt renew cron frequency ([7a7b0fe](7a7b0fea37))
* Update package lists and setup prereqs before setting up script ([550f55d](550f55d146))
* Updated command help and verbosity while setting crontab ([c9abac2](c9abac299a))
* Use 'develop' bench if not specified! ([0ad4421](0ad44214cf))
* warning on pip reinstall ([d979751](d979751e0c))
### Features
* better flag description ([9de383a](9de383a760))
* patch for older setups with wrong cron format ([1e97cdf](1e97cdf0c8))
* patch for older setups with wrong cron format ([097879e](097879e1fb))
* pitch erpnext support to VM users ([137a78a](137a78a6b0))