[Python] How to create requirement.txt without all package versions

Discussão em 'Python' iniciado por Stack, Abril 29, 2025.

  1. Stack

    Stack Membro Participativo

    Right now my requirement.txt contains following package list:

    asgiref==3.2.3
    beautifulsoup4==4.8.2
    certifi==2019.11.28
    chardet==3.0.4
    Click==7.0
    Django==3.0.2
    idna==2.8
    pytz==2019.3
    requests==2.22.0
    six==1.14.0
    soupsieve==1.9.5
    sqlparse==0.3.0
    urllib3==1.25.7



    I just want the package name only, so that pip3 always installs the latest version.

    Continue reading...

Compartilhe esta Página