ApeWorX / ape-vyper

Vyper compiler plugin for the Ape Framework, using VVM
https://www.apeworx.io/
Apache License 2.0
25 stars 9 forks source link

Using installed package version of Vyper when not asked #31

Closed fubuloubu closed 2 years ago

fubuloubu commented 2 years ago

Environment information

$ ape --version
# ...copy and paste result of above command here...

$ ape plugins list
# ...copy and paste result of above command here...

What went wrong?

ERROR: Unable to load project. Reason: vyper.exceptions.VersionException: line 1:0 Version specification "0.3.1" is not compatible with compiler version "0.3.2"

How can it be fixed?

shutil.which("vyper") is catching the installed version, not the one that is suggested from the pass-through of version checking (use None if vyper_version is not self.installed_version)