[
https://issues.apache.org/jira/browse/AIRFLOW-3796?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16821036#comment-16821036
]
jack commented on AIRFLOW-3796:
-------------------------------
This is a pip issue not pendulum
[https://github.com/pypa/pip/issues/6190]
[https://github.com/pypa/pip/issues/6163]
And it was already fixed by pip.
> Airflow is pegged at pendulum 1.4.4, which breaks with pip 19.0.1
> -----------------------------------------------------------------
>
> Key: AIRFLOW-3796
> URL: https://issues.apache.org/jira/browse/AIRFLOW-3796
> Project: Apache Airflow
> Issue Type: Bug
> Reporter: Joe Jasinski
> Priority: Major
>
> Installing Apache Airflow using pip 18.0 works fine, but upgrading to pip
> 19.0.1 breaks. The package "pendulum==1.4.4" is failing when it tries to
> install. Looks like I see this python 2.7.
> *Steps to reproduce:*
> docker run -it python:2.7 bash
> pip install pip==19.0.1 --upgrade
> export AIRFLOW_GPL_UNIDECODE=yes # ugly
> pip install apache-airflow
>
> *Error:*
> Downloading
> https://files.pythonhosted.org/packages/85/a5/9fc15751f9725923b170ad37d6c61031fc9e941bafd5288ca6ee51233284/pendulum-1.4.4.tar.gz
> (74kB)
> 100% |████████████████████████████████| 81kB 41.3MB/s
> Installing build dependencies ... done
> Getting requirements to build wheel ... error
> Complete output from command /usr/local/bin/python
> /usr/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py
> get_requires_for_build_wheel /tmp/tmpCCHjD4:
> Traceback (most recent call last):
> File
> "/usr/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
> line 207, in <module>
> main()
> File
> "/usr/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
> line 197, in main
> json_out['return_val'] = hook(**hook_input['kwargs'])
> File
> "/usr/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
> line 54, in get_requires_for_build_wheel
> return hook(config_settings)
> File
> "/tmp/pip-build-env-80gsjf/overlay/lib/python2.7/site-packages/setuptools/build_meta.py",
> line 115, in get_requires_for_build_wheel
> return _get_build_requires(config_settings, requirements=['wheel'])
> File
> "/tmp/pip-build-env-80gsjf/overlay/lib/python2.7/site-packages/setuptools/build_meta.py",
> line 101, in _get_build_requires
> _run_setup()
> File
> "/tmp/pip-build-env-80gsjf/overlay/lib/python2.7/site-packages/setuptools/build_meta.py",
> line 85, in _run_setup
> exec(compile(code, __file__, 'exec'), locals())
> File "setup.py", line 47, in <module>
> from build import *
> File "/usr/local/lib/python2.7/site-packages/pip/_vendor/pep517/build.py",
> line 7, in <module>
> from pip._vendor import pytoml
> ImportError: No module named pip._vendor
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)