You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "Ahmet Altay (JIRA)" <ji...@apache.org> on 2016/10/14 18:59:20 UTC

[jira] [Commented] (BEAM-753) Travis failure (cannot import name locked_file)

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

Ahmet Altay commented on BEAM-753:
----------------------------------

There was a new oauth2client release to PyPI this morning, it brake sdk installation and tests. 

Python SDK setup.py list this requirement:
oauth2client>=2.0.1

There should be two updates:
1. Short term, change setup.py to fix the break and work with an older version of oauth2client, the previous version 3.0.0 was working fine.
2. Understand the difference and update the code to work with oauth2client 4.0.0

> Travis failure (cannot import name locked_file)
> -----------------------------------------------
>
>                 Key: BEAM-753
>                 URL: https://issues.apache.org/jira/browse/BEAM-753
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-py
>            Reporter: Ahmet Altay
>            Assignee: Ahmet Altay
>
> ERROR: Failure: ImportError (cannot import name locked_file)
> ----------------------------------------------------------------------
> Traceback (most recent call last):
>   File "/usr/local/google/home/altay/Desktop/beam/test/incubator-beam/sdks/python/nose-1.3.7-py2.7.egg/nose/loader.py", line 418, in loadTestsFromName
>     addr.filename, addr.module)
>   File "/usr/local/google/home/altay/Desktop/beam/test/incubator-beam/sdks/python/nose-1.3.7-py2.7.egg/nose/importer.py", line 47, in importFromPath
>     return self.importFromDir(dir_path, fqname)
>   File "/usr/local/google/home/altay/Desktop/beam/test/incubator-beam/sdks/python/nose-1.3.7-py2.7.egg/nose/importer.py", line 94, in importFromDir
>     mod = load_module(part_fqname, fh, filename, desc)
>   File "/usr/local/google/home/altay/Desktop/beam/test/incubator-beam/sdks/python/apache_beam/__init__.py", line 78, in <module>
>     from apache_beam import io
>   File "/usr/local/google/home/altay/Desktop/beam/test/incubator-beam/sdks/python/apache_beam/io/__init__.py", line 21, in <module>
>     from apache_beam.io.avroio import *
>   File "/usr/local/google/home/altay/Desktop/beam/test/incubator-beam/sdks/python/apache_beam/io/avroio.py", line 29, in <module>
>     from apache_beam.io import filebasedsource
>   File "/usr/local/google/home/altay/Desktop/beam/test/incubator-beam/sdks/python/apache_beam/io/filebasedsource.py", line 31, in <module>
>     from apache_beam.io import concat_source
>   File "/usr/local/google/home/altay/Desktop/beam/test/incubator-beam/sdks/python/apache_beam/io/concat_source.py", line 24, in <module>
>     from apache_beam.io import iobase
>   File "/usr/local/google/home/altay/Desktop/beam/test/incubator-beam/sdks/python/apache_beam/io/iobase.py", line 818, in <module>
>     from apache_beam.runners.dataflow.native_io.iobase import *
>   File "/usr/local/google/home/altay/Desktop/beam/test/incubator-beam/sdks/python/apache_beam/runners/__init__.py", line 23, in <module>
>     from apache_beam.runners.dataflow_runner import DataflowPipelineRunner
>   File "/usr/local/google/home/altay/Desktop/beam/test/incubator-beam/sdks/python/apache_beam/runners/dataflow_runner.py", line 43, in <module>
>     from apache_beam.internal.clients import dataflow as dataflow_api
>   File "/usr/local/google/home/altay/Desktop/beam/test/incubator-beam/sdks/python/apache_beam/internal/clients/dataflow/__init__.py", line 23, in <module>
>     from apitools.base.py import *
>   File "/usr/local/google/home/altay/Desktop/beam/test/incubator-beam/sdks/python/.tox/py27/local/lib/python2.7/site-packages/apitools/base/py/__init__.py", line 22, in <module>
>     from apitools.base.py.credentials_lib import *
>   File "/usr/local/google/home/altay/Desktop/beam/test/incubator-beam/sdks/python/.tox/py27/local/lib/python2.7/site-packages/apitools/base/py/credentials_lib.py", line 50, in <module>
>     from oauth2client import locked_file
> ImportError: cannot import name locked_file



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)