[
https://issues.apache.org/jira/browse/BEAM-3357?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16299007#comment-16299007
]
ASF GitHub Bot commented on BEAM-3357:
--------------------------------------
chamikaramj opened a new pull request #4298: [BEAM-3357] Set min version of
protobof so that the range is compatible with grpc…
URL: https://github.com/apache/beam/pull/4298
… dependencies.
Follow this checklist to help us incorporate your contribution quickly and
easily:
- [ ] Make sure there is a [JIRA
issue](https://issues.apache.org/jira/projects/BEAM/issues/) filed for the
change (usually before you start working on it). Trivial changes like typos do
not require a JIRA issue. Your pull request should address just this issue,
without pulling in other changes.
- [ ] Each commit in the pull request should have a meaningful subject line
and body.
- [ ] Format the pull request title like `[BEAM-XXX] Fixes bug in
ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA
issue.
- [ ] Write a pull request description that is detailed enough to
understand what the pull request does, how, and why.
- [ ] Run `mvn clean verify` to make sure basic checks pass. A more
thorough check will be performed on your pull request automatically.
- [ ] If this contribution is large, please file an Apache [Individual
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
---
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Python SDK head fails to run tests due to
> Requirement.parse('protobuf<=3.4.0,>=3.2.0')
> --------------------------------------------------------------------------------------
>
> Key: BEAM-3357
> URL: https://issues.apache.org/jira/browse/BEAM-3357
> Project: Beam
> Issue Type: Bug
> Components: sdk-py-core
> Reporter: Chamikara Jayalath
> Priority: Critical
>
> Error is:
> running build_ext
> Traceback (most recent call last):
> File "setup.py", line 202, in <module>
> 'test': generate_protos_first(test),
> File
> "/Users/chamikara/testing/test_py_12_14_2017_2/env_proto_3.4/lib/python2.7/site-packages/setuptools/__init__.py",
> line 129, in setup
> return distutils.core.setup(**attrs)
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/core.py",
> line 151, in setup
> dist.run_commands()
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
> line 953, in run_commands
> self.run_command(cmd)
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/distutils/dist.py",
> line 972, in run_command
> cmd_obj.run()
> File "setup.py", line 142, in run
> super(cmd, self).run()
> File
> "/Users/chamikara/testing/test_py_12_14_2017_2/env_proto_3.4/lib/python2.7/site-packages/setuptools/command/test.py",
> line 225, in run
> with self.project_on_sys_path():
> File
> "/System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/contextlib.py",
> line 17, in __enter__
> return self.gen.next()
> File
> "/Users/chamikara/testing/test_py_12_14_2017_2/env_proto_3.4/lib/python2.7/site-packages/setuptools/command/test.py",
> line 164, in project_on_sys_path
> require('%s==%s' % (ei_cmd.egg_name, ei_cmd.egg_version))
> File
> "/Users/chamikara/testing/test_py_12_14_2017_2/env_proto_3.4/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 984, in require
> needed = self.resolve(parse_requirements(requirements))
> File
> "/Users/chamikara/testing/test_py_12_14_2017_2/env_proto_3.4/lib/python2.7/site-packages/pkg_resources/__init__.py",
> line 875, in resolve
> raise VersionConflict(dist, req).with_context(dependent_req)
> pkg_resources.ContextualVersionConflict: (protobuf 3.5.0.post1
> (/Users/chamikara/testing/test_py_12_14_2017_2/beam/sdks/python/.eggs/protobuf-3.5.0.post1-py2.7.egg),
> Requirement.parse('protobuf<=3.4.0,>=3.2.0'), set(['apache-beam']))
> Seems like grpcio did a release today which is breaking us:
> https://pypi.python.org/pypi/grpcio/1.8.1
> We have to either bump our protobuf dependency or reduce the upper bound of
> grpcio dependency to previous release (1.7.3).
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)