Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vyper v0.4 #1793

Merged
merged 14 commits into from
Jan 6, 2025
Merged

Conversation

stas
Copy link
Contributor

@stas stas commented Oct 23, 2024

What I did

Mainly fixes and instructions for related issue: #1788

How to verify it

Switch your requirements.txt file to point to this fork by adding these

-eth-brownie==1.20.2
-vyper==0.3.10
+eth-brownie @ git+https://github.com/velodrome-finance/brownie@vyper-v0.4
+vyper==0.4.0

Specify the vyper version in the brownie-config.yaml

+compiler:
+  vyper:
+    version: 0.4.0

Run pip

pip install -r requirements.txt

Checklist

  • I have confirmed that my PR passes all linting checks
  • I have included test cases
  • I have updated the documentation
  • I have added an entry to the changelog

@BobTheBuidler
Copy link
Collaborator

Thanks for putting this together!

@@ -46,11 +47,14 @@ def set_vyper_version(version: Union[str, Version]) -> str:
if isinstance(version, str):
version = Version(version)
if version != Version(vyper.__version__):
# NOTE: vvm uses `packaging.version.Version` which is not compatible with
# `semantic_version.Version` so we first must cast it as a string
version_str = str(version)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reeeeeeee

@iamdefinitelyahuman iamdefinitelyahuman merged commit e8d78c4 into eth-brownie:master Jan 6, 2025
@stas stas deleted the vyper-v0.4 branch January 8, 2025 11:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants