Too old python pip version

Bitrise Build Issue Report template

Description of the issue

The dependency cannot be resolved because the pip version is old.
I want to use Python Pillow. However, the installation fails.





Always happens when run on

Local reproduction

Reproduced in this environment.
MacOS: 10.15.1
Python: 2.7.12
pip: 8.1.1

$ pip install Pillow
Updating pip to the latest version (19.3.1) solved the problem.

Build log

Collecting Pillow
  Downloading (38.2MB)
    Complete output from command python egg_info:
    Traceback (most recent call last):
      File "<string>", line 1, in <module>
      File "/tmp/pip-build-8ilHBD/Pillow/", line 304
        yield from self.features
    SyntaxError: invalid syntax
Command "python egg_info" failed with error code 1 in /tmp/pip-build-8ilHBD/Pillow/
You are using pip version 8.1.1, however version 19.3.1 is available.
You should consider upgrading via the 'pip install --upgrade pip' command.

Hi there,

Thank you for reaching out.

I was able to reproduce the behaviour and have reached out internally to have this fixed in the general image. In the meantime, please use this workaround:

    - script@1.1.5:
        title: Upgrade pip
        - content: pip install -U pip
    - script@1.1.5:
        - content: pip install Pillow

Please don’t hesitate to follow-up if you have any other questions.

1 Like

This problem was resolved thanks to your support !
I wait for the image fixed.

1 Like

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.