Skip to content

Instantly share code, notes, and snippets.

@jbbarth
Last active August 25, 2023 20:38
Show Gist options
  • Save jbbarth/5dcafe3a1c3041997e498f02e77af4c0 to your computer and use it in GitHub Desktop.
Save jbbarth/5dcafe3a1c3041997e498f02e77af4c0 to your computer and use it in GitHub Desktop.
git ls-files | grep -E 'simpleflow/|swf/' | sed 's/.py$//; s#/__init__##; s#/#.#g' | sort | while read mod; do echo -n "$mod : "; python -c "import $mod" >/tmp/out.txt 2>&1 && echo "ok" || (echo "ERROR"; tail -n 1 /tmp/out.txt | sed 's/^/ /';) ; done | tee results.log
simpleflow : ok
simpleflow.__main__ : ok
simpleflow._decorators : ok
simpleflow.activity : ok
simpleflow.base : ok
simpleflow.canvas : ok
simpleflow.command : ok
simpleflow.constants : ok
simpleflow.dispatch : ok
simpleflow.dispatch.by_module : ok
simpleflow.dispatch.dry_run : ok
simpleflow.dispatch.dynamic_dispatcher : ok
simpleflow.dispatch.exceptions : ok
simpleflow.dispatch.from_task_registry : ok
simpleflow.download : ok
simpleflow.exceptions : ok
simpleflow.execute : ok
simpleflow.executor : ok
simpleflow.format : ok
simpleflow.futures : ok
simpleflow.history : ok
simpleflow.job : ok
simpleflow.local : ok
simpleflow.local.executor : ok
simpleflow.log : ok
simpleflow.logging_context : ok
simpleflow.marker : ok
simpleflow.metrology : ok
simpleflow.process : ok
simpleflow.process.named_mixin : ok
simpleflow.process.supervisor : ok
simpleflow.registry : ok
simpleflow.runtime : ok
simpleflow.settings : ok
simpleflow.settings.base : ok
simpleflow.settings.default : ok
simpleflow.signal : ok
simpleflow.step : ok
simpleflow.step.constants : ok
simpleflow.step.submittable : ok
simpleflow.step.tasks : ok
simpleflow.step.utils : ok
simpleflow.step.workflow : ok
simpleflow.storage : ok
simpleflow.swf : ok
simpleflow.swf.constants : ok
simpleflow.swf.executor : ok
simpleflow.swf.helpers : ok
simpleflow.swf.process : ok
simpleflow.swf.process.decider : ok
simpleflow.swf.process.decider.base : ok
simpleflow.swf.process.decider.command : ok
simpleflow.swf.process.decider.helpers : ok
simpleflow.swf.process.poller : ok
simpleflow.swf.process.worker : ok
simpleflow.swf.process.worker.base : ok
simpleflow.swf.process.worker.command : ok
simpleflow.swf.stats : ok
simpleflow.swf.stats.base : ok
simpleflow.swf.stats.pretty : ok
simpleflow.swf.task : ok
simpleflow.swf.utils : ok
simpleflow.task : ok
simpleflow.utils : ok
simpleflow.utils.json_tools : ok
simpleflow.utils.retry : ok
simpleflow.workflow : ok
swf : ok
swf.actors : ERROR
ImportError: cannot import name 'ConnectedSWFObject' from partially initialized module 'swf.core' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/core.py)
swf.actors.core : ERROR
ImportError: cannot import name 'ConnectedSWFObject' from partially initialized module 'swf.core' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/core.py)
swf.actors.decider : ERROR
ImportError: cannot import name 'ConnectedSWFObject' from partially initialized module 'swf.core' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/core.py)
swf.actors.worker : ERROR
ImportError: cannot import name 'ConnectedSWFObject' from partially initialized module 'swf.core' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/core.py)
swf.constants : ok
swf.core : ERROR
ImportError: cannot import name 'ConnectedSWFObject' from partially initialized module 'swf.core' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/core.py)
swf.exceptions : ERROR
ImportError: cannot import name 'AlreadyExistsError' from partially initialized module 'swf.exceptions' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/exceptions.py)
swf.models : ok
swf.models.activity : ok
swf.models.base : ok
swf.models.decision : ok
swf.models.decision.base : ok
swf.models.decision.marker : ok
swf.models.decision.task : ok
swf.models.decision.timer : ok
swf.models.decision.workflow : ok
swf.models.domain : ok
swf.models.event : ok
swf.models.event.base : ok
swf.models.event.compiler : ok
swf.models.event.factory : ok
swf.models.event.marker : ok
swf.models.event.task : ok
swf.models.event.timer : ok
swf.models.event.workflow : ok
swf.models.history : ok
swf.models.history.base : ok
swf.models.history.builder : ok
swf.models.workflow : ok
swf.querysets : ERROR
ImportError: cannot import name 'AlreadyExistsError' from partially initialized module 'swf.exceptions' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/exceptions.py)
swf.querysets.activity : ERROR
ImportError: cannot import name 'AlreadyExistsError' from partially initialized module 'swf.exceptions' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/exceptions.py)
swf.querysets.base : ERROR
ImportError: cannot import name 'AlreadyExistsError' from partially initialized module 'swf.exceptions' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/exceptions.py)
swf.querysets.domain : ERROR
ImportError: cannot import name 'AlreadyExistsError' from partially initialized module 'swf.exceptions' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/exceptions.py)
swf.querysets.history : ERROR
ImportError: cannot import name 'AlreadyExistsError' from partially initialized module 'swf.exceptions' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/exceptions.py)
swf.querysets.workflow : ERROR
ImportError: cannot import name 'AlreadyExistsError' from partially initialized module 'swf.exceptions' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/exceptions.py)
swf.responses : ok
swf.responses.base : ok
swf.settings : ok
swf.utils : ok
tests.test_simpleflow : ok
tests.test_simpleflow.base : ok
tests.test_simpleflow.local : ok
tests.test_simpleflow.local.test_executor : ok
tests.test_simpleflow.process : ok
tests.test_simpleflow.process.test_named_mixin : ok
tests.test_simpleflow.process.test_supervisor : ok
tests.test_simpleflow.swf : ok
tests.test_simpleflow.swf.process : ok
tests.test_simpleflow.swf.process.test_poller : ok
tests.test_simpleflow.swf.process.test_worker : ok
tests.test_simpleflow.swf.stats.test_pretty : ok
tests.test_simpleflow.swf.test_executor : ok
tests.test_simpleflow.swf.test_helpers : ok
tests.test_simpleflow.swf.test_task : ok
tests.test_simpleflow.test_canvas : ok
tests.test_simpleflow.test_dataflow : ok
tests.test_simpleflow.test_download : ok
tests.test_simpleflow.test_exceptions : ok
tests.test_simpleflow.test_execute : ok
tests.test_simpleflow.test_format : ok
tests.test_simpleflow.test_futures : ok
tests.test_simpleflow.test_helpers : ok
tests.test_simpleflow.test_log : ok
tests.test_simpleflow.test_logging_context : ok
tests.test_simpleflow.test_settings : ok
tests.test_simpleflow.test_step : ok
tests.test_simpleflow.test_storage : ok
tests.test_simpleflow.test_task : ok
tests.test_simpleflow.utils : ok
tests.test_simpleflow.utils.test_json_dumps : ok
tests.test_simpleflow.utils.test_misc : ok
tests.test_simpleflow.utils.test_retry : ok
tests.test_swf : ok
tests.test_swf.actors : ok
tests.test_swf.actors.test_core : ERROR
ImportError: cannot import name 'ConnectedSWFObject' from partially initialized module 'swf.core' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/core.py)
tests.test_swf.actors.test_decider : ERROR
ImportError: cannot import name 'ConnectedSWFObject' from partially initialized module 'swf.core' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/core.py)
tests.test_swf.mocks : ok
tests.test_swf.mocks.activity : ok
tests.test_swf.mocks.base : ok
tests.test_swf.mocks.domain : ok
tests.test_swf.mocks.event : ok
tests.test_swf.mocks.workflow : ok
tests.test_swf.models : ok
tests.test_swf.models.test_activity : ok
tests.test_swf.models.test_base : ok
tests.test_swf.models.test_decision : ok
tests.test_swf.models.test_domain : ERROR
ImportError: cannot import name 'AlreadyExistsError' from partially initialized module 'swf.exceptions' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/exceptions.py)
tests.test_swf.models.test_event : ok
tests.test_swf.models.test_workflow : ERROR
ImportError: cannot import name 'AlreadyExistsError' from partially initialized module 'swf.exceptions' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/exceptions.py)
tests.test_swf.process : ok
tests.test_swf.process.worker : ok
tests.test_swf.process.worker.test_base : ok
tests.test_swf.querysets : ok
tests.test_swf.querysets.test_activity : ERROR
ImportError: cannot import name 'AlreadyExistsError' from partially initialized module 'swf.exceptions' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/exceptions.py)
tests.test_swf.querysets.test_base : ERROR
ImportError: cannot import name 'AlreadyExistsError' from partially initialized module 'swf.exceptions' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/exceptions.py)
tests.test_swf.querysets.test_domain : ERROR
ImportError: cannot import name 'AlreadyExistsError' from partially initialized module 'swf.exceptions' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/exceptions.py)
tests.test_swf.querysets.test_workflow : ERROR
ImportError: cannot import name 'AlreadyExistsError' from partially initialized module 'swf.exceptions' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/exceptions.py)
tests.test_swf.responses : ok
tests.test_swf.responses.test_base : ok
tests.test_swf.test_settings : ERROR
ImportError: cannot import name 'ConnectedSWFObject' from partially initialized module 'swf.core' (most likely due to a circular import) (/Users/jean-baptiste.barth/dev/botify-labs/simpleflow/swf/core.py)
tests.test_swf.test_stats : ok
tests.test_swf.test_utils : ok
simpleflow : ok
simpleflow.__main__ : ok
simpleflow._decorators : ok
simpleflow.activity : ok
simpleflow.base : ok
simpleflow.canvas : ok
simpleflow.command : ok
simpleflow.constants : ok
simpleflow.dispatch : ok
simpleflow.dispatch.by_module : ok
simpleflow.dispatch.dry_run : ok
simpleflow.dispatch.dynamic_dispatcher : ok
simpleflow.dispatch.exceptions : ok
simpleflow.dispatch.from_task_registry : ok
simpleflow.download : ok
simpleflow.exceptions : ok
simpleflow.execute : ok
simpleflow.executor : ok
simpleflow.format : ok
simpleflow.futures : ok
simpleflow.history : ok
simpleflow.job : ok
simpleflow.local : ok
simpleflow.local.executor : ok
simpleflow.log : ok
simpleflow.logging_context : ok
simpleflow.marker : ok
simpleflow.metrology : ok
simpleflow.process : ok
simpleflow.process.named_mixin : ok
simpleflow.process.supervisor : ok
simpleflow.registry : ok
simpleflow.runtime : ok
simpleflow.settings : ok
simpleflow.settings.base : ok
simpleflow.settings.default : ok
simpleflow.signal : ok
simpleflow.step : ok
simpleflow.step.constants : ok
simpleflow.step.submittable : ok
simpleflow.step.tasks : ok
simpleflow.step.utils : ok
simpleflow.step.workflow : ok
simpleflow.storage : ok
simpleflow.swf : ok
simpleflow.swf.constants : ok
simpleflow.swf.executor : ok
simpleflow.swf.helpers : ok
simpleflow.swf.mapper : ok
simpleflow.swf.mapper.actors : ok
simpleflow.swf.mapper.actors.core : ok
simpleflow.swf.mapper.actors.decider : ok
simpleflow.swf.mapper.actors.worker : ok
simpleflow.swf.mapper.constants : ok
simpleflow.swf.mapper.core : ok
simpleflow.swf.mapper.exceptions : ok
simpleflow.swf.mapper.models : ok
simpleflow.swf.mapper.models.activity : ok
simpleflow.swf.mapper.models.base : ok
simpleflow.swf.mapper.models.decision : ok
simpleflow.swf.mapper.models.decision.base : ok
simpleflow.swf.mapper.models.decision.marker : ok
simpleflow.swf.mapper.models.decision.task : ok
simpleflow.swf.mapper.models.decision.timer : ok
simpleflow.swf.mapper.models.decision.workflow : ok
simpleflow.swf.mapper.models.domain : ok
simpleflow.swf.mapper.models.event : ok
simpleflow.swf.mapper.models.event.base : ok
simpleflow.swf.mapper.models.event.compiler : ok
simpleflow.swf.mapper.models.event.factory : ok
simpleflow.swf.mapper.models.event.marker : ok
simpleflow.swf.mapper.models.event.task : ok
simpleflow.swf.mapper.models.event.timer : ok
simpleflow.swf.mapper.models.event.workflow : ok
simpleflow.swf.mapper.models.history : ok
simpleflow.swf.mapper.models.history.base : ok
simpleflow.swf.mapper.models.history.builder : ok
simpleflow.swf.mapper.models.workflow : ok
simpleflow.swf.mapper.querysets : ok
simpleflow.swf.mapper.querysets.activity : ok
simpleflow.swf.mapper.querysets.base : ok
simpleflow.swf.mapper.querysets.domain : ok
simpleflow.swf.mapper.querysets.history : ok
simpleflow.swf.mapper.querysets.workflow : ok
simpleflow.swf.mapper.responses : ok
simpleflow.swf.mapper.responses.base : ok
simpleflow.swf.mapper.settings : ok
simpleflow.swf.mapper.utils : ok
simpleflow.swf.process : ok
simpleflow.swf.process.decider : ok
simpleflow.swf.process.decider.base : ok
simpleflow.swf.process.decider.command : ok
simpleflow.swf.process.decider.helpers : ok
simpleflow.swf.process.poller : ok
simpleflow.swf.process.worker : ok
simpleflow.swf.process.worker.base : ok
simpleflow.swf.process.worker.command : ok
simpleflow.swf.stats : ok
simpleflow.swf.stats.base : ok
simpleflow.swf.stats.pretty : ok
simpleflow.swf.task : ok
simpleflow.swf.utils : ok
simpleflow.task : ok
simpleflow.utils : ok
simpleflow.utils.json_tools : ok
simpleflow.utils.retry : ok
simpleflow.workflow : ok
tests.test_simpleflow : ok
tests.test_simpleflow.base : ok
tests.test_simpleflow.local : ok
tests.test_simpleflow.local.test_executor : ok
tests.test_simpleflow.process : ok
tests.test_simpleflow.process.test_named_mixin : ok
tests.test_simpleflow.process.test_supervisor : ok
tests.test_simpleflow.swf : ok
tests.test_simpleflow.swf.mapper : ok
tests.test_simpleflow.swf.mapper.actors : ok
tests.test_simpleflow.swf.mapper.actors.test_core : ok
tests.test_simpleflow.swf.mapper.actors.test_decider : ok
tests.test_simpleflow.swf.mapper.mocks : ok
tests.test_simpleflow.swf.mapper.mocks.activity : ok
tests.test_simpleflow.swf.mapper.mocks.base : ok
tests.test_simpleflow.swf.mapper.mocks.domain : ok
tests.test_simpleflow.swf.mapper.mocks.event : ok
tests.test_simpleflow.swf.mapper.mocks.workflow : ok
tests.test_simpleflow.swf.mapper.models : ok
tests.test_simpleflow.swf.mapper.models.test_activity : ok
tests.test_simpleflow.swf.mapper.models.test_base : ok
tests.test_simpleflow.swf.mapper.models.test_decision : ok
tests.test_simpleflow.swf.mapper.models.test_domain : ok
tests.test_simpleflow.swf.mapper.models.test_event : ok
tests.test_simpleflow.swf.mapper.models.test_workflow : ok
tests.test_simpleflow.swf.mapper.process : ok
tests.test_simpleflow.swf.mapper.process.worker : ok
tests.test_simpleflow.swf.mapper.process.worker.test_base : ok
tests.test_simpleflow.swf.mapper.querysets : ok
tests.test_simpleflow.swf.mapper.querysets.test_activity : ok
tests.test_simpleflow.swf.mapper.querysets.test_base : ok
tests.test_simpleflow.swf.mapper.querysets.test_domain : ok
tests.test_simpleflow.swf.mapper.querysets.test_workflow : ok
tests.test_simpleflow.swf.mapper.responses : ok
tests.test_simpleflow.swf.mapper.responses.test_base : ok
tests.test_simpleflow.swf.mapper.test_settings : ok
tests.test_simpleflow.swf.mapper.test_stats : ok
tests.test_simpleflow.swf.mapper.test_utils : ok
tests.test_simpleflow.swf.process : ok
tests.test_simpleflow.swf.process.test_poller : ok
tests.test_simpleflow.swf.process.test_worker : ok
tests.test_simpleflow.swf.stats.test_pretty : ok
tests.test_simpleflow.swf.test_executor : ok
tests.test_simpleflow.swf.test_helpers : ok
tests.test_simpleflow.swf.test_task : ok
tests.test_simpleflow.test_canvas : ok
tests.test_simpleflow.test_dataflow : ok
tests.test_simpleflow.test_download : ok
tests.test_simpleflow.test_exceptions : ok
tests.test_simpleflow.test_execute : ok
tests.test_simpleflow.test_format : ok
tests.test_simpleflow.test_futures : ok
tests.test_simpleflow.test_helpers : ok
tests.test_simpleflow.test_log : ok
tests.test_simpleflow.test_logging_context : ok
tests.test_simpleflow.test_settings : ok
tests.test_simpleflow.test_step : ok
tests.test_simpleflow.test_storage : ok
tests.test_simpleflow.test_task : ok
tests.test_simpleflow.utils : ok
tests.test_simpleflow.utils.test_json_dumps : ok
tests.test_simpleflow.utils.test_misc : ok
tests.test_simpleflow.utils.test_retry : ok
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment