Ask coding questions

← Back to all posts
What is the poetry lock?
JordanDixon1 (299)

What is the poetry lock file on every repl that gets created? It started being made with the repl a month or so ago and I don't understand what it does or why it is needed.

Answered by Vandesm14 (2219) [earned 5 cycles]
View Answer
Vandesm14 (2219)

It's the dependencies for your modules you have installed. If module A needs to install module B and C, but B and C aren't in your requirements.txt, they will be placed into the poetry.lock file.


Essentially a kind of requirements.txt for your dependencies... or dependencies for your dependencies (modules for your modules)

Zavexeon (1016)

Hmm? What do you mean? Can you provide a link to a repl with it?