News for hackers. Stuff that matters.
Re:Overview of Python dependency management tools by mariokostelac on Monday June 01, 2020 @03:52PM (#23382939)
Does it pin versions of 2nd degree dependencies too? Like pip freeze would do? Also, when you remove a package, does it know to clear packages that were its deps and are not needed anymore?
Re:Overview of Python dependency management tools by mjw1007 on Monday June 01, 2020 @04:04PM (#23383074)
pip-tools can do both of those, yes.

For the second, pip-compile computes the new requirements.txt (which is effectively the lockfile) from scratch, and pip-sync (not shown in that Makefile fragment) removes packages that are no longer listed there.

Re:Overview of Python dependency management tools by mariokostelac on Monday June 01, 2020 @04:28PM (#23383379)
Thanks a lot for the reply. I'll include it some time soon in the article update
Re:Overview of Python dependency management tools by mariocesar on Wednesday June 03, 2020 @02:11AM (#23400392)
Yes, and yes