pystorm / streamparse

Run Python in Apache Storm topologies. Pythonic API, CLI tooling, and a topology DSL.
http://streamparse.readthedocs.io/
Apache License 2.0
1.5k stars 218 forks source link

[Reappear Issue] create_or_update_virtualenvs ignores virtualenv flags. #425

Open bilibvivo opened 6 years ago

bilibvivo commented 6 years ago

I found this issue #281 fixed. But when I use the newest version(3.13.1), this error reappear.

I found this function resolve_options is a point. In the function it is not merge map's key virtualenv_flags from env_config.

# Handle option conflicts
    options = resolve_options(options, env_config, topology_class,
                              override_name)

My temporary treatment is declare -o args in the command like this:

sparse submit -n pyKafka -e test -o 'virtualenv_flags="-p /usr/local/bin/python3"'