Python 3.15 known issues¶
Known issues for App Service on Python 3.15. Remove an item when its exit criterion is met.
Related code: deploy_scripts/pre_build.sh.
When to revisit¶
Re-check after any of:
- Oryx installs from
poetry.lock/pyproject.tomlreliably. - A clean deploy without the items below succeeds: Oryx build + worker boot.
Suggested verification on a non-prod slot: remove one item, redeploy, confirm the build log and Gunicorn workers stay up under traffic.
Checklist¶
| Issue | Where | Why | Exit criterion |
|---|---|---|---|
Disposable Poetry via python3 -m venv + pip install poetry poetry-plugin-export (no official installer, no poetry self add) |
pre_build.sh |
Shared ~/.local Poetry on App Service is not writable; poetry self add crashes |
A Poetry install in the Oryx environment can export without a temp venv. The temp venv can stay; drop it only if it is unused complexity |
Export requirements.txt so Oryx uses pip/uv, not Oryx’s Poetry installer |
pre_build.sh |
Oryx’s Poetry installer fails on this stack (--no-dev, crashes). Oryx #2557 |
Oryx installs from poetry.lock / pyproject.toml reliably |
Bootstrap does not replace an existing cicd/pre_build.sh, gunicorn.conf.py, or startup.sh. Update or delete a vendored copy so the scripts in the app repo match this package.
Out of scope¶
- Pinning consumer apps away from 3.15. This package targets
>=3.15,<3.16. - Fixing Microsoft Oryx itself. The requirements export is the escape hatch.