Skip to content
Sign upLog in
← Back to Community

What is the poetry lock?

Profile icon
JordanDixon1

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 [earned 5 cycles]
View Answer
Voters
Profile icon
Viv360
Profile icon
JordanDixon1
Comments
hotnewtop
Profile icon
Vandesm14

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.

Docs

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

Profile icon
Zavexeon

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