Increase version to v0.4.0 in file VERSION and pyproject.toml

* Prepare release v0.4.0 by increasing version from v0.3.0 to v0.4.0.
4 jobs for increase-version-in-VERSION-and-pyproject-to-v-0-4-0 in 2 minutes and 33 seconds