[Python] Why should version numbers not be pinned in a Pipfile?

Discussão em 'Python' iniciado por Stack, Novembro 21, 2025.

  1. Stack

    Stack Membro Participativo

    I'm looking into using pipenv and in the docs

    it once said (emphasis mine)


    Note, that when importing a requirements file, they often have version numbers pinned, which you likely won’t want
    ​

    Why is this?

    I understand that the Pipfile.lock file will store the specific versions and hashes of the dependencies I install but don't I want to be able to see the specific versions of what is installed in Pipfile? (The same way I do when I use a requirements.txt?)

    Continue reading...

Compartilhe esta Página