Hello everyone! Just upgraded from Dagster 0.14.3 ...
# ask-community
s
Hello everyone! Just upgraded from Dagster 0.14.3 to 0.14.14 and all jobs are failing with the following error
Copy code
dagster.core.errors.DagsterSubprocessError: During multiprocess execution errors occurred in child processes:
In process 2973: AttributeError: 'frozenset' object has no attribute 'discard'

Stack Trace:
File "/opt/anaconda3/lib/python3.7/site-packages/dagster/core/executor/child_process_executor.py", line 70, in _execute_command_in_child_process
for step_event in command.execute():
File "/opt/anaconda3/lib/python3.7/site-packages/dagster/core/executor/multiprocess.py", line 88, in execute
instance=instance,
File "/opt/anaconda3/lib/python3.7/site-packages/dagster/core/execution/api.py", line 878, in __iter__
yield from self.execution_context_manager.prepare_context()
File "/opt/anaconda3/lib/python3.7/site-packages/dagster/utils/__init__.py", line 469, in generate_setup_events
obj = next(self.generator)
File "/opt/anaconda3/lib/python3.7/site-packages/dagster/core/execution/context_creation_pipeline.py", line 260, in execution_context_event_generator
yield from resources_manager.generate_setup_events()
File "/opt/anaconda3/lib/python3.7/site-packages/dagster/utils/__init__.py", line 469, in generate_setup_events
obj = next(self.generator)
File "/opt/anaconda3/lib/python3.7/site-packages/dagster/core/execution/resources_init.py", line 244, in resource_initialization_event_generator
pipeline_def_for_backwards_compat=pipeline_def_for_backwards_compat,
File "/opt/anaconda3/lib/python3.7/site-packages/dagster/core/execution/resources_init.py", line 135, in _core_resource_initialization_event_generator
for level in toposort(resource_dependencies):
File "/opt/anaconda3/lib/python3.7/site-packages/dagster/core/utils.py", line 52, in toposort
return [sorted(list(level)) for level in toposort_.toposort(data)]
File "/opt/anaconda3/lib/python3.7/site-packages/dagster/core/utils.py", line 52, in <listcomp>
return [sorted(list(level)) for level in toposort_.toposort(data)]
File "/opt/anaconda3/lib/python3.7/site-packages/toposort.py", line 67, in toposort
v.discard(k)

  File "/opt/anaconda3/lib/python3.7/site-packages/dagster/core/execution/api.py", line 789, in pipeline_execution_iterator
    for event in pipeline_context.executor.execute(pipeline_context, execution_plan):
  File "/opt/anaconda3/lib/python3.7/site-packages/dagster/core/executor/multiprocess.py", line 283, in execute
    subprocess_error_infos=list(errs.values()),
d
Hi Sanidhya - we'll get a fix out for this, it seems to have to do with having an older version of the 'topsort' package installed. In the meantime if you run
pip install --upgrade toposort
i would expect that to fix it