Generating requirements.txt and requirements-colab.txt via scripts/requirements.sh --update
Google Colab clashes with all newer jupyter&ipython versions, and requires older numpy, requesets, and decoratos libs. However, poetry locks all dependencies at once, including inactive optional ones, so the script removes the notebook deps and downgrades the 3 dependencies (only) before generating requirements-colab.txt.
Also included requirements.txt checking into github CI
NB: Different versions of Poetry may generate slightly different files, which may be an issue in CI.
Add detection of google Colab and storage.display with google colab port forwarding
requirements.txt
andrequirements-colab.txt
viascripts/requirements.sh --update
requirements-colab.txt
.