Python Packaging Governance, Django MongoDB & Pride Versioning

·27m 47s
Shared point

Introduction

In episode 420 of Python Bytes, hosts Michael Kennedy and Brian Akin discuss the latest updates in the Python ecosystem, ranging from new governance proposals to database integrations and community-driven humor about software versioning.

Python Packaging Governance: PEP 772

The episode opens with a discussion on PEP 772, which proposes the creation of a Python Packaging Council. This council would aim to professionalize the oversight of packaging standards, tools, and implementations, addressing long-standing confusion regarding decision-making authority within the Python Packaging Authority (PyPA).

• The proposal seeks to establish a formal governing body similar to the Python Steering Council.
• The goal is to provide a unified process for managing critical tools like pip and setuptools.

Django and MongoDB Integration

A significant highlight is the announcement of the official Django MongoDB backend, now in public preview. This integration allows developers to leverage Django’s powerful ecosystem with the flexibility of a document-oriented database.

Seamless Integration: Enables the use of Django models, forms, validation, and the admin backend with MongoDB.
Native Experience: Developers can manage database settings directly through settings.py.
Data Science Support: Includes support for aggregation pipelines for advanced querying capabilities.

Software Development Philosophy

A segment inspired by a developer talk explores essential philosophies for professional growth. Key advice included:

"Aim to be 90% done in 50% of the available time."

Anti-Rewrite Stance: Focus on addressing technical debt incrementally rather than planning for a "ground-up" rewrite.
Automation: Create scripts for setup and use Docker to ensure consistent environments across teams.
Testability: Prioritize code that is not just correct, but visibly and trivially correct, supported by robust testing.

Python 3.13.2 and Other Updates

Python 3.13.2 has been released as a maintenance update, containing roughly 250 changes and various security fixes. Additionally, the hosts discussed:

PyScript: New release features enhanced support for Pygame, making it easier to share games in the browser.
Version Schemas: The hosts enjoyed a humorous take on "Pride Versioning"—a parody of Semantic Versioning where version numbers are based on how proud a developer is of their code.

Topics

Chapters

6 chapters
Python Bytes
AI chat — answers grounded in episodes