Should we commit poetry.lock?
JasonGross opened this issue · comments
guarantees-based-mechanistic-interpretability/.gitignore
Lines 97 to 102 in d87b9c7
Maybe we should remove
?
Questions:
- Will this break cross-platform development?
- Do we want to have CI test on multiple versions of python, and will having a lock file interfere with this?
- Do we want to have CI test multiple versions of poetry, and will having a lock file interfere with this?
Currently CI tests
If we change this, presumably we'll want to add hashFiles('poetry.lock')
to
and maybe remove some subset of the existing key.
see https://python-poetry.org/docs/basic-usage/ -- seems to suggest committing the lock makes sense?
Okay, let's try it. I'm concerned that the lockfile is going to pin some pytorch cuda packages specific to some particular GPU and the lockfile for the node / MacOS / WSL / Linux are all going to conflict. Maybe it'll magically work, but we should keep an eye out.