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

Remove web3[tester] dep from core dependencies #160

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

njgheorghita
Copy link
Contributor

@njgheorghita njgheorghita commented Jun 12, 2019

What was wrong?

#137 (comment)
Fixes #140

Core dependency of web3[tester] causes when doing a base install.

Thanks @mikeshultz for the solution!

Cute Animal Picture

image


def run(self):
_develop.run(self)
check_call(["pip", "install", f"web3[tester]>={WEB3_VERSION}"])
Copy link
Member

Choose a reason for hiding this comment

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

I don't think this will work when it's installed via a wheel (but I'm not positive) you should confirm before proceeding. Generally this is in the realm of things that I consider bad ideas that don't end up reliably working beyond the development environment.

Choose a reason for hiding this comment

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

I agree it's a little iffy, but isn't this a command that will only be run in a development/testing environment?

Copy link
Contributor Author

@njgheorghita njgheorghita Jun 12, 2019

Choose a reason for hiding this comment

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

I don't think this will work when it's installed via a wheel (but I'm not positive)

This is true from what I've read.

isn't this a command that will only be run in a development/testing environment?

I feel the same way, but I guess it's possible other projects might have a core dependency on ethpm[dev] - which would be weird, but possible. IMO though, this is the cleanest solution I've come across for removing the web3[tester] splinter from ethpm's core dependencies - and worth the trade-off, but I could be misjudging this.

@pipermerriam
Copy link
Member

given this is a dependency of web3.py I'm nervious, but I don't have a specific failure in mind, only the generic idea that this misbehaves in some un-expected way. Thoughts on just documenting the appropriate installation steps well?

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.

Move web3[tester] splinter to extras_require[test]
3 participants