[
https://issues.apache.org/jira/browse/BEAM-7845?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Valentyn Tymofieiev updated BEAM-7845:
--------------------------------------
Comment: was deleted
(was: I suspect this may be https://github.com/pypa/setuptools/issues/1009.
we should install the numpy (or a package that requires it) using pip. unlike
setup tools, pip takes python_requires version into account, and will not
attempt to install the newest version of the package, that does not work for
current platform)
> beam_PostCommit_Python_VR_Spark failed due to latest Numpy version
> ------------------------------------------------------------------
>
> Key: BEAM-7845
> URL: https://issues.apache.org/jira/browse/BEAM-7845
> Project: Beam
> Issue Type: Bug
> Components: test-failures
> Reporter: Mark Liu
> Priority: Major
>
> Error log from
> https://builds.apache.org/view/A-D/view/Beam/view/PostCommit/job/beam_PostCommit_Python_VR_Spark/491/:
> {code}
> Installed
> /home/jenkins/jenkins-slave/workspace/beam_PostCommit_Python_VR_Spark/src/build/gradleenv/1922375555/lib/python2.7/site-packages/crcmod-1.7-py2.7-linux-x86_64.egg
> Searching for numpy>=1.14
> Reading https://pypi.org/simple/numpy/
> Downloading
> https://files.pythonhosted.org/packages/da/32/1b8f2bb5fb50e4db68543eb85ce37b9fa6660cd05b58bddfafafa7ed62da/numpy-1.17.0.zip#sha256=951fefe2fb73f84c620bec4e001e80a80ddaa1b84dce244ded7f1e0cbe0ed34a
> Best match: numpy 1.17.0
> Processing numpy-1.17.0.zip
> Writing /tmp/easy_install-7hNEpD/numpy-1.17.0/setup.cfg
> Running numpy-1.17.0/setup.py -q bdist_egg --dist-dir
> /tmp/easy_install-7hNEpD/numpy-1.17.0/egg-dist-tmp-g20089
> Traceback (most recent call last):
> ...
> RuntimeError: Python version >= 3.5 required.
> {code}
> Failed since
> [#372|https://builds.apache.org/view/A-D/view/Beam/view/PostCommit/job/beam_PostCommit_Python_VR_Spark/372/]
> when one of the dependency numpy had new version 1.17.0rc1 out. Numpy drop
> python2 since 1.17.0 according to
> [https://github.com/numpy/numpy/releases/tag/v1.17.0|http://example.com].
> This test installs numpy in a special way which collects 1.17.0 version under
> python2 environment.
--
This message was sent by Atlassian JIRA
(v7.6.14#76016)