[ 
https://issues.apache.org/jira/browse/BEAM-2964?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16173946#comment-16173946
 ] 

ASF GitHub Bot commented on BEAM-2964:
--------------------------------------

Github user asfgit closed the pull request at:

    https://github.com/apache/beam/pull/3872


> 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)

Reply via email to