Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

six 1.11.0 causes TypeError: Error when calling the metaclass bases #175

Closed
florenthemmi opened this issue Sep 18, 2017 · 0 comments
Closed

Comments

@florenthemmi
Copy link

Version 1.11.0 of the six package was released yesterday and causes:

  File "/Users/florenthemmi/dev/env/lib/python2.7/site-packages/apache_beam/internal/gcp/json_value.py", line 23, in <module>
    from apitools.base.py import extra_types
  File "/Users/florenthemmi/dev/env/lib/python2.7/site-packages/apitools/base/py/__init__.py", line 21, in <module>
    from apitools.base.py.base_api import *
  File "/Users/florenthemmi/dev/env/lib/python2.7/site-packages/apitools/base/py/base_api.py", line 31, in <module>
    from apitools.base.protorpclite import message_types
  File "/Users/florenthemmi/dev/env/lib/python2.7/site-packages/apitools/base/protorpclite/message_types.py", line 25, in <module>
    from apitools.base.protorpclite import messages
  File "/Users/florenthemmi/dev/env/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

This issue has been encountered by several more folks and has been reported as issue benjaminp/six#210.

This issue is to track its resolution, or to make whatever change in apitools could fix this.

robertwb added a commit to robertwb/incubator-beam that referenced this issue Sep 19, 2017
asfgit pushed a commit to apache/beam that referenced this issue Sep 19, 2017
asfgit pushed a commit to apache/beam that referenced this issue Sep 20, 2017
mikehcheng added a commit to mikehcheng/datalab that referenced this issue Sep 8, 2020
Avoids google/apitools#175, matches six in
current container
(sha256:d8826f5df792ddde9e152da08309edefc79b5ef30bf9232ef98c6772dffe6f7b)
mikehcheng added a commit to mikehcheng/datalab that referenced this issue Sep 8, 2020
Avoids google/apitools#175, matches six in
current container
(sha256:d8826f5df792ddde9e152da08309edefc79b5ef30bf9232ef98c6772dffe6f7b)
paveldournov pushed a commit to googledatalab/datalab that referenced this issue Sep 9, 2020
Avoids google/apitools#175, matches six in
current container
(sha256:d8826f5df792ddde9e152da08309edefc79b5ef30bf9232ef98c6772dffe6f7b)

tests passed https://travis-ci.org/github/googledatalab/datalab/jobs/725411522
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant