arbitrage-keeper icon indicating copy to clipboard operation
arbitrage-keeper copied to clipboard

pip install warnings on eth-utils version 0.7.1

Open BlinkyStitt opened this issue 7 years ago • 5 comments
trafficstars

When running pip3 install -r requirements.txt with pip 18, I get this warning:

eth-keys 0.2.0b3 has requirement eth-utils<2.0.0,>=1.0.0-beta.2, but you'll have eth-utils 0.7.1 which is incompatible.
eth-keyfile 0.5.1 has requirement eth-utils<2.0.0,>=1.0.0-beta.1, but you'll have eth-utils 0.7.1 which is incompatible.
eth-tester 0.1.0b32 has requirement eth-utils<2.0.0,>=1.0.1, but you'll have eth-utils 0.7.1 which is incompatible.

Is there any reason 0.7.1 is pinned in requirements.txt?

BlinkyStitt avatar Sep 12 '18 03:09 BlinkyStitt

I think using something like pip-tools (https://pypi.org/project/pip-tools/) would make managing versions easier. I'm happy to make a PR for that if you are okay with it.

I would add a requirements.in that looks like the .txt, but without any version pins and then I'd run pip-compile requirements.in. I'd also do the same for requirements-dev

BlinkyStitt avatar Sep 13 '18 18:09 BlinkyStitt

Yeah, that definitely looks like a nice tool! Regarding pinned dependencies, they are there as we are currently relying on an old version of web3.py and also relying on some features of its dependencies.

We are currently working on upgrading to the most recent version of web3.py, that should really minimize the need of pinning anything.

ghost avatar Sep 14 '18 13:09 ghost

Cool. Is there an issue tracking upgrading web3.py?

BlinkyStitt avatar Sep 17 '18 01:09 BlinkyStitt

@WyseNynja it has been already done for pymaker on a separate branch, undergoing some testing at the moment.

ghost avatar Sep 19 '18 10:09 ghost

So web3.py has been upgraded in pymaker.

ghost avatar Nov 26 '18 09:11 ghost