Python Updates: UV, Windows PyManager, and Industry News
Developer Tooling Updates
Pre-commit with UV
• Adam Johnson shared an efficient way to manage pre-commit hooks using uv. By utilizing uv tool install pre-commit, developers can manage hooks without needing a pre-existing Python environment.
• The approach recommends using --with pre-commit-uv, which streamlines virtual environment management and package installation, significantly accelerating initial setup times.
PEP 773: The New Windows Python Manager
• PEP 773 introduces an official installation manager for Windows, colloquially known as PyManager.
• Designed to unify the fragmented way Python is installed on Windows (via store, website, or winget), this tool aims to provide a consistent experience by automatically installing the latest CPython version when needed. It is expected to become the standard by Python 3.15.
Developer Growth and Community
Habits of Top Programmers
• A guide by Matthias Endler emphasizes that the best developers share core habits:
• Reading the documentation and reference materials.
• Mastering tools and error messages.
• Maintaining simplicity and having the courage to admit when they do not know something.
Industry Changes
• Textualize, the company behind the popular Rich and Textual libraries, is winding down business operations while the open-source projects remain stable and supported by the community.
• There is concerning news regarding layoffs of the Faster CPython team at Microsoft, sparking industry discussions about the prioritization of core language development versus AI internal investments.
Security Best Practices
Cloud Security
"Embrace cloud firewalls, folks."
• With public Linux servers experiencing attacks every two seconds, managing server access is critical. Instead of relying on complex IP-based rules that can cause lockouts, it is recommended to use cloud-provider firewalls to restrict SSH access to specific trusted IPs, which can be easily updated via 2FA-secured dashboards.