CircleCI-Public / cimg-python

The Next-Gen CircleCI Python Docker Convenience Image.
https://circleci.com/developer/images/image/cimg/python
MIT License
33 stars 32 forks source link

cimg/python:2.7.17 contains python 2.7.18 #52

Closed gionn closed 4 years ago

gionn commented 4 years ago

Build running with environment:

Build-agent version 1.0.36552-0105b568 (2020-07-17T13:33:28+0000)
Docker Engine Version: 18.09.6
Kernel Version: Linux 703d9d52b0d1 4.15.0-1077-aws #81-Ubuntu SMP Wed Jun 24 16:48:15 UTC 2020 x86_64 Linux
Starting container cimg/python:2.7.17
  image cache not found on this host, downloading cimg/python:2.7.17
2.7.17: Pulling from cimg/python

4877105a: Already exists 
caa0f5b9: Already exists 
811b6c42: Already exists 
5266dcc6: Already exists 
f09b727f: Already exists 
4fe0a8ff: Already exists 
cfc12ba3: Already exists 
8eb48b95: Already exists 
2bef4971: Already exists 
d10ce16b: Already exists 
de658b86: Already exists 
a9a640b2: Pulling fs layer 
f1ab0ed3: Pulling fs layer 
Digest: sha256:c38d0b01700e398e50f503290f6ffe084c53456c2f7e66406f5552547350a40227MB/27MB3MBB
Status: Downloaded newer image for cimg/python:2.7.17
  pull stats: download 79.36MiB in 833ms (95.25MiB/s), extract 79.34MiB in 3.363s (23.59MiB/s)
  time to create container: 532ms
  using image cimg/python@sha256:c38d0b01700e398e50f503290f6ffe084c53456c2f7e66406f5552547350a402
Time to upload agent and config: 1.125866351s
Time to start containers: 1.829939611s

My build failed with:

#!/bin/bash -eo pipefail
pip install -r requirements.txt

pyenv: version `2.7.17' is not installed (set by /home/circleci/project/.python-version)

Exited with code exit status 1

CircleCI received exit code 1

Inspecting in SSH shows the inconsistency:

circleci@f3740505c6e8:~$ pyenv versions
  system
* 2.7.18 (set by /home/circleci/.pyenv/version)
FelicianoTech commented 4 years ago

Hmm. Will look into this shortly as well as all of the other Python tags to confirm they're all including the appropriate versions.

FelicianoTech commented 4 years ago

This has been fixed. Thanks so much for reporting.