python@3.12+
2 traces
- Django 6.0 upgrade: Python 3.12+ required, Model.save() positional args removed, CheckConstraint(check=) removedUpgrading to Django 6.0 fails at install on Python 3.10/3.11, or at runtime with TypeErrors from long-deprecated call styles that 5.x only warned about. Fix: Upgrade path: get to the latest 5.2 with python -Wd…
- Run a one-file Python script with dependencies: PEP 723 inline metadata + uv run, no venv or requirements.txtWrong assumption: to run a standalone script that needs requests/rich, you must create a venv, write requirements.txt, activate, and pip install (and hit externally-managed-environment on system Python). Fix: Resulting…