faster-eth-utils 5.3.24__tar.gz → 5.3.26__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.
Files changed (89) hide show
  1. {faster_eth_utils-5.3.24/faster_eth_utils.egg-info → faster_eth_utils-5.3.26}/PKG-INFO +8 -7
  2. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/abi.py +3 -8
  3. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/humanize.py +4 -1
  4. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/logging.py +4 -6
  5. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26/faster_eth_utils.egg-info}/PKG-INFO +8 -7
  6. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils.egg-info/requires.txt +6 -5
  7. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/pyproject.toml +3 -3
  8. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/requirements-codspeed.txt +1 -1
  9. faster_eth_utils-5.3.26/requirements-mypy.txt +1 -0
  10. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/setup.py +4 -3
  11. faster_eth_utils-5.3.24/requirements-mypy.txt +0 -1
  12. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/LICENSE +0 -0
  13. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/MANIFEST.in +0 -0
  14. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/README.md +0 -0
  15. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/__init__.py +0 -0
  16. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/__json/eth_networks.json +0 -0
  17. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/__main__.py +0 -0
  18. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/address.py +0 -0
  19. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/applicators.py +0 -0
  20. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/conversions.py +0 -0
  21. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/crypto.py +0 -0
  22. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/currency.py +0 -0
  23. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/curried/__init__.py +0 -0
  24. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/debug.py +0 -0
  25. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/decorators.py +0 -0
  26. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/encoding.py +0 -0
  27. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/exceptions.py +0 -0
  28. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/functional.py +0 -0
  29. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/hexadecimal.py +0 -0
  30. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/module_loading.py +0 -0
  31. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/network.py +0 -0
  32. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/numeric.py +0 -0
  33. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/py.typed +0 -0
  34. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/pydantic.py +0 -0
  35. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/toolz.py +0 -0
  36. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/types.py +0 -0
  37. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/typing/__init__.py +0 -0
  38. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/typing/misc.py +0 -0
  39. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils/units.py +0 -0
  40. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils.egg-info/SOURCES.txt +0 -0
  41. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils.egg-info/dependency_links.txt +0 -0
  42. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils.egg-info/not-zip-safe +0 -0
  43. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/faster_eth_utils.egg-info/top_level.txt +0 -0
  44. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/requirements-benchmark.txt +0 -0
  45. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/requirements-dev.txt +0 -0
  46. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/requirements-pytest.txt +0 -0
  47. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/requirements-test.txt +0 -0
  48. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/scripts/benchmark/compare_benchmark_results.py +0 -0
  49. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/scripts/benchmark/generate_benchmark_markdown.py +0 -0
  50. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/scripts/benchmark/parse_benchmark_output.py +0 -0
  51. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/scripts/release/test_package.py +0 -0
  52. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/setup.cfg +0 -0
  53. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/abi-utils/test_abi_utils.py +0 -0
  54. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/address-utils/test_address_utils.py +0 -0
  55. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/applicator-utils/test_applicators.py +0 -0
  56. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/conversion-utils/test_conversions.py +0 -0
  57. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/currency-utils/test_currency_tools.py +0 -0
  58. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/currency-utils/test_denoms_obj.py +0 -0
  59. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/curried-utils/test_curried.py +0 -0
  60. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/decorator-utils/test_combomethod.py +0 -0
  61. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/decorator-utils/test_replace_exceptions.py +0 -0
  62. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/encoding-utils/test_big_endian_integer.py +0 -0
  63. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/functional-utils/test_return_value_decorators.py +0 -0
  64. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/functional-utils/test_type_inference.py +0 -0
  65. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/hexadecimal-utils/test_0x_prefix_addition_and_removal.py +0 -0
  66. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/hexadecimal-utils/test_is_0x_prefixed.py +0 -0
  67. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/hexadecimal-utils/test_is_hex.py +0 -0
  68. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/hexadecimal-utils/test_is_hexstr.py +0 -0
  69. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/humanize-utils/test_humanize_bytes.py +0 -0
  70. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/humanize-utils/test_humanize_hash.py +0 -0
  71. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/humanize-utils/test_humanize_hexstr.py +0 -0
  72. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/humanize-utils/test_humanize_integer_sequence.py +0 -0
  73. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/humanize-utils/test_humanize_ipfs_uri.py +0 -0
  74. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/humanize-utils/test_humanize_seconds.py +0 -0
  75. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/humanize-utils/test_humanize_wei.py +0 -0
  76. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/logging-utils/test_DEBUG2_logging.py +0 -0
  77. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/logging-utils/test_compat_with_abc_ABC.py +0 -0
  78. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/logging-utils/test_get_logger.py +0 -0
  79. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/logging-utils/test_has_logger_metaclass.py +0 -0
  80. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/module-loading-utils/test_import_string.py +0 -0
  81. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/network-utils/test_network_utils.py +0 -0
  82. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/numeric-utils/test_clamp.py +0 -0
  83. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/pydantic-utils/test_camel_model.py +0 -0
  84. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/test_import_and_version.py +0 -0
  85. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/type-checks/mypy_typing_of_curried_utils.py +0 -0
  86. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/type-checks/mypy_typing_of_functional_utils.py +0 -0
  87. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/type-checks/mypy_typing_of_has_logger.py +0 -0
  88. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/tests/core/types-utils/test_types_utils.py +0 -0
  89. {faster_eth_utils-5.3.24 → faster_eth_utils-5.3.26}/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.24
3
+ Version: 5.3.26
4
4
  Summary: A faster 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
@@ -27,10 +27,11 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
27
27
  Requires-Python: >=3.10, <4
28
28
  Description-Content-Type: text/markdown
29
29
  License-File: LICENSE
30
- Requires-Dist: cchecksum==0.4.1
30
+ Requires-Dist: cchecksum==0.4.3
31
31
  Requires-Dist: eth-hash>=0.3.1
32
32
  Requires-Dist: eth-typing==5.2.1
33
33
  Requires-Dist: eth-utils==5.3.1
34
+ Requires-Dist: mypy-extensions>=0.4.2
34
35
  Requires-Dist: toolz>0.8.2; implementation_name == "pypy"
35
36
  Requires-Dist: cytoolz>=0.10.1; implementation_name == "cpython"
36
37
  Requires-Dist: pydantic<3,>=2.0.0
@@ -39,7 +40,7 @@ Requires-Dist: build>=0.9.0; extra == "dev"
39
40
  Requires-Dist: bump_my_version>=0.19.0; extra == "dev"
40
41
  Requires-Dist: eth-hash[pycryptodome]; extra == "dev"
41
42
  Requires-Dist: ipython; extra == "dev"
42
- Requires-Dist: mypy[mypyc]<1.20,>=1.14.1; extra == "dev"
43
+ Requires-Dist: mypy[mypyc]<1.21,>=1.20; extra == "dev"
43
44
  Requires-Dist: pre-commit>=3.4.0; extra == "dev"
44
45
  Requires-Dist: tox>=4.0.0; extra == "dev"
45
46
  Requires-Dist: twine; extra == "dev"
@@ -49,7 +50,7 @@ Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "dev"
49
50
  Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "dev"
50
51
  Requires-Dist: towncrier<26,>=24; extra == "dev"
51
52
  Requires-Dist: hypothesis>=4.43.0; extra == "dev"
52
- Requires-Dist: mypy[mypyc]<1.20,>=1.14.1; extra == "dev"
53
+ Requires-Dist: mypy[mypyc]<1.21,>=1.20; extra == "dev"
53
54
  Requires-Dist: pytest-xdist>=2.4.0; extra == "dev"
54
55
  Requires-Dist: pytest>=7.0.0; extra == "dev"
55
56
  Provides-Extra: docs
@@ -59,17 +60,17 @@ Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "docs"
59
60
  Requires-Dist: towncrier<26,>=24; extra == "docs"
60
61
  Provides-Extra: test
61
62
  Requires-Dist: hypothesis>=4.43.0; extra == "test"
62
- Requires-Dist: mypy[mypyc]<1.20,>=1.14.1; extra == "test"
63
+ Requires-Dist: mypy[mypyc]<1.21,>=1.20; extra == "test"
63
64
  Requires-Dist: pytest-xdist>=2.4.0; extra == "test"
64
65
  Requires-Dist: pytest>=7.0.0; extra == "test"
65
66
  Provides-Extra: codspeed
66
- Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "codspeed"
67
+ Requires-Dist: pytest-codspeed<4.4,>=4.3; extra == "codspeed"
67
68
  Requires-Dist: pytest-test-groups; extra == "codspeed"
68
69
  Requires-Dist: pytest>=7.0.0; extra == "codspeed"
69
70
  Provides-Extra: benchmark
70
71
  Requires-Dist: eth-utils==5.3.1; extra == "benchmark"
71
72
  Requires-Dist: pytest-benchmark<5.3,>=5.2; extra == "benchmark"
72
- Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "benchmark"
73
+ Requires-Dist: pytest-codspeed<4.4,>=4.3; extra == "benchmark"
73
74
  Requires-Dist: pytest-test-groups; extra == "benchmark"
74
75
  Requires-Dist: pytest>=7.0.0; extra == "benchmark"
75
76
  Dynamic: author
@@ -525,7 +525,6 @@ def get_normalized_abi_inputs(
525
525
 
526
526
  kwarg_names = set(kwargs.keys())
527
527
  sorted_arg_names = tuple(arg_abi["name"] for arg_abi in function_inputs)
528
- arg_positions = {name: index for index, name in enumerate(sorted_arg_names)}
529
528
  args_as_kwargs = dict(zip(sorted_arg_names, args))
530
529
 
531
530
  # Check for duplicate args
@@ -549,13 +548,9 @@ def get_normalized_abi_inputs(
549
548
  )
550
549
  )
551
550
 
552
- # Sort args according to their position in the ABI and unzip them from their
553
- # names
554
- sorted_items = sorted(
555
- _chain(kwargs.items(), args_as_kwargs.items()),
556
- key=lambda kv: arg_positions[kv[0]],
557
- )
558
- return tuple(val for _, val in sorted_items)
551
+ # Align args according to their position in the ABI.
552
+ args_as_kwargs.update(kwargs)
553
+ return tuple(args_as_kwargs[name] for name in sorted_arg_names)
559
554
 
560
555
 
561
556
  def get_aligned_abi_inputs(
@@ -1,3 +1,4 @@
1
+ import itertools
1
2
  from collections.abc import (
2
3
  Iterable,
3
4
  Iterator,
@@ -22,6 +23,8 @@ from faster_eth_utils.currency import (
22
23
 
23
24
  from . import toolz
24
25
 
26
+ islice: Final = itertools.islice
27
+
25
28
 
26
29
  def humanize_seconds(seconds: float | int) -> str:
27
30
  seconds_int = int(seconds)
@@ -30,7 +33,7 @@ def humanize_seconds(seconds: float | int) -> str:
30
33
 
31
34
  unit_values = _consume_leading_zero_units(_humanize_seconds(seconds_int))
32
35
 
33
- return "".join(f"{amount}{unit}" for amount, unit in toolz.take(3, unit_values))
36
+ return "".join(f"{amount}{unit}" for amount, unit in islice(unit_values, 3))
34
37
 
35
38
 
36
39
  SECOND: Final = 1
@@ -16,11 +16,7 @@ from typing import (
16
16
  overload,
17
17
  )
18
18
 
19
- from .toolz import (
20
- assoc,
21
- )
22
-
23
- DEBUG2_LEVEL_NUM = 8
19
+ DEBUG2_LEVEL_NUM: Final = 8
24
20
 
25
21
  TLogger = TypeVar("TLogger", bound=logging.Logger)
26
22
 
@@ -126,7 +122,9 @@ class HasLoggerMeta(type):
126
122
 
127
123
  logger = get_logger(namespace["__qualname__"], mcls.logger_class)
128
124
 
129
- return super().__new__(mcls, name, bases, assoc(namespace, "logger", logger))
125
+ modified_namespace = namespace.copy()
126
+ modified_namespace["logger"] = logger
127
+ return super().__new__(mcls, name, bases, modified_namespace)
130
128
 
131
129
  @classmethod
132
130
  def replace_logger_class(
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: faster-eth-utils
3
- Version: 5.3.24
3
+ Version: 5.3.26
4
4
  Summary: A faster 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
@@ -27,10 +27,11 @@ Classifier: Programming Language :: Python :: Implementation :: CPython
27
27
  Requires-Python: >=3.10, <4
28
28
  Description-Content-Type: text/markdown
29
29
  License-File: LICENSE
30
- Requires-Dist: cchecksum==0.4.1
30
+ Requires-Dist: cchecksum==0.4.3
31
31
  Requires-Dist: eth-hash>=0.3.1
32
32
  Requires-Dist: eth-typing==5.2.1
33
33
  Requires-Dist: eth-utils==5.3.1
34
+ Requires-Dist: mypy-extensions>=0.4.2
34
35
  Requires-Dist: toolz>0.8.2; implementation_name == "pypy"
35
36
  Requires-Dist: cytoolz>=0.10.1; implementation_name == "cpython"
36
37
  Requires-Dist: pydantic<3,>=2.0.0
@@ -39,7 +40,7 @@ Requires-Dist: build>=0.9.0; extra == "dev"
39
40
  Requires-Dist: bump_my_version>=0.19.0; extra == "dev"
40
41
  Requires-Dist: eth-hash[pycryptodome]; extra == "dev"
41
42
  Requires-Dist: ipython; extra == "dev"
42
- Requires-Dist: mypy[mypyc]<1.20,>=1.14.1; extra == "dev"
43
+ Requires-Dist: mypy[mypyc]<1.21,>=1.20; extra == "dev"
43
44
  Requires-Dist: pre-commit>=3.4.0; extra == "dev"
44
45
  Requires-Dist: tox>=4.0.0; extra == "dev"
45
46
  Requires-Dist: twine; extra == "dev"
@@ -49,7 +50,7 @@ Requires-Dist: sphinx-autobuild>=2021.3.14; extra == "dev"
49
50
  Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "dev"
50
51
  Requires-Dist: towncrier<26,>=24; extra == "dev"
51
52
  Requires-Dist: hypothesis>=4.43.0; extra == "dev"
52
- Requires-Dist: mypy[mypyc]<1.20,>=1.14.1; extra == "dev"
53
+ Requires-Dist: mypy[mypyc]<1.21,>=1.20; extra == "dev"
53
54
  Requires-Dist: pytest-xdist>=2.4.0; extra == "dev"
54
55
  Requires-Dist: pytest>=7.0.0; extra == "dev"
55
56
  Provides-Extra: docs
@@ -59,17 +60,17 @@ Requires-Dist: sphinx_rtd_theme>=1.0.0; extra == "docs"
59
60
  Requires-Dist: towncrier<26,>=24; extra == "docs"
60
61
  Provides-Extra: test
61
62
  Requires-Dist: hypothesis>=4.43.0; extra == "test"
62
- Requires-Dist: mypy[mypyc]<1.20,>=1.14.1; extra == "test"
63
+ Requires-Dist: mypy[mypyc]<1.21,>=1.20; extra == "test"
63
64
  Requires-Dist: pytest-xdist>=2.4.0; extra == "test"
64
65
  Requires-Dist: pytest>=7.0.0; extra == "test"
65
66
  Provides-Extra: codspeed
66
- Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "codspeed"
67
+ Requires-Dist: pytest-codspeed<4.4,>=4.3; extra == "codspeed"
67
68
  Requires-Dist: pytest-test-groups; extra == "codspeed"
68
69
  Requires-Dist: pytest>=7.0.0; extra == "codspeed"
69
70
  Provides-Extra: benchmark
70
71
  Requires-Dist: eth-utils==5.3.1; extra == "benchmark"
71
72
  Requires-Dist: pytest-benchmark<5.3,>=5.2; extra == "benchmark"
72
- Requires-Dist: pytest-codspeed<4.3,>=4.2; extra == "benchmark"
73
+ Requires-Dist: pytest-codspeed<4.4,>=4.3; extra == "benchmark"
73
74
  Requires-Dist: pytest-test-groups; extra == "benchmark"
74
75
  Requires-Dist: pytest>=7.0.0; extra == "benchmark"
75
76
  Dynamic: author
@@ -1,7 +1,8 @@
1
- cchecksum==0.4.1
1
+ cchecksum==0.4.3
2
2
  eth-hash>=0.3.1
3
3
  eth-typing==5.2.1
4
4
  eth-utils==5.3.1
5
+ mypy-extensions>=0.4.2
5
6
  pydantic<3,>=2.0.0
6
7
 
7
8
  [:implementation_name == "cpython"]
@@ -13,12 +14,12 @@ toolz>0.8.2
13
14
  [benchmark]
14
15
  eth-utils==5.3.1
15
16
  pytest-benchmark<5.3,>=5.2
16
- pytest-codspeed<4.3,>=4.2
17
+ pytest-codspeed<4.4,>=4.3
17
18
  pytest-test-groups
18
19
  pytest>=7.0.0
19
20
 
20
21
  [codspeed]
21
- pytest-codspeed<4.3,>=4.2
22
+ pytest-codspeed<4.4,>=4.3
22
23
  pytest-test-groups
23
24
  pytest>=7.0.0
24
25
 
@@ -27,7 +28,7 @@ build>=0.9.0
27
28
  bump_my_version>=0.19.0
28
29
  eth-hash[pycryptodome]
29
30
  ipython
30
- mypy[mypyc]<1.20,>=1.14.1
31
+ mypy[mypyc]<1.21,>=1.20
31
32
  pre-commit>=3.4.0
32
33
  tox>=4.0.0
33
34
  twine
@@ -48,6 +49,6 @@ towncrier<26,>=24
48
49
 
49
50
  [test]
50
51
  hypothesis>=4.43.0
51
- mypy[mypyc]<1.20,>=1.14.1
52
+ mypy[mypyc]<1.21,>=1.20
52
53
  pytest-xdist>=2.4.0
53
54
  pytest>=7.0.0
@@ -2,8 +2,8 @@
2
2
  requires = [
3
3
  "setuptools",
4
4
  "wheel",
5
- "mypy[mypyc]==1.19.1",
6
- "cchecksum==0.4.1",
5
+ "mypy[mypyc]==1.20.0",
6
+ "cchecksum==0.4.3",
7
7
  "eth-hash==0.7.1",
8
8
  "eth-typing==5.2.1",
9
9
  # puccinialin (installed with eth-utils) is unable to install for
@@ -139,7 +139,7 @@ name = "Removals"
139
139
  showcontent = true
140
140
 
141
141
  [tool.bumpversion]
142
- current_version = "5.3.24"
142
+ current_version = "5.3.26"
143
143
  parse = """
144
144
  (?P<major>\\d+)
145
145
  \\.(?P<minor>\\d+)
@@ -1,4 +1,4 @@
1
1
  -r requirements-pytest.txt
2
2
 
3
- pytest-codspeed>=4.2,<4.3
3
+ pytest-codspeed>=4.3,<4.4
4
4
  pytest-test-groups
@@ -0,0 +1 @@
1
+ mypy[mypyc]>=1.20,<1.21
@@ -15,7 +15,7 @@ else:
15
15
  for cmd in ("sdist", "egg_info", "--name", "--version", "--help", "--help-commands")
16
16
  )
17
17
 
18
- VERSION: Final = "5.3.24"
18
+ VERSION: Final = "5.3.26"
19
19
  DESCRIPTION: Final = "A faster fork of eth-utils: Common utility functions for python code that interacts with Ethereum. Implemented in C."
20
20
 
21
21
  ext_modules: list[Extension] = []
@@ -57,7 +57,7 @@ if not skip_mypyc:
57
57
  strict_dunder_typing=True,
58
58
  )
59
59
 
60
- MYPY_REQUIREMENT = "mypy==1.19.1"
60
+ MYPY_REQUIREMENT = "mypy==1.20.0"
61
61
  PYTEST_REQUIREMENT = "pytest>=7.0.0"
62
62
 
63
63
 
@@ -118,10 +118,11 @@ setup(
118
118
  },
119
119
  include_package_data=True,
120
120
  install_requires=[
121
- "cchecksum==0.4.1",
121
+ "cchecksum==0.4.3",
122
122
  "eth-hash>=0.3.1",
123
123
  "eth-typing==5.2.1",
124
124
  "eth-utils==5.3.1",
125
+ "mypy-extensions>=0.4.2",
125
126
  "toolz>0.8.2;implementation_name=='pypy'",
126
127
  "cytoolz>=0.10.1;implementation_name=='cpython'",
127
128
  "pydantic>=2.0.0,<3",
@@ -1 +0,0 @@
1
- mypy[mypyc]>=1.14.1,<1.20