Conversation
…thon 3.11.4 definition in corresponding files
…by upgraded packages
|
I would like to install the client for v3 alongside v4 for Python 3.11.x via poetry. $ poetry add git+https://github.com/sirEven/dydx-v3-python.git#sir/python_3114
$ poetry add git+https://github.com/dydxprotocol/v4-clients.git@main#subdirectory=v4-client-pyUnfortunately, this raises a conflict with the sympy dependency. |
|
Hello guys, |
Hey there, i just tried to up the constraint to sympy<=1.12.0 - which would be fine as far as i can tell! Edit: Never mind my hesitation, i just upped the constraint to your needs and fixed the test along the way by changing the user name to smth else. I hope your undertaking works now! |
Many thanks! I am just wondering why you wouldn't change it to |
Hey man, so sorry, i misunderstood you! I Hope it works now for you as i just pushed them to >= 1.12.0 :) |
|
@christophlins Do you have any plans to make a repo source release? I have prepared a conda recipe, but since there is not a repo release, I used the pypi package with heavy modifications (along the lines of @sirEven PR). This may not be accepted (recipe maintainers are not allowed to make changes) |
No. For the time being, I rely on this PR until it gets merged and eventually releases by the dydx folks. |
|
Unfortunately, more dependencies mismatches popped up... Comparing v3 with v4 requirements, I think the following changes are necessary: Would you mind giving it a spin? If it doesn't work straight away, it might not be worth the effort... |
hey @christophlins I just upped the dependencies as you suggested, let me know if that helps! |
@sirEven It works like a charm. Many thanks for the quick turnaround. Highly appreciated! |
|
@christophlins Cool, I mistakenly thought you were a maintainer
|
This PR solves compatibility issues when using
dydx-v3-pythonwithpython 3.11.4The issues stem from conflicting imports by the
parsimoniouspackage, which is used byeth-abipackage, which in turn is used by botheth-accountandweb3packages.The following github issues seem related to this PR:
As well as this older PR:
What this PR does:
move upper version constraint for the following packages to current versions in both requirements.txt and requirements-test.txt:
eth-accountweb3modify to include new package versions and
python 3.11.4here:tox.inisetup.pychange source code to rename these function calls (see corresponding resources in parentheses):
solidityKeccak-> solidity_keccak (https://web3py.readthedocs.io/en/stable/releases.html#id54)signTypedData-> sign_typed_data (https://web3py.readthedocs.io/en/stable/releases.html#id124)defaultAccount-> default_account (https://web3py.readthedocs.io/en/stable/releases.html#id129)recoverHash-> _recover_hash (https://web3py.readthedocs.io/en/v5/web3.eth.account.html)