{"id":21001494,"url":"https://github.com/divio/multi-python","last_synced_at":"2026-04-02T02:46:54.830Z","repository":{"id":191656747,"uuid":"684511875","full_name":"divio/multi-python","owner":"divio","description":"A docker multi-architecture Docker image with tox and multiple Python version installed, ideal for CI.","archived":false,"fork":false,"pushed_at":"2025-03-04T10:15:32.000Z","size":28,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-03-04T10:39:18.815Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/divio.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-29T09:30:02.000Z","updated_at":"2024-07-08T09:14:36.000Z","dependencies_parsed_at":null,"dependency_job_id":"c6c19570-3b31-4f39-9dbb-76bab84cc187","html_url":"https://github.com/divio/multi-python","commit_stats":null,"previous_names":["divio/multi-python"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Fmulti-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Fmulti-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Fmulti-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/divio%2Fmulti-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/divio","download_url":"https://codeload.github.com/divio/multi-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243418976,"owners_count":20287800,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-19T08:15:32.230Z","updated_at":"2025-12-28T15:22:46.801Z","avatar_url":"https://github.com/divio.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Multi-Python Image\n\nThis repository defines a Python image based on Ubuntu with multiple Python versions installed,\nalong with the `tox` executable. It is meant to use in CI for test purposes.\n\nIt supports both ARM and AMD architectures.\n\n## Python versions\n\nThe list of Python versions to install is passed as arguments (see `Dockerfile`).\nOne Python version must be selected as \"main\" - it will be used to install `tox`.\nAlong with \"regular\" Python versions, one pypy version will also be installed.\n\nThe main python version is set as the default in the container (`python` and `python3`).\n\n**IMPORTANT**: Python versions must be available either in the official Ubuntu repositories or in\nthe [deadsnakes PPA](https://launchpad.net/~deadsnakes/+archive/ubuntu/ppa). The PyPy version should\nbe available at https://www.pypy.org/download.html.\n\n## Usage\n\nRun the following from a terminal at the root of your Python project:\n```bash\ndocker run --rm -it -v $(PWD):/app divio/multi-python:latest tox\n```\n\nThe default user is `tox`. If you need to install extra dependencies, `tox` has sudo rights\nso it is possible to run `sudo apt update \u0026\u0026 sudo apt install ...`.\n\n## Development\n\nAfter updating the Python versions in the `Dockerfile`, ensure you also update `test/tox.ini` to\nreflect the change.\n\n## About pip\n\nAs stated in https://packaging.python.org/en/latest/guides/installing-using-linux-tools/#debian-ubuntu:\n\n\u003e Recent Debian/Ubuntu versions have modified pip to use the “User Scheme” by default,\n\u003e which is a significant behavior change that can be surprising to some users.\n\nIn other words, pip now installs libraries and executables in `$HOME/.local` (or `/home/tox/.local`\nin this image).\n\nThis has no impact, except when running commands as `sudo`. Just keep in mind the `root` user\ndoesn't have the same packages installed.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivio%2Fmulti-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdivio%2Fmulti-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdivio%2Fmulti-python/lists"}