diff --git a/README.md b/README.md index 7565c81..874fdaa 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,9 @@ Read the proposal:
https://github.com/ethereum/EIPs/blob/master/EIPS/eip-712.md #### Supported Python Versions -- `3.6` -- `3.7` +- `3.9` +- `3.10` +- `3.11` ## Install ```bash @@ -212,3 +213,10 @@ Deploying a new version: ## Shameless Plug Written by [ConsenSys](https://consensys.net) for the world! :heart: + +## Historical Note + +Maintenance of this project was taken over by Threhsold Network in August 2023. + +Five years prior, in August 2018, NuCypher, which later joined Threhsold Network, launched a gitcoin bounty for the adoption and implementation of EIP-712 with help from Scott Moore and Piper Merriam, and became the first project to use an EIP-712 implementation in production. So it is a proud full-circle moment that we bring this project back under our umbrella and make it compatible with current versions of Python. + diff --git a/requirements.txt b/requirements.txt index b793b34..efc74ad 100644 --- a/requirements.txt +++ b/requirements.txt @@ -5,7 +5,7 @@ certifi==2019.3.9 chardet==3.0.4 coverage==4.5.3 coveralls==1.8.0 -cytoolz==0.9.0.1 +cytoolz==0.12.2 docopt==0.6.2 eth-abi==1.3.0 eth-account==0.3.0 @@ -17,7 +17,7 @@ eth-typing==2.1.0 eth-utils==1.6.0 hexbytes==0.2.0 idna==2.8 -importlib-metadata==0.17 +importlib-metadata==6.8.0 lru-dict==1.1.6 more-itertools==7.0.0 packaging==19.0 @@ -26,7 +26,6 @@ pluggy==0.12.0 py==1.8.0 pycryptodome==3.8.2 pyparsing==2.4.0 -pysha3==1.0.2 pytest==4.6.2 pytest-cov==2.7.1 requests==2.22.0 diff --git a/setup.py b/setup.py index c35978c..e8db222 100644 --- a/setup.py +++ b/setup.py @@ -5,22 +5,24 @@ from setuptools import setup, find_packages from setuptools.command.test import test as TestCommand - NAME = 'eip712-structs' -VERSION = '1.1.0' +VERSION = '1.2.0' install_requirements = [ - 'eth-utils>=1.4.0', - 'pysha3>=1.0.2', + 'eth-utils>=2.1.0', ] test_requirements = [ 'coveralls==1.8.0', - 'pytest==4.6.2', - 'pytest-cov==2.7.1', - 'web3==4.9.2', + 'pytest==6.2.5', + 'pytest-cov==4.1.0', + 'web3==6.4.0', ] +EXTRAS = { + "dev": test_requirements +} + def get_file_text(filename): file_path = Path(__file__).parent / filename @@ -69,7 +71,7 @@ def run_tests(self): author='AJ Grubbs', packages=find_packages(), install_requires=install_requirements, - tests_require=test_requirements, + extras_require=EXTRAS, cmdclass={ "test": PyTest, "coveralls": CoverallsCommand,