Skip to content

--setup_file needs fuller-path #18241

@kennknowles

Description

@kennknowles

Running --setup_file setup.py fails:


  File "/Users/lambert/Projects/dancedeets-monorepo/dataflow/lib/apache_beam/runners/dataflow/internal/dependency.py",
line 402, in _build_setup_package
    os.chdir(os.path.dirname(setup_file))
OSError: [Errno 2] No such
file or directory: ''

Mainly, because it's attempting to do os.chdir('').

Running --setup_file ./setup.py works fine.

Imported from Jira BEAM-1813. Original Jira may contain additional context.
Reported by: mlambert.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions