ape-vyper icon indicating copy to clipboard operation
ape-vyper copied to clipboard

Plugin doesn't work with beta versions of Vyper

Open fubuloubu opened this issue 2 years ago • 0 comments

Environment information

  • ape and plugin versions:
$ ape --version
0.1.5

$ ape plugins list
Installed Plugins:
  vyper       0.1.0
  • Python Version: 3.9.9
  • OS: linux

What went wrong?

Attempted to install a project that uses older Vyper versions:

dependencies:
  - name: curve
    github: curvefi/curve-contract
    branch: master

Which raises the following error:

$ ape compile
INFO: Cloning branch 'master' from 'curve-contract'.
...
ERROR: (VyperCompileError) vyper.exceptions.VersionException: line 1:0 Version specification "0.1.0b16" is not compatible with compiler version "0.3.1"
[9032] Failed to execute script 'vyper_compile' due to unhandled exception!

How can it be fixed?

All version selection to work with b16 tags

fubuloubu avatar Apr 15 '22 03:04 fubuloubu