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

fix(0.4): issue when using dependencies that are not installed in site-packages #132

Merged
merged 31 commits into from
Sep 26, 2024

Conversation

antazoey
Copy link
Member

@antazoey antazoey commented Sep 20, 2024

What I did

users were unable to use dependencies that were not installed in site-packages (such as using the new pypi: key)
also fixes other annoying issues like a confusing log stmt and over-logging stuff during the compile attempt

ngl, this is a major refactor but vyper 0.4 / snekmate work a lot better now

How I did it

How to verify it

Checklist

  • Passes all linting checks (pre-commit and CI jobs)
  • New test cases have been added and are passing
  • Documentation has been updated
  • PR title follows Conventional Commit standard (will be automatically included in the changelog)

@antazoey antazoey marked this pull request as ready for review September 24, 2024 19:06
ape_vyper/compiler/_versions/vyper_03.py Outdated Show resolved Hide resolved

Choose a reason for hiding this comment

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

Difference between this and snekmate_from_pypi?

Copy link
Member Author

Choose a reason for hiding this comment

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

I just wanted to show it will still work even when not in the config. The difference is you don't get some of Ape's features with dependencies, but ape-vyper will still work at compiling.

@antazoey antazoey merged commit a554daf into ApeWorX:main Sep 26, 2024
11 checks passed
@antazoey antazoey deleted the fix/dependencies branch September 26, 2024 19:05
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.

2 participants