faster-eth-utils 5.3.16__tar.gz → 5.3.17__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {faster_eth_utils-5.3.16/faster_eth_utils.egg-info → faster_eth_utils-5.3.17}/PKG-INFO +17 -10
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/applicators.py +6 -1
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/curried/__init__.py +6 -1
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17/faster_eth_utils.egg-info}/PKG-INFO +17 -10
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils.egg-info/requires.txt +16 -8
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/pyproject.toml +2 -2
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/setup.py +22 -25
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/curried-utils/test_curried.py +11 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/functional-utils/test_type_inference.py +5 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/LICENSE +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/MANIFEST.in +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/README.md +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/__init__.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/__json/eth_networks.json +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/__main__.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/abi.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/address.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/conversions.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/crypto.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/currency.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/debug.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/decorators.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/encoding.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/exceptions.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/functional.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/hexadecimal.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/humanize.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/logging.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/module_loading.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/network.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/numeric.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/py.typed +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/pydantic.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/toolz.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/types.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/typing/__init__.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/typing/misc.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/units.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils.egg-info/SOURCES.txt +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils.egg-info/dependency_links.txt +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils.egg-info/not-zip-safe +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils.egg-info/top_level.txt +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/scripts/benchmark/compare_benchmark_results.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/scripts/benchmark/generate_benchmark_markdown.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/scripts/benchmark/parse_benchmark_output.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/scripts/release/test_package.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/setup.cfg +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/abi-utils/test_abi_utils.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/address-utils/test_address_utils.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/applicator-utils/test_applicators.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/conversion-utils/test_conversions.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/currency-utils/test_currency_tools.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/currency-utils/test_denoms_obj.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/decorator-utils/test_combomethod.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/decorator-utils/test_replace_exceptions.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/encoding-utils/test_big_endian_integer.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/functional-utils/test_return_value_decorators.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/hexadecimal-utils/test_0x_prefix_addition_and_removal.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/hexadecimal-utils/test_is_0x_prefixed.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/hexadecimal-utils/test_is_hex.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/hexadecimal-utils/test_is_hexstr.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/humanize-utils/test_humanize_bytes.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/humanize-utils/test_humanize_hash.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/humanize-utils/test_humanize_hexstr.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/humanize-utils/test_humanize_integer_sequence.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/humanize-utils/test_humanize_ipfs_uri.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/humanize-utils/test_humanize_seconds.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/humanize-utils/test_humanize_wei.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/logging-utils/test_DEBUG2_logging.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/logging-utils/test_compat_with_abc_ABC.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/logging-utils/test_get_logger.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/logging-utils/test_has_logger_metaclass.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/module-loading-utils/test_import_string.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/network-utils/test_network_utils.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/numeric-utils/test_clamp.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/pydantic-utils/test_camel_model.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/test_import_and_version.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/type-checks/mypy_typing_of_curried_utils.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/type-checks/mypy_typing_of_functional_utils.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/type-checks/mypy_typing_of_has_logger.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/types-utils/test_types_utils.py +0 -0
- {faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/mypy/abi_types.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: faster-eth-utils
|
|
3
|
-
Version: 5.3.
|
|
3
|
+
Version: 5.3.17
|
|
4
4
|
Summary: A fork of eth-utils: Common utility functions for python code that interacts with Ethereum, implemented in C
|
|
5
5
|
Home-page: https://github.com/BobTheBuidler/faster-eth-utils
|
|
6
6
|
Author: The Ethereum Foundation
|
|
@@ -28,10 +28,10 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
28
28
|
Requires-Python: >=3.8, <4
|
|
29
29
|
Description-Content-Type: text/markdown
|
|
30
30
|
License-File: LICENSE
|
|
31
|
-
Requires-Dist: cchecksum
|
|
31
|
+
Requires-Dist: cchecksum==0.3.4
|
|
32
32
|
Requires-Dist: eth-hash>=0.3.1
|
|
33
|
-
Requires-Dist: eth-typing
|
|
34
|
-
Requires-Dist: eth-utils
|
|
33
|
+
Requires-Dist: eth-typing==5.2.1
|
|
34
|
+
Requires-Dist: eth-utils==5.3.1
|
|
35
35
|
Requires-Dist: toolz>0.8.2; implementation_name == "pypy"
|
|
36
36
|
Requires-Dist: cytoolz>=0.10.1; implementation_name == "cpython"
|
|
37
37
|
Requires-Dist: pydantic<3,>=2.0.0
|
|
@@ -40,7 +40,7 @@ Requires-Dist: build>=0.9.0; extra == "dev"
|
|
|
40
40
|
Requires-Dist: bump_my_version>=0.19.0; extra == "dev"
|
|
41
41
|
Requires-Dist: eth-hash[pycryptodome]; extra == "dev"
|
|
42
42
|
Requires-Dist: ipython; extra == "dev"
|
|
43
|
-
Requires-Dist: mypy
|
|
43
|
+
Requires-Dist: mypy<1.18.3,>=1.14.1; extra == "dev"
|
|
44
44
|
Requires-Dist: pre-commit>=3.4.0; extra == "dev"
|
|
45
45
|
Requires-Dist: tox>=4.0.0; extra == "dev"
|
|
46
46
|
Requires-Dist: twine; extra == "dev"
|
|
@@ -50,9 +50,9 @@ Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "dev"
|
|
|
50
50
|
Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "dev"
|
|
51
51
|
Requires-Dist: towncrier<26,>=24; extra == "dev"
|
|
52
52
|
Requires-Dist: hypothesis>=4.43.0; extra == "dev"
|
|
53
|
-
Requires-Dist: mypy
|
|
54
|
-
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
53
|
+
Requires-Dist: mypy<1.18.3,>=1.14.1; extra == "dev"
|
|
55
54
|
Requires-Dist: pytest-xdist>=2.4.0; extra == "dev"
|
|
55
|
+
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
56
56
|
Provides-Extra: docs
|
|
57
57
|
Requires-Dist: sphinx>=6.0.0; extra == "docs"
|
|
58
58
|
Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "docs"
|
|
@@ -60,12 +60,19 @@ Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "docs"
|
|
|
60
60
|
Requires-Dist: towncrier<26,>=24; extra == "docs"
|
|
61
61
|
Provides-Extra: test
|
|
62
62
|
Requires-Dist: hypothesis>=4.43.0; extra == "test"
|
|
63
|
-
Requires-Dist: mypy
|
|
64
|
-
Requires-Dist: pytest>=7.0.0; extra == "test"
|
|
63
|
+
Requires-Dist: mypy<1.18.3,>=1.14.1; extra == "test"
|
|
65
64
|
Requires-Dist: pytest-xdist>=2.4.0; extra == "test"
|
|
65
|
+
Requires-Dist: pytest>=7.0.0; extra == "test"
|
|
66
66
|
Provides-Extra: codspeed
|
|
67
|
-
Requires-Dist: pytest>=7.0.0; extra == "codspeed"
|
|
68
67
|
Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "codspeed"
|
|
68
|
+
Requires-Dist: pytest-test-groups; extra == "codspeed"
|
|
69
|
+
Requires-Dist: pytest>=7.0.0; extra == "codspeed"
|
|
70
|
+
Provides-Extra: benchmark
|
|
71
|
+
Requires-Dist: eth-utils==5.3.1; extra == "benchmark"
|
|
72
|
+
Requires-Dist: pytest-benchmark==5.2.2; extra == "benchmark"
|
|
73
|
+
Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "benchmark"
|
|
74
|
+
Requires-Dist: pytest-test-groups; extra == "benchmark"
|
|
75
|
+
Requires-Dist: pytest>=7.0.0; extra == "benchmark"
|
|
69
76
|
Dynamic: author
|
|
70
77
|
Dynamic: author-email
|
|
71
78
|
Dynamic: classifier
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import sys
|
|
1
2
|
from typing import (
|
|
2
3
|
TYPE_CHECKING,
|
|
3
4
|
Any,
|
|
@@ -31,7 +32,11 @@ from .toolz import (
|
|
|
31
32
|
)
|
|
32
33
|
|
|
33
34
|
if TYPE_CHECKING:
|
|
34
|
-
|
|
35
|
+
if sys.version_info >= (3, 9):
|
|
36
|
+
from _typeshed import SupportsBool
|
|
37
|
+
# We have to sacrifice a little bit of specificity on dinosaur Python3.8
|
|
38
|
+
else:
|
|
39
|
+
SupportsBool = Any
|
|
35
40
|
|
|
36
41
|
TArg = TypeVar("TArg")
|
|
37
42
|
TReturn = TypeVar("TReturn")
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import sys
|
|
1
2
|
from typing import (
|
|
2
3
|
TYPE_CHECKING,
|
|
3
4
|
Any,
|
|
@@ -121,7 +122,11 @@ from faster_eth_utils.toolz import (
|
|
|
121
122
|
)
|
|
122
123
|
|
|
123
124
|
if TYPE_CHECKING:
|
|
124
|
-
|
|
125
|
+
if sys.version_info >= (3, 9):
|
|
126
|
+
from _typeshed import SupportsBool
|
|
127
|
+
# We have to sacrifice a little bit of specificity on dinosaur Python3.8
|
|
128
|
+
else:
|
|
129
|
+
SupportsBool = Any
|
|
125
130
|
|
|
126
131
|
|
|
127
132
|
TArg = TypeVar("TArg")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: faster-eth-utils
|
|
3
|
-
Version: 5.3.
|
|
3
|
+
Version: 5.3.17
|
|
4
4
|
Summary: A fork of eth-utils: Common utility functions for python code that interacts with Ethereum, implemented in C
|
|
5
5
|
Home-page: https://github.com/BobTheBuidler/faster-eth-utils
|
|
6
6
|
Author: The Ethereum Foundation
|
|
@@ -28,10 +28,10 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
|
28
28
|
Requires-Python: >=3.8, <4
|
|
29
29
|
Description-Content-Type: text/markdown
|
|
30
30
|
License-File: LICENSE
|
|
31
|
-
Requires-Dist: cchecksum
|
|
31
|
+
Requires-Dist: cchecksum==0.3.4
|
|
32
32
|
Requires-Dist: eth-hash>=0.3.1
|
|
33
|
-
Requires-Dist: eth-typing
|
|
34
|
-
Requires-Dist: eth-utils
|
|
33
|
+
Requires-Dist: eth-typing==5.2.1
|
|
34
|
+
Requires-Dist: eth-utils==5.3.1
|
|
35
35
|
Requires-Dist: toolz>0.8.2; implementation_name == "pypy"
|
|
36
36
|
Requires-Dist: cytoolz>=0.10.1; implementation_name == "cpython"
|
|
37
37
|
Requires-Dist: pydantic<3,>=2.0.0
|
|
@@ -40,7 +40,7 @@ Requires-Dist: build>=0.9.0; extra == "dev"
|
|
|
40
40
|
Requires-Dist: bump_my_version>=0.19.0; extra == "dev"
|
|
41
41
|
Requires-Dist: eth-hash[pycryptodome]; extra == "dev"
|
|
42
42
|
Requires-Dist: ipython; extra == "dev"
|
|
43
|
-
Requires-Dist: mypy
|
|
43
|
+
Requires-Dist: mypy<1.18.3,>=1.14.1; extra == "dev"
|
|
44
44
|
Requires-Dist: pre-commit>=3.4.0; extra == "dev"
|
|
45
45
|
Requires-Dist: tox>=4.0.0; extra == "dev"
|
|
46
46
|
Requires-Dist: twine; extra == "dev"
|
|
@@ -50,9 +50,9 @@ Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "dev"
|
|
|
50
50
|
Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "dev"
|
|
51
51
|
Requires-Dist: towncrier<26,>=24; extra == "dev"
|
|
52
52
|
Requires-Dist: hypothesis>=4.43.0; extra == "dev"
|
|
53
|
-
Requires-Dist: mypy
|
|
54
|
-
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
53
|
+
Requires-Dist: mypy<1.18.3,>=1.14.1; extra == "dev"
|
|
55
54
|
Requires-Dist: pytest-xdist>=2.4.0; extra == "dev"
|
|
55
|
+
Requires-Dist: pytest>=7.0.0; extra == "dev"
|
|
56
56
|
Provides-Extra: docs
|
|
57
57
|
Requires-Dist: sphinx>=6.0.0; extra == "docs"
|
|
58
58
|
Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "docs"
|
|
@@ -60,12 +60,19 @@ Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "docs"
|
|
|
60
60
|
Requires-Dist: towncrier<26,>=24; extra == "docs"
|
|
61
61
|
Provides-Extra: test
|
|
62
62
|
Requires-Dist: hypothesis>=4.43.0; extra == "test"
|
|
63
|
-
Requires-Dist: mypy
|
|
64
|
-
Requires-Dist: pytest>=7.0.0; extra == "test"
|
|
63
|
+
Requires-Dist: mypy<1.18.3,>=1.14.1; extra == "test"
|
|
65
64
|
Requires-Dist: pytest-xdist>=2.4.0; extra == "test"
|
|
65
|
+
Requires-Dist: pytest>=7.0.0; extra == "test"
|
|
66
66
|
Provides-Extra: codspeed
|
|
67
|
-
Requires-Dist: pytest>=7.0.0; extra == "codspeed"
|
|
68
67
|
Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "codspeed"
|
|
68
|
+
Requires-Dist: pytest-test-groups; extra == "codspeed"
|
|
69
|
+
Requires-Dist: pytest>=7.0.0; extra == "codspeed"
|
|
70
|
+
Provides-Extra: benchmark
|
|
71
|
+
Requires-Dist: eth-utils==5.3.1; extra == "benchmark"
|
|
72
|
+
Requires-Dist: pytest-benchmark==5.2.2; extra == "benchmark"
|
|
73
|
+
Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "benchmark"
|
|
74
|
+
Requires-Dist: pytest-test-groups; extra == "benchmark"
|
|
75
|
+
Requires-Dist: pytest>=7.0.0; extra == "benchmark"
|
|
69
76
|
Dynamic: author
|
|
70
77
|
Dynamic: author-email
|
|
71
78
|
Dynamic: classifier
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
cchecksum
|
|
1
|
+
cchecksum==0.3.4
|
|
2
2
|
eth-hash>=0.3.1
|
|
3
|
-
eth-typing
|
|
4
|
-
eth-utils
|
|
3
|
+
eth-typing==5.2.1
|
|
4
|
+
eth-utils==5.3.1
|
|
5
5
|
pydantic<3,>=2.0.0
|
|
6
6
|
|
|
7
7
|
[:implementation_name == "cpython"]
|
|
@@ -10,16 +10,24 @@ cytoolz>=0.10.1
|
|
|
10
10
|
[:implementation_name == "pypy"]
|
|
11
11
|
toolz>0.8.2
|
|
12
12
|
|
|
13
|
-
[
|
|
13
|
+
[benchmark]
|
|
14
|
+
eth-utils==5.3.1
|
|
15
|
+
pytest-benchmark==5.2.2
|
|
16
|
+
pytest-codspeed<4.3,>=4.2
|
|
17
|
+
pytest-test-groups
|
|
14
18
|
pytest>=7.0.0
|
|
19
|
+
|
|
20
|
+
[codspeed]
|
|
15
21
|
pytest-codspeed<4.3,>=4.2
|
|
22
|
+
pytest-test-groups
|
|
23
|
+
pytest>=7.0.0
|
|
16
24
|
|
|
17
25
|
[dev]
|
|
18
26
|
build>=0.9.0
|
|
19
27
|
bump_my_version>=0.19.0
|
|
20
28
|
eth-hash[pycryptodome]
|
|
21
29
|
ipython
|
|
22
|
-
mypy
|
|
30
|
+
mypy<1.18.3,>=1.14.1
|
|
23
31
|
pre-commit>=3.4.0
|
|
24
32
|
tox>=4.0.0
|
|
25
33
|
twine
|
|
@@ -29,8 +37,8 @@ sphinx-autobuild>=2021.3.14
|
|
|
29
37
|
sphinx_rtd_theme>=1.0.0
|
|
30
38
|
towncrier<26,>=24
|
|
31
39
|
hypothesis>=4.43.0
|
|
32
|
-
pytest>=7.0.0
|
|
33
40
|
pytest-xdist>=2.4.0
|
|
41
|
+
pytest>=7.0.0
|
|
34
42
|
|
|
35
43
|
[docs]
|
|
36
44
|
sphinx>=6.0.0
|
|
@@ -40,6 +48,6 @@ towncrier<26,>=24
|
|
|
40
48
|
|
|
41
49
|
[test]
|
|
42
50
|
hypothesis>=4.43.0
|
|
43
|
-
mypy
|
|
44
|
-
pytest>=7.0.0
|
|
51
|
+
mypy<1.18.3,>=1.14.1
|
|
45
52
|
pytest-xdist>=2.4.0
|
|
53
|
+
pytest>=7.0.0
|
|
@@ -4,7 +4,7 @@ requires = [
|
|
|
4
4
|
"wheel",
|
|
5
5
|
"mypy[mypyc]==1.14.1; python_version == '3.8'",
|
|
6
6
|
"mypy[mypyc]==1.18.2; python_version != '3.8'",
|
|
7
|
-
"cchecksum==0.3.
|
|
7
|
+
"cchecksum==0.3.4",
|
|
8
8
|
"eth-hash==0.7.1",
|
|
9
9
|
"eth-typing==5.2.1",
|
|
10
10
|
# puccinialin (installed with eth-utils) is unable to install for
|
|
@@ -140,7 +140,7 @@ name = "Removals"
|
|
|
140
140
|
showcontent = true
|
|
141
141
|
|
|
142
142
|
[tool.bumpversion]
|
|
143
|
-
current_version = "5.3.
|
|
143
|
+
current_version = "5.3.17"
|
|
144
144
|
parse = """
|
|
145
145
|
(?P<major>\\d+)
|
|
146
146
|
\\.(?P<minor>\\d+)
|
|
@@ -56,34 +56,31 @@ else:
|
|
|
56
56
|
MYPY_REQUIREMENT = f"mypy=={'1.14.1' if sys.version_info < (3, 9) else '1.18.2'}"
|
|
57
57
|
PYTEST_REQUIREMENT = "pytest>=7.0.0"
|
|
58
58
|
|
|
59
|
+
|
|
60
|
+
def read_requirements(path):
|
|
61
|
+
with open(path) as f:
|
|
62
|
+
reqs = set()
|
|
63
|
+
for line in f:
|
|
64
|
+
if stripped := line.strip():
|
|
65
|
+
if not stripped.startswith("#"):
|
|
66
|
+
if stripped.startswith("-r "):
|
|
67
|
+
reqs.update(read_requirements(stripped[3:]))
|
|
68
|
+
else:
|
|
69
|
+
reqs.add(stripped)
|
|
70
|
+
return sorted(reqs)
|
|
71
|
+
|
|
72
|
+
|
|
59
73
|
extras_require = {
|
|
60
|
-
"dev":
|
|
61
|
-
"build>=0.9.0",
|
|
62
|
-
"bump_my_version>=0.19.0",
|
|
63
|
-
"eth-hash[pycryptodome]",
|
|
64
|
-
"ipython",
|
|
65
|
-
MYPY_REQUIREMENT,
|
|
66
|
-
"pre-commit>=3.4.0",
|
|
67
|
-
"tox>=4.0.0",
|
|
68
|
-
"twine",
|
|
69
|
-
"wheel",
|
|
70
|
-
],
|
|
74
|
+
"dev": read_requirements("requirements-dev.txt"),
|
|
71
75
|
"docs": [
|
|
72
76
|
"sphinx>=6.0.0",
|
|
73
77
|
"sphinx-autobuild>=2021.3.14",
|
|
74
78
|
"sphinx_rtd_theme>=1.0.0",
|
|
75
79
|
"towncrier>=24,<26",
|
|
76
80
|
],
|
|
77
|
-
"test":
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
PYTEST_REQUIREMENT,
|
|
81
|
-
"pytest-xdist>=2.4.0",
|
|
82
|
-
],
|
|
83
|
-
"codspeed": [
|
|
84
|
-
PYTEST_REQUIREMENT,
|
|
85
|
-
"pytest-codspeed>=4.2,<4.3",
|
|
86
|
-
],
|
|
81
|
+
"test": read_requirements("requirements-test.txt"),
|
|
82
|
+
"codspeed": read_requirements("requirements-codspeed.txt"),
|
|
83
|
+
"benchmark": read_requirements("requirements-benchmark.txt"),
|
|
87
84
|
}
|
|
88
85
|
|
|
89
86
|
extras_require["dev"] = (
|
|
@@ -98,7 +95,7 @@ with open("./README.md") as readme:
|
|
|
98
95
|
setup(
|
|
99
96
|
name="faster-eth-utils",
|
|
100
97
|
# *IMPORTANT*: Don't manually change the version here. Use `make bump`, as described in readme
|
|
101
|
-
version="5.3.
|
|
98
|
+
version="5.3.17",
|
|
102
99
|
description=(
|
|
103
100
|
"""A fork of eth-utils: Common utility functions for python code that interacts with Ethereum, implemented in C"""
|
|
104
101
|
),
|
|
@@ -119,10 +116,10 @@ setup(
|
|
|
119
116
|
},
|
|
120
117
|
include_package_data=True,
|
|
121
118
|
install_requires=[
|
|
122
|
-
"cchecksum
|
|
119
|
+
"cchecksum==0.3.4",
|
|
123
120
|
"eth-hash>=0.3.1",
|
|
124
|
-
"eth-typing
|
|
125
|
-
"eth-utils
|
|
121
|
+
"eth-typing==5.2.1",
|
|
122
|
+
"eth-utils==5.3.1",
|
|
126
123
|
"toolz>0.8.2;implementation_name=='pypy'",
|
|
127
124
|
"cytoolz>=0.10.1;implementation_name=='cpython'",
|
|
128
125
|
"pydantic>=2.0.0,<3",
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/curried-utils/test_curried.py
RENAMED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
import sys
|
|
2
|
+
|
|
3
|
+
import pytest
|
|
4
|
+
|
|
1
5
|
try:
|
|
2
6
|
from cytoolz import (
|
|
3
7
|
curry,
|
|
@@ -33,6 +37,13 @@ def enhanced_has_keywords(func):
|
|
|
33
37
|
|
|
34
38
|
|
|
35
39
|
# heavily inspired by https://github.com/pytoolz/toolz/blob/20d8aefc0a5/toolz/tests/test_curried.py # noqa: E501
|
|
40
|
+
@pytest.mark.skipif(
|
|
41
|
+
sys.version_info < (3, 9),
|
|
42
|
+
reason=(
|
|
43
|
+
"This test fails on 3.8 and I don't care to figure out why. "
|
|
44
|
+
"Feel free to make a PR if you need something that's missing."
|
|
45
|
+
),
|
|
46
|
+
)
|
|
36
47
|
def test_curried_namespace():
|
|
37
48
|
def should_curry(value):
|
|
38
49
|
if not callable(value) or isinstance(value, curry) or isinstance(value, type):
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import pytest
|
|
2
|
+
import sys
|
|
2
3
|
from typing import (
|
|
3
4
|
List,
|
|
4
5
|
)
|
|
@@ -30,6 +31,10 @@ def check_mypy_run(
|
|
|
30
31
|
|
|
31
32
|
# The following tests all run code snippets through mypy that contain a
|
|
32
33
|
# `reveal_type` statement, and then match the mypy output against our expectations
|
|
34
|
+
@pytest.mark.skipif(
|
|
35
|
+
sys.platform.startswith("win"),
|
|
36
|
+
reason="This test's file path string matching doesn't work for Windows paths.",
|
|
37
|
+
)
|
|
33
38
|
@pytest.mark.parametrize(
|
|
34
39
|
"fixture,message",
|
|
35
40
|
(
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils/__json/eth_networks.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/faster_eth_utils.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/scripts/benchmark/compare_benchmark_results.py
RENAMED
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/scripts/benchmark/generate_benchmark_markdown.py
RENAMED
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/scripts/benchmark/parse_benchmark_output.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/address-utils/test_address_utils.py
RENAMED
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/applicator-utils/test_applicators.py
RENAMED
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/conversion-utils/test_conversions.py
RENAMED
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/currency-utils/test_currency_tools.py
RENAMED
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/currency-utils/test_denoms_obj.py
RENAMED
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/decorator-utils/test_combomethod.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/hexadecimal-utils/test_is_hex.py
RENAMED
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/hexadecimal-utils/test_is_hexstr.py
RENAMED
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/humanize-utils/test_humanize_bytes.py
RENAMED
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/humanize-utils/test_humanize_hash.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/humanize-utils/test_humanize_wei.py
RENAMED
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/logging-utils/test_DEBUG2_logging.py
RENAMED
|
File without changes
|
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/logging-utils/test_get_logger.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/network-utils/test_network_utils.py
RENAMED
|
File without changes
|
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/pydantic-utils/test_camel_model.py
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{faster_eth_utils-5.3.16 → faster_eth_utils-5.3.17}/tests/core/types-utils/test_types_utils.py
RENAMED
|
File without changes
|
|
File without changes
|