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: issue where installed module names scripts would interfere with ape run [APE-1073] #1478

Merged
merged 3 commits into from
Jun 13, 2023

Conversation

antazoey
Copy link
Member

What I did

ape run would always run the wrong deploy script after i installed ApePay.
i also made an issue there: ApeWorX/ApePay#14

but to fix it in Ape, I can make it ignore existing modules named scripts, so that is what this PR does.

How I did it

remove from both sys module and sys path to get it to work properly. was a pain to figure that out.

How to verify it

  • install ApePay (before anything fixed there)
  • try running different ape script
  • notice it is trying to run the deploy script from ApePay without this PR but with this PR it works

Checklist

  • All changes are completed
  • New test cases have been added
  • Documentation has been updated

@vany365 vany365 changed the title fix: issue where installed module names scripts would interfere with ape run fix: issue where installed module names scripts would interfere with ape run [APE-1073] Jun 12, 2023
@antazoey antazoey merged commit 92e6857 into ApeWorX:main Jun 13, 2023
@antazoey antazoey deleted the fix/scripts-sys-module branch June 13, 2023 00:50
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