Diverging sets of dependencies are a constant struggle for people vs.
machines, either aiming to use the notebooks, or to validate them,
respectively.
Proposal
The idea is to improve the situation by referring to the canonical
requirements.txt file from everywhere. In this spirit, dependency
updates can be driven well by Dependabot, and relevant software
artefacts should be synchronized better.
Trivia
By using absolute URLs to the requirements.txt files, the relevant pip install invocation should also work well on runtime environments like Google Colab, which need them.
By using the --upgrade / -U option for pip install, let's try to ensure dependencies are always up-to-date.
Problem
Diverging sets of dependencies are a constant struggle for people vs. machines, either aiming to use the notebooks, or to validate them, respectively.
Proposal
The idea is to improve the situation by referring to the canonical
requirements.txt
file from everywhere. In this spirit, dependency updates can be driven well by Dependabot, and relevant software artefacts should be synchronized better.Trivia
requirements.txt
files, the relevantpip install
invocation should also work well on runtime environments like Google Colab, which need them.--upgrade
/-U
option forpip install
, let's try to ensure dependencies are always up-to-date.