Commit f9da91c
Han Wang
fix(docker): use python:3.11-slim base for >=3.9 requirement
The Publish Docker image workflow broke on master after the minimum
Python bump to 3.9: the base image dptechnology/dflow:latest ships
Python 3.8.20, so `pip install .` aborts with "Package 'dpgen2'
requires a different Python: 3.8.20 not in '>=3.9'".
Switch the base to python:3.11-slim. pydflow is a declared dependency
of dpgen2, so it is installed by `pip install .` and need not be baked
into the base image. All install-time dependencies ship manylinux
wheels (no source build), so the slim image is sufficient.1 parent ed23df2 commit f9da91c
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
0 commit comments