From ca12dcf4a69b9ffec086a14cad64eff1cca1bd46 Mon Sep 17 00:00:00 2001 From: Weiliang Li Date: Wed, 1 Jun 2022 01:10:58 +0900 Subject: [PATCH] update readme --- README.md | 5 +++-- poetry.lock | 48 ++++++++++++++++++++++++------------------------ pyproject.toml | 7 ++++--- 3 files changed, 31 insertions(+), 29 deletions(-) diff --git a/README.md b/README.md index 2d296f8..119e8c7 100644 --- a/README.md +++ b/README.md @@ -251,9 +251,10 @@ b'helloworld' ## Release Notes -### 0.3.1 ~ 0.3.11 +### 0.3.1 ~ 0.3.12 -- Support Python 3.8, 3.9, 3.10 and phase out 3.5 +- Support Python 3.8, 3.9, 3.10 +- Drop Python 3.5, 3.6 - Bump dependencies - Update documentation diff --git a/poetry.lock b/poetry.lock index bc18e05..41a9d0b 100644 --- a/poetry.lock +++ b/poetry.lock @@ -142,56 +142,56 @@ test = ["pytest (==5.4.1)", "pytest-xdist", "tox (==3.14.6)"] [[package]] name = "eth-keys" -version = "0.3.4" +version = "0.4.0" description = "Common API for Ethereum key operations." category = "main" optional = false python-versions = "*" [package.dependencies] -eth-typing = ">=2.2.1,<3.0.0" -eth-utils = ">=1.8.2,<2.0.0" +eth-typing = ">=3.0.0,<4" +eth-utils = ">=2.0.0,<3.0.0" [package.extras] -coincurve = ["coincurve (>=7.0.0,<13.0.0)"] -dev = ["tox (==3.20.0)", "bumpversion (==0.5.3)", "twine", "eth-utils (>=1.8.2,<2.0.0)", "eth-typing (>=2.2.1,<3.0.0)", "flake8 (==3.0.4)", "mypy (==0.782)", "asn1tools (>=0.146.2,<0.147)", "factory-boy (>=3.0.1,<3.1)", "pyasn1 (>=0.4.5,<0.5)", "pytest (==5.4.1)", "hypothesis (>=5.10.3,<6.0.0)", "eth-hash", "eth-hash"] -eth-keys = ["eth-utils (>=1.8.2,<2.0.0)", "eth-typing (>=2.2.1,<3.0.0)"] +coincurve = ["coincurve (>=7.0.0,<16.0.0)"] +dev = ["tox (==3.20.0)", "bumpversion (==0.5.3)", "twine", "eth-utils (>=2.0.0,<3.0.0)", "eth-typing (>=3.0.0,<4)", "flake8 (==3.0.4)", "mypy (==0.782)", "asn1tools (>=0.146.2,<0.147)", "factory-boy (>=3.0.1,<3.1)", "pyasn1 (>=0.4.5,<0.5)", "pytest (==6.2.5)", "hypothesis (>=5.10.3,<6.0.0)", "eth-hash", "eth-hash"] +eth-keys = ["eth-utils (>=2.0.0,<3.0.0)", "eth-typing (>=3.0.0,<4)"] lint = ["flake8 (==3.0.4)", "mypy (==0.782)"] -test = ["asn1tools (>=0.146.2,<0.147)", "factory-boy (>=3.0.1,<3.1)", "pyasn1 (>=0.4.5,<0.5)", "pytest (==5.4.1)", "hypothesis (>=5.10.3,<6.0.0)", "eth-hash", "eth-hash"] +test = ["asn1tools (>=0.146.2,<0.147)", "factory-boy (>=3.0.1,<3.1)", "pyasn1 (>=0.4.5,<0.5)", "pytest (==6.2.5)", "hypothesis (>=5.10.3,<6.0.0)", "eth-hash", "eth-hash"] [[package]] name = "eth-typing" -version = "2.3.0" +version = "3.0.0" description = "eth-typing: Common type annotations for ethereum python packages" category = "main" optional = false -python-versions = ">=3.5, <4" +python-versions = ">=3.6, <3.11" [package.extras] -dev = ["bumpversion (>=0.5.3,<1)", "pytest-watch (>=4.1.0,<5)", "wheel", "twine", "ipython", "pytest (>=4.4,<4.5)", "pytest-xdist", "tox (>=2.9.1,<3)", "flake8 (==3.8.3)", "isort (>=4.2.15,<5)", "mypy (==0.782)", "pydocstyle (>=3.0.0,<4)", "Sphinx (>=1.6.5,<2)", "sphinx-rtd-theme (>=0.1.9)"] +dev = ["bumpversion (>=0.5.3,<1)", "pytest-watch (>=4.1.0,<5)", "wheel", "twine", "ipython", "pytest (>=6.2.5,<7)", "pytest-xdist", "tox (>=2.9.1,<3)", "flake8 (==3.8.3)", "isort (>=4.2.15,<5)", "mypy (==0.782)", "pydocstyle (>=3.0.0,<4)", "Sphinx (>=1.6.5,<2)", "sphinx-rtd-theme (>=0.1.9)"] doc = ["Sphinx (>=1.6.5,<2)", "sphinx-rtd-theme (>=0.1.9)"] lint = ["flake8 (==3.8.3)", "isort (>=4.2.15,<5)", "mypy (==0.782)", "pydocstyle (>=3.0.0,<4)"] -test = ["pytest (>=4.4,<4.5)", "pytest-xdist", "tox (>=2.9.1,<3)"] +test = ["pytest (>=6.2.5,<7)", "pytest-xdist", "tox (>=2.9.1,<3)"] [[package]] name = "eth-utils" -version = "1.10.0" +version = "2.0.0" description = "eth-utils: Common utility functions for python code that interacts with Ethereum" category = "main" optional = false -python-versions = ">=3.5,!=3.5.2,<4" +python-versions = ">=3.6,<4" [package.dependencies] cytoolz = {version = ">=0.10.1,<1.0.0", markers = "implementation_name == \"cpython\""} eth-hash = ">=0.3.1,<0.4.0" -eth-typing = ">=2.2.1,<3.0.0" +eth-typing = ">=3.0.0,<4.0.0" toolz = {version = ">0.8.2,<1", markers = "implementation_name == \"pypy\""} [package.extras] -dev = ["bumpversion (>=0.5.3,<1)", "pytest-watch (>=4.1.0,<5)", "wheel (>=0.30.0,<1.0.0)", "twine (>=1.13,<2)", "ipython", "hypothesis (>=4.43.0,<5.0.0)", "pytest (==5.4.1)", "pytest-xdist", "tox (==3.14.6)", "black (>=18.6b4,<19)", "flake8 (==3.7.9)", "isort (>=4.2.15,<5)", "mypy (==0.720)", "pydocstyle (>=5.0.0,<6)", "pytest (>=3.4.1,<4.0.0)", "Sphinx (>=1.6.5,<2)", "sphinx-rtd-theme (>=0.1.9,<2)", "towncrier (>=19.2.0,<20)"] +dev = ["bumpversion (>=0.5.3,<1)", "pytest-watch (>=4.1.0,<5)", "wheel (>=0.30.0,<1.0.0)", "twine (>=1.13,<2)", "ipython", "hypothesis (>=4.43.0,<5.0.0)", "pytest (>=6.2.5,<7)", "pytest-xdist", "tox (==3.14.6)", "black (>=18.6b4,<19)", "flake8 (==3.7.9)", "isort (>=4.2.15,<5)", "mypy (==0.720)", "pydocstyle (>=5.0.0,<6)", "pytest (>=3.4.1,<4.0.0)", "Sphinx (>=1.6.5,<2)", "sphinx-rtd-theme (>=0.1.9,<2)", "towncrier (>=19.2.0,<20)"] doc = ["Sphinx (>=1.6.5,<2)", "sphinx-rtd-theme (>=0.1.9,<2)", "towncrier (>=19.2.0,<20)"] lint = ["black (>=18.6b4,<19)", "flake8 (==3.7.9)", "isort (>=4.2.15,<5)", "mypy (==0.720)", "pydocstyle (>=5.0.0,<6)", "pytest (>=3.4.1,<4.0.0)"] -test = ["hypothesis (>=4.43.0,<5.0.0)", "pytest (==5.4.1)", "pytest-xdist", "tox (==3.14.6)"] +test = ["hypothesis (>=4.43.0,<5.0.0)", "pytest (>=6.2.5,<7)", "pytest-xdist", "tox (==3.14.6)"] [[package]] name = "executing" @@ -537,8 +537,8 @@ testing = ["pytest (>=6)", "pytest-checkdocs (>=2.4)", "pytest-flake8", "pytest- [metadata] lock-version = "1.1" -python-versions = "^3.7" -content-hash = "1c38e4c57910d3e7076ffca095d9a3dc6b27ec53a7bfa74408a12cceffd7b2de" +python-versions = ">=3.7,<3.11" +content-hash = "372f974689643fa0a238ae3af62d3a0b5fcad7f0c2ee338bd15a24307dc60465" [metadata.files] appnope = [ @@ -690,16 +690,16 @@ eth-hash = [ {file = "eth_hash-0.3.2-py3-none-any.whl", hash = "sha256:de7385148a8e0237ba1240cddbc06d53f56731140f8593bdb8429306f6b42271"}, ] eth-keys = [ - {file = "eth-keys-0.3.4.tar.gz", hash = "sha256:e5590797f5e2930086c705a6dd1ac14397f74f19bdcd1b5f837475554f354ad8"}, - {file = "eth_keys-0.3.4-py3-none-any.whl", hash = "sha256:565bf62179b8143bcbd302a0ec6c49882d9c7678f9e6ab0484a8a5725f5ef10e"}, + {file = "eth-keys-0.4.0.tar.gz", hash = "sha256:7d18887483bc9b8a3fdd8e32ddcb30044b9f08fcb24a380d93b6eee3a5bb3216"}, + {file = "eth_keys-0.4.0-py3-none-any.whl", hash = "sha256:e07915ffb91277803a28a379418bdd1fad1f390c38ad9353a0f189789a440d5d"}, ] eth-typing = [ - {file = "eth-typing-2.3.0.tar.gz", hash = "sha256:39cce97f401f082739b19258dfa3355101c64390914c73fe2b90012f443e0dc7"}, - {file = "eth_typing-2.3.0-py3-none-any.whl", hash = "sha256:b7fa58635c1cb0cbf538b2f5f1e66139575ea4853eac1d6000f0961a4b277422"}, + {file = "eth-typing-3.0.0.tar.gz", hash = "sha256:079e4c41e98cf2635d3830a99f3cbd7b1d73d2368464d4493c002bece545184a"}, + {file = "eth_typing-3.0.0-py3-none-any.whl", hash = "sha256:fb96f5eaa844b8be7727d590a54a952a42e5021426f98074b06b23ae43de5867"}, ] eth-utils = [ - {file = "eth-utils-1.10.0.tar.gz", hash = "sha256:bf82762a46978714190b0370265a7148c954d3f0adaa31c6f085ea375e4c61af"}, - {file = "eth_utils-1.10.0-py3-none-any.whl", hash = "sha256:74240a8c6f652d085ed3c85f5f1654203d2f10ff9062f83b3bad0a12ff321c7a"}, + {file = "eth-utils-2.0.0.tar.gz", hash = "sha256:32f50edb14c5be0c4f0e8c2e6117286ccc5dfda21d170f358add554a048398e3"}, + {file = "eth_utils-2.0.0-py3-none-any.whl", hash = "sha256:209dc12255398f2a88f12de78f338b974861f9aefa981af5b68a5d102c9b2043"}, ] executing = [ {file = "executing-0.8.3-py2.py3-none-any.whl", hash = "sha256:d1eef132db1b83649a3905ca6dd8897f71ac6f8cac79a7e58a1a09cf137546c9"}, diff --git a/pyproject.toml b/pyproject.toml index fd96413..a0d8cd7 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,11 +33,12 @@ keywords = [ include = ["ecies/py.typed"] [tool.poetry.dependencies] -python = "^3.7" +python = ">=3.7,<3.11" + # 3rd party coincurve = ">=13,<18" -eth-keys = "^0.3.3" -pycryptodome = "^3.9.9" +eth-keys = "^0.4.0" +pycryptodome = "^3.14.1" [tool.poetry.dev-dependencies] black = "^22.3"