Sign inSign up

makukha/multipython

By makukha

Updated over 1 year ago

Multi-version Python Docker image for research and testing with tox

Image
Developer tools
1

3.0K

makukha/multipython repository overview

GitHub Release°GitHub Release Date°OpenSSF Best Practices

  • makukha/multipython:latest — prerelease and supported Python distributions
  • makukha/multipython:cpython — latest bugfix CPython image
  • makukha/multipython:supportedsupported versions, not including prerelease
  • makukha/multipython:unsafe — all versions, including end-of-life
  • makukha/multipython:{py314...} — single version images
  • All images except base have system Python in virtual environment
  • All images include pip, pyenv, setuptools, tox, uv, virtualenv
  • Tox and virtualenv understand multipython tag names, even non-standard py313t
  • Build your own environment from single version images
  • Based on debian:stable-slim
  • Single platform linux/amd64

Quick reference

All images with Python include pip, pyenv, tox, uv.

How to use this image

# tox.ini
[tox]
env_list = py{27,35,36,37,38,39,310,311,312,313,314,313t,314t}
skip_missing_interpreters = false
[testenv]
command = {env_python} --version
docker run --rm -v .:/src -w /src makukha/multipython:unsafe tox run

Single version images can be used on their own:

$ docker run --rm -v .:/src -w /src makukha/multipython:py310 tox run

See Documentation for advanced usage.

Python versions

DistributionNoteTagCommandSource
CPython 3.14.0a5free threadedpy314tpython3.14tpyenv
CPython 3.13.2free threadedpy313tpython3.13tpyenv
CPython 3.14.0a5py314python3.14pyenv
CPython 3.13.2system ⚙️py313python3.13pyenv
CPython 3.12.9py312python3.12pyenv
CPython 3.11.11py311python3.11pyenv
CPython 3.10.16py310python3.10pyenv
CPython 3.9.21py39python3.9pyenv
CPython 3.8.20EOLpy38python3.8pyenv
CPython 3.7.17EOLpy37python3.7pyenv
CPython 3.6.15EOLpy36python3.6pyenv
CPython 3.5.10EOLpy35python3.5pyenv
CPython 2.7.18EOLpy27python2.7pyenv
  • makukha/multipythonpy3{9,10,11,12,13,14}, py3{13,14}t
  • makukha/multipython:cpythonpy313
  • makukha/multipython:supportedpy3{9,10,11,12,13}, py313t
  • makukha/multipython:unsafe — all tags above

Documentation

Image digests

Use specific image digests for better control and reproducibility.

$ docker run --rm -v .:/src -w /src makukha/multipython@sha256:... tox run

Feedback and contributing

Tag summary

Content type

Image

Digest

sha256:b5643aaa4

Size

1.2 GB

Last updated

over 1 year ago

docker pull makukha/multipython:unsafe-252D