DIRACGrid / DIRAC

DIRAC Grid
http://diracgrid.org
GNU General Public License v3.0
113 stars 176 forks source link

[8.0] fix(Workflow): prevent circular import in WorkflowReader #7575

Closed andresailer closed 7 months ago

andresailer commented 7 months ago

I am not sure why I never tried this before...

python -c "from DIRAC.Core.Workflow.WorkflowReader import WorkflowXMLHandler"

fails all by itself.

I think in readthedocs we hit some race condition, because that treats source files in parallel. Because this works

python -c "from DIRAC.Core.Workflow import Workflow; from DIRAC.Core.Workflow.WorkflowReader import WorkflowXMLHandler"

BEGINRELEASENOTES

*WMS FIX: Fix potential circular import in WorkflowReader. Mostly seen in the creation of the documentation.

ENDRELEASENOTES

DIRACGridBot commented 7 months ago

Sweep summary

Sweep ran in https://github.com/DIRACGrid/DIRAC/actions/runs/8734177845

Successful: