You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It's unclear when that stopped (or possibly whether it's ever worked),
but "regular" commands which don't build in-place (e.g. a simple
`setup.py build`) have not worked in a while, because the overrides on
tasks trigger `build_regexes` before the task itself (to say nothing
of invoking `build_regexes` directly).
As a result, the build_dir does not exist yet unless there's an old
build_dir remaining for some reason, and trying to create the file
crashes.
Ensure the build dir exists before trying to write
`_regexes.py`. There's a minor TOCTOU in order to handle Python 2's
`os.makedirs`, as it doesn't have `exist_ok`.
0 commit comments