faster-hexbytes 1.3.4__tar.gz → 1.3.5__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 (24) hide show
  1. {faster_hexbytes-1.3.4/faster_hexbytes.egg-info → faster_hexbytes-1.3.5}/PKG-INFO +2 -3
  2. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/faster_hexbytes/main.py +1 -3
  3. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5/faster_hexbytes.egg-info}/PKG-INFO +2 -3
  4. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/faster_hexbytes.egg-info/requires.txt +1 -1
  5. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/pyproject.toml +2 -2
  6. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/setup.py +2 -3
  7. faster_hexbytes-1.3.5/tests/core/test_import_and_version.py +20 -0
  8. faster_hexbytes-1.3.4/tests/core/test_import_and_version.py +0 -4
  9. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/LICENSE +0 -0
  10. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/MANIFEST.in +0 -0
  11. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/README.md +0 -0
  12. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/faster_hexbytes/__init__.py +0 -0
  13. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/faster_hexbytes/_utils.py +0 -0
  14. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/faster_hexbytes/py.typed +0 -0
  15. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/faster_hexbytes.egg-info/SOURCES.txt +0 -0
  16. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/faster_hexbytes.egg-info/dependency_links.txt +0 -0
  17. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/faster_hexbytes.egg-info/not-zip-safe +0 -0
  18. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/faster_hexbytes.egg-info/top_level.txt +0 -0
  19. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/scripts/benchmark/compare_benchmark_results.py +0 -0
  20. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/scripts/benchmark/generate_benchmark_markdown.py +0 -0
  21. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/scripts/benchmark/parse_benchmark_output.py +0 -0
  22. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/scripts/release/test_package.py +0 -0
  23. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/setup.cfg +0 -0
  24. {faster_hexbytes-1.3.4 → faster_hexbytes-1.3.5}/tests/core/test_hexbytes.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: faster_hexbytes
3
- Version: 1.3.4
3
+ Version: 1.3.5
4
4
  Summary: A faster fork of hexbytes: Python `bytes` subclass that decodes hex, with a readable console output. Implemented in C.
5
5
  Home-page: https://github.com/BobTheBuidler/faster-hexbytes
6
6
  Author: The Ethereum Foundation
@@ -20,7 +20,6 @@ Classifier: Intended Audience :: Developers
20
20
  Classifier: License :: OSI Approved :: MIT License
21
21
  Classifier: Natural Language :: English
22
22
  Classifier: Programming Language :: Python :: 3
23
- Classifier: Programming Language :: Python :: 3.8
24
23
  Classifier: Programming Language :: Python :: 3.9
25
24
  Classifier: Programming Language :: Python :: 3.10
26
25
  Classifier: Programming Language :: Python :: 3.11
@@ -37,7 +36,7 @@ Provides-Extra: dev
37
36
  Requires-Dist: build>=0.9.0; extra == "dev"
38
37
  Requires-Dist: bump_my_version>=0.19.0; extra == "dev"
39
38
  Requires-Dist: ipython; extra == "dev"
40
- Requires-Dist: mypy==1.10.0; extra == "dev"
39
+ Requires-Dist: mypy==1.19.1; extra == "dev"
41
40
  Requires-Dist: pre-commit>=3.4.0; extra == "dev"
42
41
  Requires-Dist: tox>=4.0.0; extra == "dev"
43
42
  Requires-Dist: twine; extra == "dev"
@@ -2,8 +2,6 @@ from typing import (
2
2
  TYPE_CHECKING,
3
3
  Callable,
4
4
  Final,
5
- Tuple,
6
- Type,
7
5
  Union,
8
6
  overload,
9
7
  )
@@ -81,7 +79,7 @@ class HexBytes(hexbytes.HexBytes):
81
79
 
82
80
  def __reduce__(
83
81
  self,
84
- ) -> Tuple[Callable[..., bytes], Tuple[Type["HexBytes"], bytes]]:
82
+ ) -> tuple[Callable[..., bytes], tuple[type["HexBytes"], bytes]]:
85
83
  """
86
84
  An optimized ``__reduce__`` that bypasses the input validation in
87
85
  ``HexBytes.__new__`` since an existing HexBytes instance has already been
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: faster_hexbytes
3
- Version: 1.3.4
3
+ Version: 1.3.5
4
4
  Summary: A faster fork of hexbytes: Python `bytes` subclass that decodes hex, with a readable console output. Implemented in C.
5
5
  Home-page: https://github.com/BobTheBuidler/faster-hexbytes
6
6
  Author: The Ethereum Foundation
@@ -20,7 +20,6 @@ Classifier: Intended Audience :: Developers
20
20
  Classifier: License :: OSI Approved :: MIT License
21
21
  Classifier: Natural Language :: English
22
22
  Classifier: Programming Language :: Python :: 3
23
- Classifier: Programming Language :: Python :: 3.8
24
23
  Classifier: Programming Language :: Python :: 3.9
25
24
  Classifier: Programming Language :: Python :: 3.10
26
25
  Classifier: Programming Language :: Python :: 3.11
@@ -37,7 +36,7 @@ Provides-Extra: dev
37
36
  Requires-Dist: build>=0.9.0; extra == "dev"
38
37
  Requires-Dist: bump_my_version>=0.19.0; extra == "dev"
39
38
  Requires-Dist: ipython; extra == "dev"
40
- Requires-Dist: mypy==1.10.0; extra == "dev"
39
+ Requires-Dist: mypy==1.19.1; extra == "dev"
41
40
  Requires-Dist: pre-commit>=3.4.0; extra == "dev"
42
41
  Requires-Dist: tox>=4.0.0; extra == "dev"
43
42
  Requires-Dist: twine; extra == "dev"
@@ -15,7 +15,7 @@ eth-typing
15
15
  build>=0.9.0
16
16
  bump_my_version>=0.19.0
17
17
  ipython
18
- mypy==1.10.0
18
+ mypy==1.19.1
19
19
  pre-commit>=3.4.0
20
20
  tox>=4.0.0
21
21
  twine
@@ -1,5 +1,5 @@
1
1
  [build-system]
2
- requires = ["setuptools", "wheel", "mypy[mypyc]==1.19.0", "hexbytes==1.3.1"]
2
+ requires = ["setuptools", "wheel", "mypy[mypyc]==1.19.1", "hexbytes==1.3.1"]
3
3
  build-backend = "setuptools.build_meta"
4
4
 
5
5
  [tool.autoflake]
@@ -129,7 +129,7 @@ name = "Removals"
129
129
  showcontent = true
130
130
 
131
131
  [tool.bumpversion]
132
- current_version = "1.3.4"
132
+ current_version = "1.3.5"
133
133
  parse = """
134
134
  (?P<major>\\d+)
135
135
  \\.(?P<minor>\\d+)
@@ -7,7 +7,7 @@ from setuptools import (
7
7
  from mypyc.build import mypycify
8
8
 
9
9
 
10
- version = "1.3.4"
10
+ version = "1.3.5"
11
11
  hexbytes_version = "1.3.1"
12
12
 
13
13
  extras_require = {
@@ -15,7 +15,7 @@ extras_require = {
15
15
  "build>=0.9.0",
16
16
  "bump_my_version>=0.19.0",
17
17
  "ipython",
18
- "mypy==1.10.0",
18
+ "mypy==1.19.1",
19
19
  "pre-commit>=3.4.0",
20
20
  "tox>=4.0.0",
21
21
  "twine",
@@ -119,7 +119,6 @@ setup(
119
119
  "License :: OSI Approved :: MIT License",
120
120
  "Natural Language :: English",
121
121
  "Programming Language :: Python :: 3",
122
- "Programming Language :: Python :: 3.8",
123
122
  "Programming Language :: Python :: 3.9",
124
123
  "Programming Language :: Python :: 3.10",
125
124
  "Programming Language :: Python :: 3.11",
@@ -0,0 +1,20 @@
1
+ def test_import_and_version():
2
+ import faster_hexbytes
3
+
4
+ assert isinstance(faster_hexbytes.__version__, str)
5
+
6
+
7
+ def test_compiled_extension_loaded():
8
+ import importlib.machinery
9
+ import sys
10
+
11
+ import faster_hexbytes.main as main
12
+
13
+ module_path = main.__file__
14
+ assert module_path is not None
15
+ assert any(
16
+ module_path.endswith(suffix)
17
+ for suffix in importlib.machinery.EXTENSION_SUFFIXES
18
+ ), f"Expected compiled extension module, got {module_path!r}"
19
+
20
+ assert "faster_hexbytes__mypyc" in sys.modules
@@ -1,4 +0,0 @@
1
- def test_import_and_version():
2
- import faster_hexbytes
3
-
4
- assert isinstance(faster_hexbytes.__version__, str)
File without changes