Bearle / django-web3-auth

A pluggable Django app that enables login/signup via an Ethereum wallet (a la CryptoKitties)
Other
88 stars 40 forks source link

Unable to install example app in latest version #3

Closed inhies closed 3 years ago

inhies commented 3 years ago

Description

Trying to install the example program, hits an issues with requirements conflicting.

What I Did

pip install -r requirements.txt
Obtaining file:///mnt/c/Users/user/PycharmProjects/web3auth (from -r requirements.txt (line 5))
Collecting coverage==4.4.1
  Using cached coverage-4.4.1-cp38-cp38-linux_x86_64.whl
Collecting mock>=1.0.1
  Using cached mock-4.0.3-py3-none-any.whl (28 kB)
Collecting flake8>=2.1.0
  Using cached flake8-3.9.1-py2.py3-none-any.whl (73 kB)
Collecting tox>=1.7.0
  Using cached tox-3.23.0-py2.py3-none-any.whl (85 kB)
Collecting codecov>=2.0.0
  Using cached codecov-2.1.11-py2.py3-none-any.whl (16 kB)
Collecting tox-travis>=0.12
  Using cached tox_travis-0.12-py2.py3-none-any.whl (10 kB)
Collecting Django==2.0.6
  Using cached Django-2.0.6-py3-none-any.whl (7.1 MB)
Collecting packaging==16.8
  Using cached packaging-16.8-py2.py3-none-any.whl (23 kB)
Collecting ethereum==2.3.2
  Using cached ethereum-2.3.2-py3-none-any.whl
Collecting rlp==2.0.1
  Using cached rlp-2.0.1-py2.py3-none-any.whl (20 kB)
Collecting eth_utils>=1.0.3
  Using cached eth_utils-1.10.0-py3-none-any.whl (24 kB)
Collecting pytz
  Using cached pytz-2021.1-py2.py3-none-any.whl (510 kB)
Collecting pyparsing
  Using cached pyparsing-2.4.7-py2.py3-none-any.whl (67 kB)
Collecting six
  Using cached six-1.15.0-py2.py3-none-any.whl (10 kB)
Collecting repoze.lru
  Using cached repoze.lru-0.7-py3-none-any.whl (10 kB)
Collecting future
  Using cached future-0.18.2-py3-none-any.whl
Collecting PyYAML
  Using cached PyYAML-5.4.1-cp38-cp38-manylinux1_x86_64.whl (662 kB)
INFO: pip is looking at multiple versions of packaging to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of <Python from Requires-Python> to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of django to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of coverage to determine which version is compatible with other requirements. This could take a while.
INFO: pip is looking at multiple versions of django-web3-auth to determine which version is compatible with other requirements. This could take a while.
ERROR: Cannot install -r requirements.txt (line 5) and django-web3-auth because these package versions have conflicting dependencies.

The conflict is caused by:
    django-web3-auth 0.1.3 depends on rlp==2.0.1
    ethereum 2.3.2 depends on rlp<2.0.0 and >=1.0.1

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
delneg commented 3 years ago

I've updated the master branch to 0.1.4, but can't upload it to pypi - getting some weird error

Upload failed (400): Invalid value for blake2_256_digest. Error: Use a valid, hex-encoded, BLAKE2 message digest.
error: Upload failed (400): Invalid value for blake2_256_digest. Error: Use a valid, hex-encoded, BLAKE2 message digest.

For now, you can just use the master branch directly in your requirements and it should work fine.

smurfix commented 3 years ago

@delneg Use python3 setup.py sdist; twine upload dist/… instead of python3 setup.py sdist upload.

delneg commented 3 years ago

Closing as i managed to upload a release using twine