This section explains how Shippable DevOps Assembly Lines Platform behaves when you set language: python in your shippable.yml for a runCI job,

language: python
  - 3.4

The default version of the language image depends on the machine image selected for the subscription. You can override this by using the pre_ci_boot section or even build your own image from scratch.


This table helps you choose the right language version tag to set in your shippable.yml for your app. If you don't provide a python tag in your YML, the default version will be used.

The versions of Python available vary depending on the tag of the language image; the Python version specified should be listed in the table for the language image tag used. The language image with a particular tag will be available on the edition of the Runtime AMI with the same version number. If you specify an image tag that does not match the Runtime AMI, it will be used but will also increase your build time.

Python Version Language Image Tags Supported OS
3.6.2 v5.8.2 All
3.6.1 v5.7.3 All
3.6.0 v5.5.1 and earlier All
3.5.2 v5.8.2 and earlier 16.04 only
3.5.3 v5.8.2 and earlier 14.04 only
3.5.2 v5.5.1 and earlier All
3.4.5 v5.8.2 and earlier 16.04 only
3.4.3 v5.8.2 and earlier 14.04 only
3.3.6 v5.7.3 and earlier All
3.2.6 v5.6.1 and earlier All
2.7.12 v5.7.3, v5.8.2 All
2.7.6 v5.6.1 and earlier 14.04 only
2.6.9 v5.6.1 and earlier All
pypy2-v5.8.0 v5.7.3 All
pypy3-v5.8.0 v5.7.3 All
pypy2-v4.0.1 v5.6.1 and earlier All
pypy3-v2.4.0 v5.6.1 and earlier All

You can use more than one of these to test your app against multiple versions using matrix builds.

Default Behavior

  ci: <is not set>

If you do not set the ci section of the YML, then we will inject this section to your YML definition at runtime:

    - if [ -f $SHIPPABLE_BUILD_DIR/requirements.txt ]; then pip install -r $SHIPPABLE_BUILD_DIR/requirements.txt; fi

Shippable provided Runtime images

Each of the language images is built from the respective base OS version of the image. Since we install all of the packages, CLIs, and services on the base images, these language images get them automatically. For more information visit the respective base image pages.

Ubuntu 16.04

Built from drydock/u16all

Image Release Date Available in AMI
drydock/u16pytall:v5.8.2 Aug 2017 - Latest Version v5.8.2
drydock/u16pytall:v5.7.3 Jul 2017 v5.7.3
drydock/u16pytall:v5.6.1 Jun 2017 v5.6.1
drydock/u16pytall:v5.5.1 May 2017 v5.5.1
drydock/u16pytall:v5.4.1 Apr 2017 v5.4.1
drydock/u16pytall:v5.3.2 Mar 2017 v5.3.2

Ubuntu 14.04

Built from drydock/u14all

Image Release Date Available in AMI
drydock/u14pytall:v5.8.2 Aug 2017 - Latest Version v5.8.2
drydock/u14pytall:v5.7.3 Jul 2017 v5.7.3
drydock/u14pytall:v5.6.1 Jun 2017 v5.6.1
drydock/u14pytall:v5.5.1 May 2017 v5.5.1
drydock/u14pytall:v5.4.1 Apr 2017 v5.4.1
drydock/u14pytall:v5.3.2 Mar 2017 v5.3.2

Further Reading