[ https://issues.apache.org/jira/browse/BEAM-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16172077#comment-16172077 ]
ASF GitHub Bot commented on BEAM-2964: -------------------------------------- GitHub user robertwb opened a pull request: https://github.com/apache/beam/pull/3865 [BEAM-2964] Exclude incompatible six release. Upstream bugs being tracked at https://github.com/google/apitools/issues/175 and https://github.com/benjaminp/six/issues/210 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). --- You can merge this pull request into a Git repository by running: $ git pull https://github.com/robertwb/incubator-beam BEAM-2964-six Alternatively you can review and apply these changes as the patch at: https://github.com/apache/beam/pull/3865.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #3865 ---- commit 414cfbbd7a8d032ceff314cf6d07946f3269f05a Author: Robert Bradshaw <rober...@gmail.com> Date: 2017-09-19T17:41:43Z [BEAM-2964] Exclude incompatible six release. Upstream bugs being tracked at https://github.com/google/apitools/issues/175 and https://github.com/benjaminp/six/issues/210 ---- > Latest six (1.11.0) produces "metaclass conflict: the metaclass of a derived > class must be a (non-strict) subclass of the metaclasses of all its bases" > ------------------------------------------------------------------------------------------------------------------------------------------------------- > > Key: BEAM-2964 > URL: https://issues.apache.org/jira/browse/BEAM-2964 > Project: Beam > Issue Type: Bug > Components: sdk-py-core > Affects Versions: 2.1.0 > Environment: Python 2.7 in a virtualenv on MacOS > Reporter: Steven Normore > Assignee: Ahmet Altay > > $ virtualenv venv > [...] > $ source venv/bin/activate > [...] > $ pip install apache-beam[gcp]==2.1.0 six==1.11.0 > [...] > $ python -c 'import apache_beam' > Traceback (most recent call last): > File "<string>", line 1, in <module> > File > "/Users/snormore/Workspace/beam-six/venv/lib/python2.7/site-packages/apache_beam/__init__.py", > line 78, in <module> > from apache_beam import io > File > "/Users/snormore/Workspace/beam-six/venv/lib/python2.7/site-packages/apache_beam/io/__init__.py", > line 21, in <module> > from apache_beam.io.avroio import * > File > "/Users/snormore/Workspace/beam-six/venv/lib/python2.7/site-packages/apache_beam/io/avroio.py", > line 29, in <module> > from apache_beam.io import filebasedsource > File > "/Users/snormore/Workspace/beam-six/venv/lib/python2.7/site-packages/apache_beam/io/filebasedsource.py", > line 33, in <module> > from apache_beam.io.filesystems import FileSystems > File > "/Users/snormore/Workspace/beam-six/venv/lib/python2.7/site-packages/apache_beam/io/filesystems.py", > line 31, in <module> > from apache_beam.io.gcp.gcsfilesystem import GCSFileSystem > File > "/Users/snormore/Workspace/beam-six/venv/lib/python2.7/site-packages/apache_beam/io/gcp/gcsfilesystem.py", > line 27, in <module> > from apache_beam.io.gcp import gcsio > File > "/Users/snormore/Workspace/beam-six/venv/lib/python2.7/site-packages/apache_beam/io/gcp/gcsio.py", > line 36, in <module> > from apache_beam.utils import retry > File > "/Users/snormore/Workspace/beam-six/venv/lib/python2.7/site-packages/apache_beam/utils/retry.py", > line 38, in <module> > from apitools.base.py.exceptions import HttpError > File > "/Users/snormore/Workspace/beam-six/venv/lib/python2.7/site-packages/apitools/base/py/__init__.py", > line 21, in <module> > from apitools.base.py.base_api import * > File > "/Users/snormore/Workspace/beam-six/venv/lib/python2.7/site-packages/apitools/base/py/base_api.py", > line 31, in <module> > from apitools.base.protorpclite import message_types > File > "/Users/snormore/Workspace/beam-six/venv/lib/python2.7/site-packages/apitools/base/protorpclite/message_types.py", > line 25, in <module> > from apitools.base.protorpclite import messages > File > "/Users/snormore/Workspace/beam-six/venv/lib/python2.7/site-packages/apitools/base/protorpclite/messages.py", > line 1165, in <module> > class Field(six.with_metaclass(_FieldMeta, object)): > TypeError: Error when calling the metaclass bases > metaclass conflict: the metaclass of a derived class must be a > (non-strict) subclass of the metaclasses of all its bases > (venv) > $ pip install six==1.10.0 > [...] > $ python -c 'import apache_beam' > [success] -- This message was sent by Atlassian JIRA (v6.4.14#64029)