From 48529abb19aeea06e92792bd8fba5c1077df755e Mon Sep 17 00:00:00 2001 From: minghinmatthewlam Date: Fri, 11 Oct 2024 13:51:37 -0400 Subject: [PATCH 1/2] update project dependencies --- poetry.lock | 138 +++++++++++------------------------------------ pyproject.toml | 5 +- requirements.txt | 46 ++++++++-------- 3 files changed, 56 insertions(+), 133 deletions(-) diff --git a/poetry.lock b/poetry.lock index d0dda4e3..b1bce35e 100644 --- a/poetry.lock +++ b/poetry.lock @@ -1,10 +1,9 @@ -# This file is automatically @generated by Poetry 1.4.1 and should not be changed by hand. +# This file is automatically @generated by Poetry 1.8.3 and should not be changed by hand. [[package]] name = "astroid" version = "2.11.7" description = "An abstract syntax tree for Python with inference support." -category = "dev" optional = false python-versions = ">=3.6.2" files = [ @@ -15,14 +14,12 @@ files = [ [package.dependencies] lazy-object-proxy = ">=1.4.0" setuptools = ">=20.0" -typing-extensions = {version = ">=3.10", markers = "python_version < \"3.10\""} wrapt = ">=1.11,<2" [[package]] name = "attrs" version = "23.1.0" description = "Classes Without Boilerplate" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -41,7 +38,6 @@ tests-no-zope = ["cloudpickle", "hypothesis", "mypy (>=1.1.1)", "pympler", "pyte name = "bandit" version = "1.7.5" description = "Security oriented static analyser for python code." -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -65,7 +61,6 @@ yaml = ["PyYAML"] name = "bitarray" version = "2.7.6" description = "efficient arrays of booleans -- C extension" -category = "main" optional = false python-versions = "*" files = [ @@ -177,7 +172,6 @@ files = [ name = "black" version = "22.12.0" description = "The uncompromising code formatter." -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -201,7 +195,6 @@ mypy-extensions = ">=0.4.3" pathspec = ">=0.9.0" platformdirs = ">=2" tomli = {version = ">=1.1.0", markers = "python_full_version < \"3.11.0a7\""} -typing-extensions = {version = ">=3.10.0.0", markers = "python_version < \"3.10\""} [package.extras] colorama = ["colorama (>=0.4.3)"] @@ -213,7 +206,6 @@ uvloop = ["uvloop (>=0.15.2)"] name = "certifi" version = "2023.5.7" description = "Python package for providing Mozilla's CA Bundle." -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -225,7 +217,6 @@ files = [ name = "cfgv" version = "3.3.1" description = "Validate configuration and produce human readable error messages." -category = "dev" optional = false python-versions = ">=3.6.1" files = [ @@ -237,7 +228,6 @@ files = [ name = "charset-normalizer" version = "3.2.0" description = "The Real First Universal Charset Detector. Open, modern and actively maintained alternative to Chardet." -category = "main" optional = false python-versions = ">=3.7.0" files = [ @@ -322,7 +312,6 @@ files = [ name = "click" version = "8.1.5" description = "Composable command line interface toolkit" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -337,7 +326,6 @@ colorama = {version = "*", markers = "platform_system == \"Windows\""} name = "colorama" version = "0.4.6" description = "Cross-platform colored terminal text." -category = "dev" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*,>=2.7" files = [ @@ -349,7 +337,6 @@ files = [ name = "commonmark" version = "0.9.1" description = "Python parser for the CommonMark Markdown spec" -category = "dev" optional = false python-versions = "*" files = [ @@ -364,7 +351,6 @@ test = ["flake8 (==3.7.8)", "hypothesis (==3.55.3)"] name = "coverage" version = "6.5.0" description = "Code coverage measurement for Python" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -430,7 +416,6 @@ toml = ["tomli"] name = "coverage-badge" version = "1.1.0" description = "Generate coverage badges for Coverage.py." -category = "dev" optional = false python-versions = "*" files = [ @@ -445,7 +430,6 @@ coverage = "*" name = "cytoolz" version = "0.12.1" description = "Cython implementation of Toolz: High performance functional utilities" -category = "main" optional = false python-versions = ">=3.6" files = [ @@ -559,7 +543,6 @@ cython = ["cython"] name = "darglint" version = "1.8.1" description = "A utility for ensuring Google-style docstrings stay up to date with the source code." -category = "dev" optional = false python-versions = ">=3.6,<4.0" files = [ @@ -571,7 +554,6 @@ files = [ name = "dill" version = "0.3.6" description = "serialize all of python" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -586,7 +568,6 @@ graph = ["objgraph (>=1.7.2)"] name = "distlib" version = "0.3.7" description = "Distribution utilities" -category = "dev" optional = false python-versions = "*" files = [ @@ -598,7 +579,6 @@ files = [ name = "dparse" version = "0.6.3" description = "A parser for Python dependency files" -category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -618,7 +598,6 @@ pipenv = ["pipenv (<=2022.12.19)"] name = "eth-abi" version = "3.0.1" description = "eth_abi: Python utilities for working with Ethereum ABI definitions, especially encoding and decoding" -category = "main" optional = false python-versions = ">=3.7, <4" files = [ @@ -642,7 +621,6 @@ tools = ["hypothesis (>=4.18.2,<5.0.0)"] name = "eth-account" version = "0.8.0" description = "eth-account: Sign Ethereum transactions and messages with local private keys" -category = "main" optional = false python-versions = ">=3.6, <4" files = [ @@ -670,7 +648,6 @@ test = ["coverage", "hypothesis (>=4.18.0,<5)", "pytest (>=6.2.5,<7)", "pytest-x name = "eth-hash" version = "0.5.2" description = "eth-hash: The Ethereum hashing function, keccak256, sometimes (erroneously) called sha3" -category = "main" optional = false python-versions = ">=3.7, <4" files = [ @@ -690,7 +667,6 @@ test = ["pytest (>=7.0.0)", "pytest-xdist (>=2.4.0)"] name = "eth-keyfile" version = "0.6.1" description = "A library for handling the encrypted keyfiles used to store ethereum private keys." -category = "main" optional = false python-versions = "*" files = [ @@ -713,7 +689,6 @@ test = ["pytest (>=6.2.5,<7)"] name = "eth-keys" version = "0.4.0" description = "Common API for Ethereum key operations." -category = "main" optional = false python-versions = "*" files = [ @@ -736,7 +711,6 @@ test = ["asn1tools (>=0.146.2,<0.147)", "eth-hash[pycryptodome]", "eth-hash[pysh name = "eth-rlp" version = "0.3.0" description = "eth-rlp: RLP definitions for common Ethereum objects in Python" -category = "main" optional = false python-versions = ">=3.7, <4" files = [ @@ -759,7 +733,6 @@ test = ["eth-hash[pycryptodome]", "pytest (>=6.2.5,<7)", "pytest-xdist", "tox (= name = "eth-typing" version = "3.2.0" description = "eth-typing: Common type annotations for ethereum python packages" -category = "main" optional = false python-versions = ">=3.6, <4" files = [ @@ -777,7 +750,6 @@ test = ["pytest (>=6.2.5,<7)", "pytest-xdist", "tox (>=2.9.1,<3)"] name = "eth-utils" version = "2.2.0" description = "eth-utils: Common utility functions for python code that interacts with Ethereum" -category = "main" optional = false python-versions = ">=3.7,<4" files = [ @@ -801,7 +773,6 @@ test = ["hypothesis (>=4.43.0)", "mypy (==0.971)", "pytest (>=7.0.0)", "pytest-x name = "exceptiongroup" version = "1.1.2" description = "Backport of PEP 654 (exception groups)" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -816,7 +787,6 @@ test = ["pytest (>=6)"] name = "filelock" version = "3.12.2" description = "A platform independent file lock." -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -832,7 +802,6 @@ testing = ["covdefaults (>=2.3)", "coverage (>=7.2.7)", "diff-cover (>=7.5)", "p name = "gitdb" version = "4.0.10" description = "Git Object Database" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -847,7 +816,6 @@ smmap = ">=3.0.1,<6" name = "gitpython" version = "3.1.32" description = "GitPython is a Python library used to interact with Git repositories" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -862,7 +830,6 @@ gitdb = ">=4.0.1,<5" name = "hexbytes" version = "0.3.1" description = "hexbytes: Python `bytes` subclass that decodes hex, with a readable console output" -category = "main" optional = false python-versions = ">=3.7, <4" files = [ @@ -880,7 +847,6 @@ test = ["eth-utils (>=1.0.1,<3)", "hypothesis (>=3.44.24,<=6.31.6)", "pytest (>= name = "identify" version = "2.5.24" description = "File identification library for Python" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -895,7 +861,6 @@ license = ["ukkonen"] name = "idna" version = "3.4" description = "Internationalized Domain Names in Applications (IDNA)" -category = "main" optional = false python-versions = ">=3.5" files = [ @@ -907,7 +872,6 @@ files = [ name = "iniconfig" version = "2.0.0" description = "brain-dead simple config-ini parsing" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -919,7 +883,6 @@ files = [ name = "isort" version = "5.11.5" description = "A Python utility / library to sort Python imports." -category = "dev" optional = false python-versions = ">=3.7.0" files = [ @@ -940,7 +903,6 @@ requirements-deprecated-finder = ["pip-api", "pipreqs"] name = "lazy-object-proxy" version = "1.9.0" description = "A fast and thorough lazy object proxy." -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -986,7 +948,6 @@ files = [ name = "mccabe" version = "0.7.0" description = "McCabe checker, plugin for flake8" -category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -998,7 +959,6 @@ files = [ name = "msgpack" version = "1.0.5" description = "MessagePack serializer" -category = "main" optional = false python-versions = "*" files = [ @@ -1071,7 +1031,6 @@ files = [ name = "multidict" version = "6.0.4" description = "multidict implementation" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1153,48 +1112,51 @@ files = [ [[package]] name = "mypy" -version = "0.930" +version = "0.982" description = "Optional static typing for Python" -category = "dev" optional = false -python-versions = ">=3.6" +python-versions = ">=3.7" files = [ - {file = "mypy-0.930-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:221cc94dc6a801ccc2be7c0c9fd791c5e08d1fa2c5e1c12dec4eab15b2469871"}, - {file = "mypy-0.930-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:db3a87376a1380f396d465bed462e76ea89f838f4c5e967d68ff6ee34b785c31"}, - {file = "mypy-0.930-cp310-cp310-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:1d2296f35aae9802eeb1327058b550371ee382d71374b3e7d2804035ef0b830b"}, - {file = "mypy-0.930-cp310-cp310-win_amd64.whl", hash = "sha256:959319b9a3cafc33a8185f440a433ba520239c72e733bf91f9efd67b0a8e9b30"}, - {file = "mypy-0.930-cp36-cp36m-macosx_10_9_x86_64.whl", hash = "sha256:45a4dc21c789cfd09b8ccafe114d6de66f0b341ad761338de717192f19397a8c"}, - {file = "mypy-0.930-cp36-cp36m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:1e689e92cdebd87607a041585f1dc7339aa2e8a9f9bad9ba7e6ece619431b20c"}, - {file = "mypy-0.930-cp36-cp36m-win_amd64.whl", hash = "sha256:ed4e0ea066bb12f56b2812a15ff223c57c0a44eca817ceb96b214bb055c7051f"}, - {file = "mypy-0.930-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:a9d8dffefba634b27d650e0de2564379a1a367e2e08d6617d8f89261a3bf63b2"}, - {file = "mypy-0.930-cp37-cp37m-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:b419e9721260161e70d054a15abbd50603c16f159860cfd0daeab647d828fc29"}, - {file = "mypy-0.930-cp37-cp37m-win_amd64.whl", hash = "sha256:601f46593f627f8a9b944f74fd387c9b5f4266b39abad77471947069c2fc7651"}, - {file = "mypy-0.930-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:1ea7199780c1d7940b82dbc0a4e37722b4e3851264dbba81e01abecc9052d8a7"}, - {file = "mypy-0.930-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:70b197dd8c78fc5d2daf84bd093e8466a2b2e007eedaa85e792e513a820adbf7"}, - {file = "mypy-0.930-cp38-cp38-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:5feb56f8bb280468fe5fc8e6f56f48f99aa0df9eed3c507a11505ee4657b5380"}, - {file = "mypy-0.930-cp38-cp38-win_amd64.whl", hash = "sha256:2e9c5409e9cb81049bb03fa1009b573dea87976713e3898561567a86c4eaee01"}, - {file = "mypy-0.930-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:554873e45c1ca20f31ddf873deb67fa5d2e87b76b97db50669f0468ccded8fae"}, - {file = "mypy-0.930-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:0feb82e9fa849affca7edd24713dbe809dce780ced9f3feca5ed3d80e40b777f"}, - {file = "mypy-0.930-cp39-cp39-manylinux_2_5_x86_64.manylinux1_x86_64.manylinux_2_12_x86_64.manylinux2010_x86_64.whl", hash = "sha256:bc1a0607ea03c30225347334af66b0af12eefba018a89a88c209e02b7065ea95"}, - {file = "mypy-0.930-cp39-cp39-win_amd64.whl", hash = "sha256:f9f665d69034b1fcfdbcd4197480d26298bbfb5d2dfe206245b6498addb34999"}, - {file = "mypy-0.930-py3-none-any.whl", hash = "sha256:bf4a44e03040206f7c058d1f5ba02ef2d1820720c88bc4285c7d9a4269f54173"}, - {file = "mypy-0.930.tar.gz", hash = "sha256:51426262ae4714cc7dd5439814676e0992b55bcc0f6514eccb4cf8e0678962c2"}, + {file = "mypy-0.982-cp310-cp310-macosx_10_9_universal2.whl", hash = "sha256:5085e6f442003fa915aeb0a46d4da58128da69325d8213b4b35cc7054090aed5"}, + {file = "mypy-0.982-cp310-cp310-macosx_10_9_x86_64.whl", hash = "sha256:41fd1cf9bc0e1c19b9af13a6580ccb66c381a5ee2cf63ee5ebab747a4badeba3"}, + {file = "mypy-0.982-cp310-cp310-macosx_11_0_arm64.whl", hash = "sha256:f793e3dd95e166b66d50e7b63e69e58e88643d80a3dcc3bcd81368e0478b089c"}, + {file = "mypy-0.982-cp310-cp310-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:86ebe67adf4d021b28c3f547da6aa2cce660b57f0432617af2cca932d4d378a6"}, + {file = "mypy-0.982-cp310-cp310-musllinux_1_1_x86_64.whl", hash = "sha256:175f292f649a3af7082fe36620369ffc4661a71005aa9f8297ea473df5772046"}, + {file = "mypy-0.982-cp310-cp310-win_amd64.whl", hash = "sha256:8ee8c2472e96beb1045e9081de8e92f295b89ac10c4109afdf3a23ad6e644f3e"}, + {file = "mypy-0.982-cp37-cp37m-macosx_10_9_x86_64.whl", hash = "sha256:58f27ebafe726a8e5ccb58d896451dd9a662a511a3188ff6a8a6a919142ecc20"}, + {file = "mypy-0.982-cp37-cp37m-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:d6af646bd46f10d53834a8e8983e130e47d8ab2d4b7a97363e35b24e1d588947"}, + {file = "mypy-0.982-cp37-cp37m-musllinux_1_1_x86_64.whl", hash = "sha256:e7aeaa763c7ab86d5b66ff27f68493d672e44c8099af636d433a7f3fa5596d40"}, + {file = "mypy-0.982-cp37-cp37m-win_amd64.whl", hash = "sha256:724d36be56444f569c20a629d1d4ee0cb0ad666078d59bb84f8f887952511ca1"}, + {file = "mypy-0.982-cp38-cp38-macosx_10_9_universal2.whl", hash = "sha256:14d53cdd4cf93765aa747a7399f0961a365bcddf7855d9cef6306fa41de01c24"}, + {file = "mypy-0.982-cp38-cp38-macosx_10_9_x86_64.whl", hash = "sha256:26ae64555d480ad4b32a267d10cab7aec92ff44de35a7cd95b2b7cb8e64ebe3e"}, + {file = "mypy-0.982-cp38-cp38-macosx_11_0_arm64.whl", hash = "sha256:6389af3e204975d6658de4fb8ac16f58c14e1bacc6142fee86d1b5b26aa52bda"}, + {file = "mypy-0.982-cp38-cp38-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:7b35ce03a289480d6544aac85fa3674f493f323d80ea7226410ed065cd46f206"}, + {file = "mypy-0.982-cp38-cp38-musllinux_1_1_x86_64.whl", hash = "sha256:c6e564f035d25c99fd2b863e13049744d96bd1947e3d3d2f16f5828864506763"}, + {file = "mypy-0.982-cp38-cp38-win_amd64.whl", hash = "sha256:cebca7fd333f90b61b3ef7f217ff75ce2e287482206ef4a8b18f32b49927b1a2"}, + {file = "mypy-0.982-cp39-cp39-macosx_10_9_universal2.whl", hash = "sha256:a705a93670c8b74769496280d2fe6cd59961506c64f329bb179970ff1d24f9f8"}, + {file = "mypy-0.982-cp39-cp39-macosx_10_9_x86_64.whl", hash = "sha256:75838c649290d83a2b83a88288c1eb60fe7a05b36d46cbea9d22efc790002146"}, + {file = "mypy-0.982-cp39-cp39-macosx_11_0_arm64.whl", hash = "sha256:91781eff1f3f2607519c8b0e8518aad8498af1419e8442d5d0afb108059881fc"}, + {file = "mypy-0.982-cp39-cp39-manylinux_2_17_x86_64.manylinux2014_x86_64.whl", hash = "sha256:eaa97b9ddd1dd9901a22a879491dbb951b5dec75c3b90032e2baa7336777363b"}, + {file = "mypy-0.982-cp39-cp39-musllinux_1_1_x86_64.whl", hash = "sha256:a692a8e7d07abe5f4b2dd32d731812a0175626a90a223d4b58f10f458747dd8a"}, + {file = "mypy-0.982-cp39-cp39-win_amd64.whl", hash = "sha256:eb7a068e503be3543c4bd329c994103874fa543c1727ba5288393c21d912d795"}, + {file = "mypy-0.982-py3-none-any.whl", hash = "sha256:1021c241e8b6e1ca5a47e4d52601274ac078a89845cfde66c6d5f769819ffa1d"}, + {file = "mypy-0.982.tar.gz", hash = "sha256:85f7a343542dc8b1ed0a888cdd34dca56462654ef23aa673907305b260b3d746"}, ] [package.dependencies] mypy-extensions = ">=0.4.3" -tomli = ">=1.1.0" +tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} typing-extensions = ">=3.10" [package.extras] dmypy = ["psutil (>=4.0)"] python2 = ["typed-ast (>=1.4.0,<2)"] +reports = ["lxml"] [[package]] name = "mypy-extensions" version = "0.4.4" description = "Experimental type system extensions for programs checked with the mypy typechecker." -category = "dev" optional = false python-versions = ">=2.7" files = [ @@ -1205,7 +1167,6 @@ files = [ name = "nodeenv" version = "1.8.0" description = "Node.js virtual environment builder" -category = "dev" optional = false python-versions = ">=2.7,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,!=3.6.*" files = [ @@ -1220,7 +1181,6 @@ setuptools = "*" name = "packaging" version = "23.1" description = "Core utilities for Python packages" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1232,7 +1192,6 @@ files = [ name = "parsimonious" version = "0.8.1" description = "(Soon to be) the fastest pure-Python PEG parser I could muster" -category = "main" optional = false python-versions = "*" files = [ @@ -1246,7 +1205,6 @@ six = ">=1.9.0" name = "pathspec" version = "0.11.1" description = "Utility library for gitignore style pattern matching of file paths." -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1258,7 +1216,6 @@ files = [ name = "pbr" version = "5.11.1" description = "Python Build Reasonableness" -category = "dev" optional = false python-versions = ">=2.6" files = [ @@ -1270,7 +1227,6 @@ files = [ name = "platformdirs" version = "3.9.1" description = "A small Python package for determining appropriate platform-specific dirs, e.g. a \"user data dir\"." -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1286,7 +1242,6 @@ test = ["appdirs (==1.4.4)", "covdefaults (>=2.3)", "pytest (>=7.3.1)", "pytest- name = "pluggy" version = "1.2.0" description = "plugin and hook calling mechanisms for python" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1302,7 +1257,6 @@ testing = ["pytest", "pytest-benchmark"] name = "pre-commit" version = "2.21.0" description = "A framework for managing and maintaining multi-language pre-commit hooks." -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1321,7 +1275,6 @@ virtualenv = ">=20.10.0" name = "pycryptodome" version = "3.18.0" description = "Cryptographic library for Python" -category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*" files = [ @@ -1363,7 +1316,6 @@ files = [ name = "pydocstyle" version = "6.3.0" description = "Python docstring style checker" -category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -1381,7 +1333,6 @@ toml = ["tomli (>=1.2.3)"] name = "pygments" version = "2.15.1" description = "Pygments is a syntax highlighting package written in Python." -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1396,7 +1347,6 @@ plugins = ["importlib-metadata"] name = "pylint" version = "2.13.9" description = "python code static checker" -category = "dev" optional = false python-versions = ">=3.6.2" files = [ @@ -1412,7 +1362,6 @@ isort = ">=4.2.5,<6" mccabe = ">=0.6,<0.8" platformdirs = ">=2.2.0" tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} -typing-extensions = {version = ">=3.10.0", markers = "python_version < \"3.10\""} [package.extras] testutil = ["gitpython (>3)"] @@ -1421,7 +1370,6 @@ testutil = ["gitpython (>3)"] name = "pytest" version = "7.4.0" description = "pytest: simple powerful testing with Python" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1444,7 +1392,6 @@ testing = ["argcomplete", "attrs (>=19.2.0)", "hypothesis (>=3.56)", "mock", "no name = "pytest-cov" version = "4.1.0" description = "Pytest plugin for measuring coverage." -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1463,7 +1410,6 @@ testing = ["fields", "hunter", "process-tests", "pytest-xdist", "six", "virtuale name = "pytest-recording" version = "0.12.2" description = "A pytest plugin that allows you recording of network interactions via VCR.py" -category = "dev" optional = false python-versions = ">=3.5" files = [ @@ -1480,7 +1426,6 @@ vcrpy = ">=2.0.1" name = "pyupgrade" version = "2.38.4" description = "A tool to automatically upgrade syntax for newer versions." -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1495,7 +1440,6 @@ tokenize-rt = "<5" name = "pyyaml" version = "6.0" description = "YAML parser and emitter for Python" -category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -1545,7 +1489,6 @@ files = [ name = "requests" version = "2.31.0" description = "Python HTTP for Humans." -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -1567,7 +1510,6 @@ use-chardet-on-py3 = ["chardet (>=3.0.2,<6)"] name = "rich" version = "10.16.2" description = "Render rich text, tables, progress bars, syntax highlighting, markdown and more to the terminal" -category = "dev" optional = false python-versions = ">=3.6.2,<4.0.0" files = [ @@ -1587,7 +1529,6 @@ jupyter = ["ipywidgets (>=7.5.1,<8.0.0)"] name = "rlp" version = "3.0.0" description = "A package for Recursive Length Prefix encoding and decoding" -category = "main" optional = false python-versions = "*" files = [ @@ -1609,7 +1550,6 @@ test = ["hypothesis (==5.19.0)", "pytest (>=6.2.5,<7)", "tox (>=2.9.1,<3)"] name = "safety" version = "1.10.3" description = "Checks installed dependencies for known vulnerabilities." -category = "dev" optional = false python-versions = ">=3.5" files = [ @@ -1628,7 +1568,6 @@ setuptools = "*" name = "setuptools" version = "68.0.0" description = "Easily download, build, install, upgrade, and uninstall Python packages" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1645,7 +1584,6 @@ testing-integration = ["build[virtualenv]", "filelock (>=3.4.0)", "jaraco.envs ( name = "six" version = "1.16.0" description = "Python 2 and 3 compatibility utilities" -category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*" files = [ @@ -1657,7 +1595,6 @@ files = [ name = "smmap" version = "5.0.0" description = "A pure Python implementation of a sliding window memory map manager" -category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -1669,7 +1606,6 @@ files = [ name = "snowballstemmer" version = "2.2.0" description = "This package provides 29 stemmers for 28 languages generated from Snowball algorithms." -category = "dev" optional = false python-versions = "*" files = [ @@ -1681,7 +1617,6 @@ files = [ name = "stevedore" version = "3.5.2" description = "Manage dynamic plugins for Python applications" -category = "dev" optional = false python-versions = ">=3.6" files = [ @@ -1696,7 +1631,6 @@ pbr = ">=2.0.0,<2.1.0 || >2.1.0" name = "tokenize-rt" version = "4.2.1" description = "A wrapper around the stdlib `tokenize` which roundtrips." -category = "dev" optional = false python-versions = ">=3.6.1" files = [ @@ -1708,7 +1642,6 @@ files = [ name = "tomli" version = "2.0.1" description = "A lil' TOML parser" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1720,7 +1653,6 @@ files = [ name = "toolz" version = "0.12.0" description = "List processing tools and functional utilities" -category = "main" optional = false python-versions = ">=3.5" files = [ @@ -1732,7 +1664,6 @@ files = [ name = "typing-extensions" version = "4.7.1" description = "Backported and Experimental Type Hints for Python 3.7+" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1744,7 +1675,6 @@ files = [ name = "urllib3" version = "1.26.16" description = "HTTP library with thread-safe connection pooling, file post, and more." -category = "main" optional = false python-versions = ">=2.7, !=3.0.*, !=3.1.*, !=3.2.*, !=3.3.*, !=3.4.*, !=3.5.*" files = [ @@ -1761,7 +1691,6 @@ socks = ["PySocks (>=1.5.6,!=1.5.7,<2.0)"] name = "vcrpy" version = "4.4.0" description = "Automatically mock your HTTP interactions to simplify and speed up testing" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1772,7 +1701,6 @@ files = [ [package.dependencies] PyYAML = "*" six = ">=1.5" -urllib3 = {version = "<2", markers = "python_version < \"3.10\""} wrapt = "*" yarl = "*" @@ -1780,7 +1708,6 @@ yarl = "*" name = "virtualenv" version = "20.21.1" description = "Virtual Python Environment builder" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1801,7 +1728,6 @@ test = ["covdefaults (>=2.3)", "coverage (>=7.2.3)", "coverage-enable-subprocess name = "websocket-client" version = "1.6.1" description = "WebSocket client for Python with low level API options" -category = "main" optional = false python-versions = ">=3.7" files = [ @@ -1818,7 +1744,6 @@ test = ["websockets"] name = "wrapt" version = "1.15.0" description = "Module for decorators, wrappers and monkey patching." -category = "dev" optional = false python-versions = "!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,>=2.7" files = [ @@ -1903,7 +1828,6 @@ files = [ name = "yarl" version = "1.9.2" description = "Yet another URL library" -category = "dev" optional = false python-versions = ">=3.7" files = [ @@ -1989,5 +1913,5 @@ multidict = ">=4.0" [metadata] lock-version = "2.0" -python-versions = "^3.8" -content-hash = "0abed866e6995be6494849806089458cdf9f7c2324eda02356e32443efd1b4a8" +python-versions = "^3.10" +content-hash = "296d9c2ccbbd96227d4a00131ca0879d6e23c3c62e6b4db5814b476c2871515f" diff --git a/pyproject.toml b/pyproject.toml index 5eddc7b3..1ff84ce8 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ classifiers = [ #! Update me "hyperliquid-python-sdk" = "hyperliquid.__main__:app" [tool.poetry.dependencies] -python = "^3.8" +python = "^3.10" eth-utils = "^2.1.0" eth-abi = "^3.0.1" eth-account = "^0.8.0" @@ -48,14 +48,13 @@ requests = "^2.31.0" msgpack = "^1.0.5" [tool.poetry.dev-dependencies] -python = "3.10.10" pytest = "^7.2.1" pytest-recording = "^0.12.2" bandit = "^1.7.1" black = "^22.3.0" darglint = "^1.8.1" isort = {extras = ["colors"], version = "^5.10.1"} -mypy = "^0.930" +mypy = "^0.982" mypy-extensions = "^0.4.3" pre-commit = "^2.15.0" pydocstyle = "^6.1.1" diff --git a/requirements.txt b/requirements.txt index 79961148..7d3e162a 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,23 +1,23 @@ -bitarray==2.7.6 ; python_version >= "3.8" and python_version < "4" -certifi==2023.5.7 ; python_version >= "3.8" and python_version < "4.0" -charset-normalizer==3.2.0 ; python_version >= "3.8" and python_version < "4.0" -cytoolz==0.12.1 ; python_version >= "3.8" and python_version < "4" and implementation_name == "cpython" -eth-abi==3.0.1 ; python_version >= "3.8" and python_version < "4" -eth-account==0.8.0 ; python_version >= "3.8" and python_version < "4" -eth-hash==0.5.2 ; python_version >= "3.8" and python_version < "4" -eth-keyfile==0.6.1 ; python_version >= "3.8" and python_version < "4" -eth-keys==0.4.0 ; python_version >= "3.8" and python_version < "4" -eth-rlp==0.3.0 ; python_version >= "3.8" and python_version < "4" -eth-typing==3.2.0 ; python_version >= "3.8" and python_version < "4" -eth-utils==2.2.0 ; python_version >= "3.8" and python_version < "4" -hexbytes==0.3.1 ; python_version >= "3.8" and python_version < "4" -idna==3.4 ; python_version >= "3.8" and python_version < "4.0" -msgpack==1.0.5 ; python_version >= "3.8" and python_version < "4.0" -parsimonious==0.8.1 ; python_version >= "3.8" and python_version < "4" -pycryptodome==3.18.0 ; python_version >= "3.8" and python_version < "4" -requests==2.31.0 ; python_version >= "3.8" and python_version < "4.0" -rlp==3.0.0 ; python_version >= "3.8" and python_version < "4" -six==1.16.0 ; python_version >= "3.8" and python_version < "4" -toolz==0.12.0 ; python_version >= "3.8" and python_version < "4" and implementation_name == "pypy" or python_version >= "3.8" and python_version < "4" and implementation_name == "cpython" -urllib3==1.26.16 ; python_version >= "3.8" and python_version < "4.0" -websocket-client==1.6.1 ; python_version >= "3.8" and python_version < "4.0" +bitarray==2.7.6 ; python_version >= "3.10" and python_version < "4" +certifi==2023.5.7 ; python_version >= "3.10" and python_version < "4.0" +charset-normalizer==3.2.0 ; python_version >= "3.10" and python_version < "4.0" +cytoolz==0.12.1 ; python_version >= "3.10" and python_version < "4" and implementation_name == "cpython" +eth-abi==3.0.1 ; python_version >= "3.10" and python_version < "4" +eth-account==0.8.0 ; python_version >= "3.10" and python_version < "4" +eth-hash==0.5.2 ; python_version >= "3.10" and python_version < "4" +eth-keyfile==0.6.1 ; python_version >= "3.10" and python_version < "4" +eth-keys==0.4.0 ; python_version >= "3.10" and python_version < "4" +eth-rlp==0.3.0 ; python_version >= "3.10" and python_version < "4" +eth-typing==3.2.0 ; python_version >= "3.10" and python_version < "4" +eth-utils==2.2.0 ; python_version >= "3.10" and python_version < "4" +hexbytes==0.3.1 ; python_version >= "3.10" and python_version < "4" +idna==3.4 ; python_version >= "3.10" and python_version < "4.0" +msgpack==1.0.5 ; python_version >= "3.10" and python_version < "4.0" +parsimonious==0.8.1 ; python_version >= "3.10" and python_version < "4" +pycryptodome==3.18.0 ; python_version >= "3.10" and python_version < "4" +requests==2.31.0 ; python_version >= "3.10" and python_version < "4.0" +rlp==3.0.0 ; python_version >= "3.10" and python_version < "4" +six==1.16.0 ; python_version >= "3.10" and python_version < "4" +toolz==0.12.0 ; python_version >= "3.10" and python_version < "4" and (implementation_name == "pypy" or implementation_name == "cpython") +urllib3==1.26.16 ; python_version >= "3.10" and python_version < "4.0" +websocket-client==1.6.1 ; python_version >= "3.10" and python_version < "4.0" From 36118376081f783f3ebc62462f3b53f58f04c92f Mon Sep 17 00:00:00 2001 From: minghinmatthewlam Date: Fri, 11 Oct 2024 14:02:57 -0400 Subject: [PATCH 2/2] revert to python 3.8 --- poetry.lock | 8 ++++++-- pyproject.toml | 2 +- requirements.txt | 46 +++++++++++++++++++++++----------------------- 3 files changed, 30 insertions(+), 26 deletions(-) diff --git a/poetry.lock b/poetry.lock index b1bce35e..72b75e7c 100644 --- a/poetry.lock +++ b/poetry.lock @@ -14,6 +14,7 @@ files = [ [package.dependencies] lazy-object-proxy = ">=1.4.0" setuptools = ">=20.0" +typing-extensions = {version = ">=3.10", markers = "python_version < \"3.10\""} wrapt = ">=1.11,<2" [[package]] @@ -195,6 +196,7 @@ mypy-extensions = ">=0.4.3" pathspec = ">=0.9.0" platformdirs = ">=2" tomli = {version = ">=1.1.0", markers = "python_full_version < \"3.11.0a7\""} +typing-extensions = {version = ">=3.10.0.0", markers = "python_version < \"3.10\""} [package.extras] colorama = ["colorama (>=0.4.3)"] @@ -1362,6 +1364,7 @@ isort = ">=4.2.5,<6" mccabe = ">=0.6,<0.8" platformdirs = ">=2.2.0" tomli = {version = ">=1.1.0", markers = "python_version < \"3.11\""} +typing-extensions = {version = ">=3.10.0", markers = "python_version < \"3.10\""} [package.extras] testutil = ["gitpython (>3)"] @@ -1701,6 +1704,7 @@ files = [ [package.dependencies] PyYAML = "*" six = ">=1.5" +urllib3 = {version = "<2", markers = "python_version < \"3.10\""} wrapt = "*" yarl = "*" @@ -1913,5 +1917,5 @@ multidict = ">=4.0" [metadata] lock-version = "2.0" -python-versions = "^3.10" -content-hash = "296d9c2ccbbd96227d4a00131ca0879d6e23c3c62e6b4db5814b476c2871515f" +python-versions = "^3.8" +content-hash = "948041762366f8a3a2e5a0cb6a11e3730f9d4ca7c976c229719afb41cc267d22" diff --git a/pyproject.toml b/pyproject.toml index 1ff84ce8..bde7a048 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -39,7 +39,7 @@ classifiers = [ #! Update me "hyperliquid-python-sdk" = "hyperliquid.__main__:app" [tool.poetry.dependencies] -python = "^3.10" +python = "^3.8" eth-utils = "^2.1.0" eth-abi = "^3.0.1" eth-account = "^0.8.0" diff --git a/requirements.txt b/requirements.txt index 7d3e162a..51440a5b 100644 --- a/requirements.txt +++ b/requirements.txt @@ -1,23 +1,23 @@ -bitarray==2.7.6 ; python_version >= "3.10" and python_version < "4" -certifi==2023.5.7 ; python_version >= "3.10" and python_version < "4.0" -charset-normalizer==3.2.0 ; python_version >= "3.10" and python_version < "4.0" -cytoolz==0.12.1 ; python_version >= "3.10" and python_version < "4" and implementation_name == "cpython" -eth-abi==3.0.1 ; python_version >= "3.10" and python_version < "4" -eth-account==0.8.0 ; python_version >= "3.10" and python_version < "4" -eth-hash==0.5.2 ; python_version >= "3.10" and python_version < "4" -eth-keyfile==0.6.1 ; python_version >= "3.10" and python_version < "4" -eth-keys==0.4.0 ; python_version >= "3.10" and python_version < "4" -eth-rlp==0.3.0 ; python_version >= "3.10" and python_version < "4" -eth-typing==3.2.0 ; python_version >= "3.10" and python_version < "4" -eth-utils==2.2.0 ; python_version >= "3.10" and python_version < "4" -hexbytes==0.3.1 ; python_version >= "3.10" and python_version < "4" -idna==3.4 ; python_version >= "3.10" and python_version < "4.0" -msgpack==1.0.5 ; python_version >= "3.10" and python_version < "4.0" -parsimonious==0.8.1 ; python_version >= "3.10" and python_version < "4" -pycryptodome==3.18.0 ; python_version >= "3.10" and python_version < "4" -requests==2.31.0 ; python_version >= "3.10" and python_version < "4.0" -rlp==3.0.0 ; python_version >= "3.10" and python_version < "4" -six==1.16.0 ; python_version >= "3.10" and python_version < "4" -toolz==0.12.0 ; python_version >= "3.10" and python_version < "4" and (implementation_name == "pypy" or implementation_name == "cpython") -urllib3==1.26.16 ; python_version >= "3.10" and python_version < "4.0" -websocket-client==1.6.1 ; python_version >= "3.10" and python_version < "4.0" +bitarray==2.7.6 ; python_version >= "3.8" and python_version < "4" +certifi==2023.5.7 ; python_version >= "3.8" and python_version < "4.0" +charset-normalizer==3.2.0 ; python_version >= "3.8" and python_version < "4.0" +cytoolz==0.12.1 ; python_version >= "3.8" and python_version < "4" and implementation_name == "cpython" +eth-abi==3.0.1 ; python_version >= "3.8" and python_version < "4" +eth-account==0.8.0 ; python_version >= "3.8" and python_version < "4" +eth-hash==0.5.2 ; python_version >= "3.8" and python_version < "4" +eth-keyfile==0.6.1 ; python_version >= "3.8" and python_version < "4" +eth-keys==0.4.0 ; python_version >= "3.8" and python_version < "4" +eth-rlp==0.3.0 ; python_version >= "3.8" and python_version < "4" +eth-typing==3.2.0 ; python_version >= "3.8" and python_version < "4" +eth-utils==2.2.0 ; python_version >= "3.8" and python_version < "4" +hexbytes==0.3.1 ; python_version >= "3.8" and python_version < "4" +idna==3.4 ; python_version >= "3.8" and python_version < "4.0" +msgpack==1.0.5 ; python_version >= "3.8" and python_version < "4.0" +parsimonious==0.8.1 ; python_version >= "3.8" and python_version < "4" +pycryptodome==3.18.0 ; python_version >= "3.8" and python_version < "4" +requests==2.31.0 ; python_version >= "3.8" and python_version < "4.0" +rlp==3.0.0 ; python_version >= "3.8" and python_version < "4" +six==1.16.0 ; python_version >= "3.8" and python_version < "4" +toolz==0.12.0 ; python_version >= "3.8" and python_version < "4" and (implementation_name == "pypy" or implementation_name == "cpython") +urllib3==1.26.16 ; python_version >= "3.8" and python_version < "4.0" +websocket-client==1.6.1 ; python_version >= "3.8" and python_version < "4.0"