Better HN
topnewbestaskshowjobs
Log inSign up

robinweiss

15 karma · joined Aug 17, 2022 (4y ago) · 8 submissions

Data generalist
Submissions

comment 4y ago · link · parent

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.

comment 4y ago · link · parent

What's bad about pinning the transitive dependencies? I feel otherwise this could lead to really hard to debug errors down the road if second-order dependency versions diverge between developers.

And I fully agree on the tools. I personally would always use something like pip-tools or poetry, but it's not always an option to use them, unfortunately.

comment 4y ago · link · parent

Absolutely they are. But I work a lot with teams that are on the fringes of tech and business like Data Science & BI. I am trying to find the right balance between doing things cleanly but not overburdening non-engineers with too many tools and abstractions.

comment 4y ago · link · parent

This ... I don't know what to say :D I guess I have to thank you, this helps me see the bigger picture and not be too hung up on the manual requirements.txt files of my colleagues. Things truly could be worse.

comment 4y ago · link · parent

Cool, thanks! I guess the bottom-line is that requirements.txt have their weaknesses regardless of how you create them ¯\_(ツ)_/¯

comment 4y ago · link · parent

Thanks! I personally use those tools, but a lot of times it's hard to convince people to switch from their hand-written requirements.txt. I was looking for some bullet-proof arguments to end that discussion once and for all :D

7.

Python and manually creating the requirements.txt vs. pip freeze

20 points · by robinweiss · 4y ago · 24 comments