I am trying to update a pre-existing project with another dependency by using the poetry add
command but when I do, it erases all of the data in the [metadata.files]
block.
I have looked through the documentation but can't find anyway of keeping/adding this information back into the poetry.lock
file.
Any help would be appreciated!
You have to upgrade poetry to v1.1.14 at least. It was breaking change on PyPI API. Hashes could not be retrieved when locking.