[ https://issues.apache.org/jira/browse/BEAM-9061?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17017565#comment-17017565 ]
Udi Meiri commented on BEAM-9061: --------------------------------- Note that pyhamcrest 2.0.0 is out now, which fails py2 postcommits (worker-startup fails): {code} I 2020-01-16T22:53:58.107488Z Processing /var/opt/google/dataflow/PyHamcrest-2.0.0.tar.gz I 2020-01-16T22:53:58.384311Z ERROR: Package 'PyHamcrest' requires a different Python: 2.7.13 not in '>=3.5' I 2020-01-16T22:53:58.414867Z /usr/local/bin/pip failed with exit status 1 {code} Would suggest cherrypicking into 2.19 if this is an issue, since postcommit_requirements.txt has no version pinning. > New release of pyhamcrest==1.10.0 breaks portable Python precommits. > -------------------------------------------------------------------- > > Key: BEAM-9061 > URL: https://issues.apache.org/jira/browse/BEAM-9061 > Project: Beam > Issue Type: Bug > Components: test-failures > Reporter: Valentyn Tymofieiev > Assignee: Valentyn Tymofieiev > Priority: Major > Fix For: Not applicable > > Time Spent: 2h > Remaining Estimate: 0h > > {noformat} > 08:35:26 File "apache_beam/runners/portability/fn_api_runner_test.py", line > 38, in <module> > 08:35:26 import hamcrest # pylint: disable=ungrouped-imports > 08:35:26 File > "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python2_PVR_Flink_Commit/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/hamcrest/__init__.py", > line 2, in <module> > 08:35:26 from hamcrest.library import * > 08:35:26 File > "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python2_PVR_Flink_Commit/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/hamcrest/library/__init__.py", > line 7, in <module> > 08:35:26 from hamcrest.library.object import * > 08:35:26 File > "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python2_PVR_Flink_Commit/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/hamcrest/library/object/__init__.py", > line 4, in <module> > 08:35:26 from .hasproperty import has_properties, has_property > 08:35:26 File > "/home/jenkins/jenkins-slave/workspace/beam_PreCommit_Python2_PVR_Flink_Commit/src/build/gradleenv/1866363813/local/lib/python2.7/site-packages/hamcrest/library/object/hasproperty.py", > line 174 > 08:35:26 ), > 08:35:26 ^ > {noformat} > rootcause: https://github.com/hamcrest/PyHamcrest/issues/131 -- This message was sent by Atlassian Jira (v8.3.4#803005)