You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@openwhisk.apache.org by GitBox <gi...@apache.org> on 2019/01/30 13:31:01 UTC

[GitHub] csantanapr commented on issue #46: disabled warnings at import for compatibility with old runtime

csantanapr commented on issue #46: disabled warnings at import for compatibility with old runtime
URL: https://github.com/apache/incubator-openwhisk-runtime-python/pull/46#issuecomment-458943965
 
 
   something going on with the python:2 docker image not building
   
   ```
   ollecting cffi!=1.11.3,>=1.8 (from cryptography->service-identity->scrapy==1.5.1)
     Downloading https://files.pythonhosted.org/packages/e7/a7/4cd50e57cc6f436f1cc3a7e8fa700ff9b8b4d471620629074913e3735fb2/cffi-1.11.5.tar.gz (438kB)
   Collecting pycparser (from cffi!=1.11.3,>=1.8->cryptography->service-identity->scrapy==1.5.1)
     Downloading https://files.pythonhosted.org/packages/68/9e/49196946aee219aead1290e00d1e7fdeab8567783e83e1b9ab5585e6206a/pycparser-2.19.tar.gz (158kB)
   Exception:
   Traceback (most recent call last):
     File "/usr/local/lib/python2.7/site-packages/pip/_internal/cli/base_command.py", line 176, in main
       status = self.run(options, args)
     File "/usr/local/lib/python2.7/site-packages/pip/_internal/commands/install.py", line 346, in run
       session=session, autobuilding=True
     File "/usr/local/lib/python2.7/site-packages/pip/_internal/wheel.py", line 848, in build
       assert building_is_possible
   AssertionError
   The command '/bin/sh -c pip install --no-cache-dir --upgrade pip setuptools six  && pip install --no-cache-dir         gevent==1.3.6         flask==1.0.2         beautifulsoup4==4.6.3         httplib2==0.11.3         kafka_python==1.4.3         lxml==4.2.5         python-dateutil==2.7.3         requests==2.19.1         scrapy==1.5.1         simplejson==3.16.0         virtualenv==16.0.0         twisted==18.7.0' returned a non-zero code: 2
   Wed Jan 23 06:38:22 UTC 2019: Command 'docker build -t python2action /home/travis/build/apache/incubator-openwhisk-runtime-python/core/python2Action' failed with exitCode 2, no more retries left, aborting...
   
   
   ```
   
   I propose we disable python:2 from travis
   ```
   DEPRECATION: Python 2.7 will reach the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 won't be maintained after that date. A future version of pip will drop support for Python 2.7.
   ```

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services