Scripting system fails for CLI-based scripts when a package named scripts
is installed
#2012
Labels
category: bug
Something isn't working
scripts
is installed
#2012
Environment information
ape
and plugin versions:no plugins.
ape-config.yaml
(NOTE: do not post anything private like RPC urls or secrets!):no config
What went wrong?
When python package scripts is installed (or any python package named scripts), ape cannot run
CLI
(clickbased scripts, the ones that define a
cli`.steps to repro:
scripts
(note: there is one on pypi, but i dont know what it is so be careful lol)fails like:
How can it be fixed?
I don't know yet
More info
this is currently blocking us from upgrading web3.py for some reason, because py-evm is mistakenly exporting their
scripts
folder as a python package. I have told the about it and I think they'll fix it, but it highlighted this bug independently in ape.it might be a clue that the
main
based scripts still work!also would like to investigate why the log appears twice
The text was updated successfully, but these errors were encountered: