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
I got an error message Patchflow GenerateDocstring not found in deque(['patchwork.patchflows']) after calling command patchwork GenerateDocstring. In fact, the rest of patchflows are also not recognized.
Although, printing a list of availiable patchflows works as expected:
I installed patchwork with command pip install 'patchwork-cli[all]' --upgrade as it was stated in the documentation. I also tried to run patchwork from source code as follows: python3 patchwork/app.py and even cd patchwork && python3 app.py. None of them worked, giving me the same error message.
After a little bit of investigation I've found that the problem is related to import strategies. But I can clearly see GenerateDocstring module under the patchflows directory. Right now I don't know how to fix this problem, that's why I'am creating this issue.
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Patchflow GenerateDocstring not found in deque(['patchwork.patchflows'])
Anything else?
My system configuration is:
I have Python 3.12.3 and pip 24.0 installed on this system.
A list of installed Python packages in the environment I used:
Is this a regression?
Yes
Description
I got an error message
Patchflow GenerateDocstring not found in deque(['patchwork.patchflows'])
after calling commandpatchwork GenerateDocstring
. In fact, the rest of patchflows are also not recognized.Although, printing a list of availiable patchflows works as expected:
I installed
patchwork
with commandpip install 'patchwork-cli[all]' --upgrade
as it was stated in the documentation. I also tried to run patchwork from source code as follows:python3 patchwork/app.py
and evencd patchwork && python3 app.py
. None of them worked, giving me the same error message.After a little bit of investigation I've found that the problem is related to import strategies. But I can clearly see
GenerateDocstring
module under the patchflows directory. Right now I don't know how to fix this problem, that's why I'am creating this issue.Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Anything else?
My system configuration is:
I have
Python 3.12.3
andpip 24.0
installed on this system.A list of installed Python packages in the environment I used:
I used main branch to run on raw sources (commit
126f2c5a31e1dbc052235e40c0661e16a615f71b
).The text was updated successfully, but these errors were encountered: