Niels Cautaerts - Python dependency management is a dumpster fire
You have a repetitive task which you want to automate with minimal effort. Naturally, you decide to whip up a quick Python script. With a few handy libraries you pip installed, you can write the logic in fewer than 100 lines of code. Everything goes well. The sun is shining. With all the time you saved with your automation efforts, you decide to go camping and enjoy a bonfire. After some time you realize you can re-use functionality in your script to solve other problems. Your script evolves into multiple scripts, modules, and eventually a library. All the while, you continue to install new dependencies with pip and your system package manager. Everything goes well. The sky is clear and the stars are bright. Some embers from your bonfire were blown into a patch of dry grass by the wind. It begins to smoulder. Others are interested in using your library. You happily share your code. Unfortunately, they can't get it to work on their computer. They have to set up an environment like the o
Niels Cautaerts - Python dependency management is a dumpster fire 2024-11-04 - Python How a fire starts Let's walk through a common scenario. You have a repetitive task which you want to automate with minimal effort. Naturally, you decide to whip up a quick Python script. With a few handy libraries you pip installed, you can write the logic in fewer than 100 lines of code. Everything goes well. The sun is shining. With all the time you saved with your automation efforts, you decide to go camping and enjoy a bonfire. After some time you realize you can re-use functionality in your script to sol
Explore this link on the map →related reading
- Do not use requirements.txt - quanttypequanttype.net
- uv: An extremely Fast Python Package Manager :: Jane Streetjanestreet.com
- The Architecture of Open Source Applications (Volume 1)Python Packagingaosabook.org
- Mediumitnext.io
- Managing environments | Documentation | Poetry - Python dependency management and packaging made easypython-poetry.org
- uv: An In-Depth Guide to Python's Fast and Ambitious New Package Managersaaspegasus.com
- uvdocs.astral.sh
- The Teclado Blogblog.teclado.com
- Python Virtual Environments: A Primer – Real Pythonrealpython.com
- The definitive guide to Python virtual environments with conda | WhiteBox Blogwhiteboxml.com
- mildbyte.xyz • Solving Wordle with uv's dependency resolvermildbyte.xyz
- Python and macOS - davepblog.davep.org