fix: Install poetry via pipx (Python feature provides pipx, not poetry)

The Python devcontainer feature installs pipx but not poetry by default.
Updated to:
1. Add poetry to toolsToInstall in devcontainer.json
2. Use pipx to install poetry in oncreate.sh
3. Ensure PATH includes /usr/local/py-utils/bin where pipx installs tools
This commit is contained in:
Otto-AGPT
2026-02-11 17:26:35 +00:00
parent 4daa25e3dc
commit 214ab25b3c
3 changed files with 24 additions and 20 deletions

View File

@@ -20,7 +20,8 @@
},
"ghcr.io/devcontainers/features/python:1": {
"version": "3.13",
"installTools": true
"installTools": true,
"toolsToInstall": "flake8,autopep8,black,mypy,pytest,poetry"
}
},