pulsar-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [pulsar] zymap opened a new pull request #7936: Remove python2
Date Mon, 31 Aug 2020 01:21:37 GMT

zymap opened a new pull request #7936:
URL: https://github.com/apache/pulsar/pull/7936


   **Motivation**
   
   The pulsar docker and pulsar standalone docker image build failed by:
   ```
   Processing ./pulsar-client/pulsar_client-2.6.0-cp27-cp27mu-manylinux1_x86_64.whl
   2020-08-25T02:23:28.9567844Z [INFO] Collecting fastavro
   2020-08-25T02:23:29.0080316Z [INFO]   Downloading fastavro-1.0.0.tar.gz (658 kB)
   2020-08-25T02:23:29.3108074Z [INFO]     ERROR: Command errored out with exit status 1:
   2020-08-25T02:23:29.3109489Z [INFO]      command: /usr/bin/python2.7 -c 'import sys, setuptools,
tokenize; sys.argv[0] = '"'"'/tmp/pip-install-jvZueR/fastavro/setup.py'"'"'; __file__='"'"'/tmp/pip-install-jvZueR/fastavro/setup.py'"'"';f=getattr(tokenize,
'"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code,
__file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-pip-egg-info-iH1mMy
   2020-08-25T02:23:29.3110061Z [INFO]          cwd: /tmp/pip-install-jvZueR/fastavro/
   2020-08-25T02:23:29.3110303Z [INFO]     Complete output (5 lines):
   2020-08-25T02:23:29.3110520Z [INFO]     Traceback (most recent call last):
   2020-08-25T02:23:29.3110741Z [INFO]       File "<string>", line 1, in <module>
   2020-08-25T02:23:29.3111190Z [INFO]       File "/tmp/pip-install-jvZueR/fastavro/setup.py",
line 58, in <module>
   2020-08-25T02:23:29.3111437Z [INFO]         if sys.implementation.name != "pypy":
   2020-08-25T02:23:29.3111886Z [INFO]     AttributeError: 'module' object has no attribute
'implementation'
   ```
   
   I remove the python2.7 and using the python3 to build images.


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to 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



Mime
View raw message