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
related reading
- Do not use requirements.txt - quanttypequanttype.net
- Write code that is easy to delete, not easy to... — programming is terribleprogrammingisterrible.com
- Shipping at Inference-Speed | Peter Steinbergersteipete.me
- Building a Python Appstevedower.id.au
- Dependency Confusion: How I Hacked Into Apple, Microsoft and Dozens of Other Companies | by Alex Birsan | Mediummedium.com
- GitHub - konstin/sudoku-in-python-packaging: Sudoku solving in python packaginggithub.com
- Mediumitnext.io
- The Architecture of Open Source Applications (Volume 1)Python Packagingaosabook.org
- Using .env Files for Environment Variables in Python Applications - DEV Communitydev.to
- Thoughts on slowing the fuck downmariozechner.at
- Python and macOS - davepblog.davep.org
- The Curse of Knowing How, or; Fixing Everything | Blognotashelf.dev