News for hackers. Stuff that matters.
Re:Boring Python: dependency management (2022) by yijiahe on Sunday February 04, 2024 @10:13PM (#39256877)
The author mentions using pip freeze or pip-tools pip-compile as a solution to the indirect dependencies which are reliant on the Python environment, i.e. the platform and Python version.

But from what I understand pip cross-environment usage needs the requirements.txt file to be generated on the environment it is going to be run on. The solution of copying in the same requirements text for installing the packages locally might not work in the container.

Re:Boring Python: dependency management (2022) by jvolkman on Sunday February 04, 2024 @10:56PM (#39257119)
You are correct. Poetry and PDM solve this problem.
Re:Boring Python: dependency management (2022) by geethree on Monday February 05, 2024 @02:50AM (#39258407)
As does the PEX(python executable) project.