FYI: Poetry Lock file not up to date
When poetry install
ing, got this error:
qguilloteau@fnancy:~/NIX/nixos-compose/nixos-compose$ poetry install
/home/qguilloteau/.poetry/lib/poetry/_vendor/py2.7/subprocess32.py:149: RuntimeWarning: The _posixsubprocess module is not being used. Child process reliability may suffer if your program uses threads.
"program uses threads.", RuntimeWarning)
Python 2.7 will no longer be supported in the next feature release of Poetry (1.2).
You should consider updating your Python version to a supported one.
Note that you will still be able to manage Python 2.7 projects by using the env command.
See https://python-poetry.org/docs/managing-environments/ for more information.
The currently activated Python version 2.7.16 is not supported by the project (^3.7).
Trying to find and use a compatible version.
Using python3 (3.7.3)
Installing dependencies from lock file
Warning: The lock file is not up to date with the latest changes in pyproject.toml. You may be getting outdated dependencies. Run update to update them.
SolverProblemError
Because nixos-compose depends on click (^7.1.2) which doesn't match any versions, version solving failed.
Solved it by deleting the poetry.lock
file and installing again.