python 依赖项仅在 CI 机器上失败

我的詹金斯 CI 开始失败。我正在构建一个依赖于我的另一个模块的模块


这是错误消息。它在本地主机上没有失败。构建是使用 dockers 完成的


Collecting cryptography>=2.2.1 (from pyOpenSSL==18.0.0->api_common_module==4.0.3->mobile_module)


  Installing build dependencies: started


  Installing build dependencies: finished with status 'error'


  Complete output from command /usr/bin/python2 -m pip install --ignore-installed --no-user --prefix /tmp/pip-build-env-3qDpun --no-warn-script-location --no-binary :none: --only-binary :none: --no-index --find-links /tmp/python-packages -- setuptools>=18.5 wheel "cffi>=1.7,!=1.11.3; python_implementation != 'PyPy'":


  Looking in links: /tmp/python-packages


  Collecting setuptools>=18.5


    Could not find a version that satisfies the requirement setuptools>=18.5 (from versions: )


  No matching distribution found for setuptools>=18.5

任何想法为什么会这样?


回首忆惘然
浏览 234回答 1
1回答

慕婉清6462132

根本原因是PyOpenSSL从升级17.3.0到18.0. 恢复并解决了。
打开App,查看更多内容
随时随地看视频慕课网APP

相关分类

Python