Open greenape opened 5 years ago
(Can't think of any obvious way to fix that, but worth mentioning)
Possible solution - remove flowmachine etc. from the integration test and docs pipfiles, install their dependencies using bash thus:
PIPENV_PIPFILE="../flowapi/Pipfile" pipenv install --ignore-pipfile
and the packages themselves so:
pipenv install --skip-lock ../flowapi
Bit of a pain for running tests docs in PyCharm, because you need to make sure the install gets invoked. Doesn't protect you where an automated update updates a dependency of both, because it'll only update it in one, and the version you'd end up running the tests with will be the one from whichever was last in the script.
This by itself is a major argument in favour of migrating away from our monorepo.
If dependabot updates the lock file for flowmachine's Pipfile, then the lock files in integration tests and docs will be out of sync with flowmachine's. Same will happen if we add a package to one of the child project lock files.