BewareMyPower commented on pull request #9690:
URL: https://github.com/apache/pulsar/pull/9690#issuecomment-784751037
It looks like `pip install setuptools` will fail
```
Collecting setuptools>=34.0.0 (from
apache-bookkeeper-client>=4.9.2->pulsar-client==2.8.0)
Downloading
https://files.pythonhosted.org/packages/12/68/95515eaff788370246dac534830ea9ccb0758e921ac9e9041996026ecaf2/setuptools-53.0.0.tar.gz
(2.1MB)
100% |################################| 2.1MB 502kB/s
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 1, in <module>
File "setuptools/__init__.py", line 16, in <module>
import setuptools.version
File "setuptools/version.py", line 1, in <module>
import pkg_resources
File "pkg_resources/__init__.py", line 1367
raise SyntaxError(e) from e
^
```
It tried to download `setuptools` 53.0.0 but it doesn't support Python2. I
saw the successfully CI log is
```
Requirement already satisfied: setuptools>=34.0.0 in
/usr/local/lib/python2.7/dist-packages (from
apache-bookkeeper-client>=4.9.2->pulsar-client==2.8.0) (44.1.1)
```
I found the cause is the `pip` version of my image is `8.1.1` but the `pip`
version of `apachepulsar/pulsar-build` is `20.3.4`. I'll solve this problem.
----------------------------------------------------------------
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:
[email protected]