Python Virtual Environments & 2024 Developer Insights
Virtual Environments in Docker
This episode explores the best practices for managing Python applications, specifically focusing on whether virtual environments are still necessary within Docker containers.
• The discussion highlights that virtual environments provide an enclosed, standardized artifact, making it easier to reason about the build and deployment process.
• There is an emphasis on avoiding unnecessary complexity while maintaining consistency between development and production.
2023 Python Developer Survey
We dive into the Python Software Foundation and JetBrains developer survey findings, which provide a fascinating look into the current trends of the Python ecosystem.
• Main takeaways include:
- Data science and machine learning roles continue to dominate the Python landscape.
- A significant portion of the user base (approximately 40%) has been coding for less than two years.
- PyTest remains the dominant testing framework, though a concerningly large number of developers report using "None" or no testing framework at all.
"The C programming language will happily let you access memory that has been freed... It'll watch in silence as you walk off the edge of a cliff."
Additional Tools & Ecosystem Updates
Excel & PyScript
We discuss the Anaconda code add-in for Excel, which allows users to run Python code locally using PyScript (WASM) instead of relying solely on cloud-based execution. This offers a major improvement for privacy and offline workflows.
Dependency Management
David Lord's article regarding scheduled dependency updates serves as a focal point for managing project maintenance.
• The discussion covers:
- The fatigue caused by automated PRs from tools like Dependabot*.
- The move toward manual, local updates for non-critical development environments to reduce noise and maintain better control over repository health.