Commit e04d300
committed
fix: consolidate to Python 3.12 in pythonr image
Two Python versions were present in the pythonr image:
- 3.12 at /usr/local/bin/python (intentional, from base image)
- 3.11 at /usr/bin/python3 (unintentional, pulled in as a transitive
apt dependency when pak/sf resolves GDAL system libs on Debian 12)
Fixes:
- pythonr/Dockerfile: register /usr/local/bin/python as the
higher-priority python3 alternative via update-alternatives, so
both 'python' and 'python3' resolve to 3.12 without breaking
system packages that depend on the binary
- python/Dockerfile: add python.defaultInterpreterPath to the
devcontainer.metadata LABEL so VSCode selects 3.12 automatically
in any derived devcontainer
Closes #1321 parent 64500ac commit e04d300
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | | - | |
| 6 | + | |
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
| |||
0 commit comments