Closed kuwv closed 1 year ago
Also resolve issue for typing within parser https://github.com/pyinvoke/invoke/issues/948.
Thanks for jumping on this, just hit it myself at work 😂 I'm not sure cwd
is entirely accurate, if we want to mimic the old behavior, it needs to be "next to tasks/
" (i.e. same as if it were a tasks.py
). This feels/smells a lot like the previous bug related to the loader change, IIRC.
I'll have a poke shortly.
@bitprophet I know this is completed but I didn't see the pull request. Did you fix it locally?
Yea I committed locally, I don't normally make PRs for my own work unless I require longer term input from stakeholders. See https://github.com/pyinvoke/invoke/commit/aa8b815d7a7a43c8ac814c6deb9c4555b8ac6b9e - sorry I missed closing this out!
@bitprophet Seems there is an idiosyncrasy with how the new loader provides the parent path. I switched it to
cwd
but I'm sure there are some additional details here.Issue is here: https://github.com/pyinvoke/invoke/issues/944