natsukagami / kjudge

A simple system for hosting competitive programming contests.
GNU Affero General Public License v3.0
23 stars 11 forks source link

"`python3` not found" in the `latest` Docker image #98

Closed natsukagami closed 1 year ago

natsukagami commented 1 year ago

What version are you encountering the bug in? latest (0.7.5) Docker image, as well as unstable.

Describe the bug Python 3 interpreter not found.

❯ docker run --rm -it natsukagami/kjudge:latest
2023/05/27 23:35:50 "python3" seems to be unavailable on the system. Declining all submissions with the language...

Additional context We do install python3.6 in the output image: https://github.com/natsukagami/kjudge/blob/c3f417840a274de6ff765bc5af047c7123938789/docker/Dockerfile#L43

Why is it not here? Perhaps python3.6 is not longer a package? Why is this not failing then?

On the other hand, it is now prime time to drop python 2 support from kjudge. One question: how do we handle already existing python2 submissions?