News for hackers. Stuff that matters.
Re:Python and manually creating the requirements.txt vs. pip... by nicolaslem on Wednesday August 17, 2022 @06:00AM (#32494266)
My simple low-tech approach to the problem:

requirements-base.txt:

    flask
    celery
    package-with-broken-release==2.4.3
requirements.txt generated via pip freeze:

    amqp==5.1.1
    billiard==3.6.4.0
    celery==5.2.7
    click==8.1.3
    click-didyoumean==0.3.0
    click-plugins==1.1.1
    click-repl==0.2.0
    Flask==2.2.2
    package-with-broken-release==2.4.3
    ...
Re:Python and manually creating the requirements.txt vs. pip... by robinweiss on Wednesday August 17, 2022 @01:11PM (#32499013)
The only problem I see here is that these files could diverge and lead to all kinds of annoying problems down the line. Would be great if they could be automatically linked somehow.