[Python-Dev] Mostly Official Python Development Container Image

Barry Warsaw barry at python.org
Sun Dec 10 19:13:53 EST 2017


As part of our work on importlib_resources, and with some fantastic help from Abhilash Raj, we now have a mostly official Python development container image that you can use for CI testing and other development purposes.

This image is based on Ubuntu 16.04 LTS and provides the latest stable releases of Python 2.7, and 3.4-3.6, along with a mostly up-to-date git checkout of master, currently Python 3.7 of course.  Once 3.7 is released to beta, we intend to track its release tarballs too.  Note that these are pristine builds of upstream releases, so they don’t have any of the Ubuntu or Debian platform changes.

We also install a few other commonly needed tools, like pip, git, unzip, wget, mypy, and tox.

We do *not* recommend this image for application deployment purposes; use this for development and testing only, please.

Here’s the project repo:

https://gitlab.com/python-devs/ci-images

We’re publishing this image automatically to quay.io, so you can pull the image in a .gitlab-ci.yml file to run tests against all these versions of Python.  Here’s an example from the importlib_resources project:

https://gitlab.com/python-devs/importlib_resources/blob/master/.gitlab-ci.yml

We welcome contributors on the ci-images GitLab project!

Cheers,
-Barry

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: Message signed with OpenPGP
URL: <http://mail.python.org/pipermail/python-dev/attachments/20171210/78b4753d/attachment.sig>


More information about the Python-Dev mailing list