Skip to content

Add Python 3.7 images and make them default (!34)

Matthew Feickert requested to merge feature/add-Python-3.7-images into master

Resolves #27 (closed)

Add images built with Python 3.7.2 as default images, while still building images with Python 3.6.8. To do this two additional libraries are installed: uuid-dev and libffi-dev on Ubuntu and libuuid-devel and libffi-devel on CentOS. These libraries are necessary to build the uuid modules and for ctypes in a Python 3.7.2 build. Additionally, --with-threads is no longer a configure option in Python 3.7.2, so it is not used in those instances.

It is worth noting that the tests for Python 3.7.2 build fail. This exists as a question on Stack Overflow, and may be resolved in Python 3.7.3 (so check back in March 2019).

In summary:

  • Add Python 3.7.2 images
  • Add OS libraries for uuid and ctypes python modules
  • Don't use --with-threads in Python 3.7.2 configure as it is no longer supported
Edited by Matthew Feickert

Merge request reports