py-geth 5.2.0__tar.gz → 5.2.1__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 (60) hide show
  1. {py_geth-5.2.0/py_geth.egg-info → py_geth-5.2.1}/PKG-INFO +5 -5
  2. {py_geth-5.2.0 → py_geth-5.2.1}/README.md +4 -4
  3. {py_geth-5.2.0 → py_geth-5.2.1}/geth/install.py +4 -0
  4. {py_geth-5.2.0 → py_geth-5.2.1}/geth/types.py +1 -0
  5. {py_geth-5.2.0 → py_geth-5.2.1}/geth/utils/validation.py +1 -0
  6. {py_geth-5.2.0 → py_geth-5.2.1}/geth/wrapper.py +3 -0
  7. {py_geth-5.2.0 → py_geth-5.2.1/py_geth.egg-info}/PKG-INFO +5 -5
  8. {py_geth-5.2.0 → py_geth-5.2.1}/pyproject.toml +1 -1
  9. {py_geth-5.2.0 → py_geth-5.2.1}/setup.py +1 -1
  10. {py_geth-5.2.0 → py_geth-5.2.1}/LICENSE +0 -0
  11. {py_geth-5.2.0 → py_geth-5.2.1}/MANIFEST.in +0 -0
  12. {py_geth-5.2.0 → py_geth-5.2.1}/geth/__init__.py +0 -0
  13. {py_geth-5.2.0 → py_geth-5.2.1}/geth/accounts.py +0 -0
  14. {py_geth-5.2.0 → py_geth-5.2.1}/geth/chain.py +0 -0
  15. {py_geth-5.2.0 → py_geth-5.2.1}/geth/default_blockchain_password +0 -0
  16. {py_geth-5.2.0 → py_geth-5.2.1}/geth/exceptions.py +0 -0
  17. {py_geth-5.2.0 → py_geth-5.2.1}/geth/genesis.json +0 -0
  18. {py_geth-5.2.0 → py_geth-5.2.1}/geth/main.py +0 -0
  19. {py_geth-5.2.0 → py_geth-5.2.1}/geth/mixins.py +0 -0
  20. {py_geth-5.2.0 → py_geth-5.2.1}/geth/process.py +0 -0
  21. {py_geth-5.2.0 → py_geth-5.2.1}/geth/py.typed +0 -0
  22. {py_geth-5.2.0 → py_geth-5.2.1}/geth/reset.py +0 -0
  23. {py_geth-5.2.0 → py_geth-5.2.1}/geth/utils/__init__.py +0 -0
  24. {py_geth-5.2.0 → py_geth-5.2.1}/geth/utils/encoding.py +0 -0
  25. {py_geth-5.2.0 → py_geth-5.2.1}/geth/utils/filesystem.py +0 -0
  26. {py_geth-5.2.0 → py_geth-5.2.1}/geth/utils/networking.py +0 -0
  27. {py_geth-5.2.0 → py_geth-5.2.1}/geth/utils/proc.py +0 -0
  28. {py_geth-5.2.0 → py_geth-5.2.1}/geth/utils/thread.py +0 -0
  29. {py_geth-5.2.0 → py_geth-5.2.1}/geth/utils/timeout.py +0 -0
  30. {py_geth-5.2.0 → py_geth-5.2.1}/py_geth.egg-info/SOURCES.txt +0 -0
  31. {py_geth-5.2.0 → py_geth-5.2.1}/py_geth.egg-info/dependency_links.txt +0 -0
  32. {py_geth-5.2.0 → py_geth-5.2.1}/py_geth.egg-info/not-zip-safe +0 -0
  33. {py_geth-5.2.0 → py_geth-5.2.1}/py_geth.egg-info/requires.txt +0 -0
  34. {py_geth-5.2.0 → py_geth-5.2.1}/py_geth.egg-info/top_level.txt +0 -0
  35. {py_geth-5.2.0 → py_geth-5.2.1}/scripts/release/test_package.py +0 -0
  36. {py_geth-5.2.0 → py_geth-5.2.1}/setup.cfg +0 -0
  37. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/accounts/conftest.py +0 -0
  38. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/accounts/projects/test-01/keystore/UTC--2015-08-24T21-30-14.222885490Z--ae71658b3ab452f7e4f03bda6f777b860b2e2ff2 +0 -0
  39. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/accounts/projects/test-02/keystore/UTC--2015-08-24T21-30-14.222885490Z--ae71658b3ab452f7e4f03bda6f777b860b2e2ff2 +0 -0
  40. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/accounts/projects/test-02/keystore/UTC--2015-08-24T21-32-00.716418819Z--e8e085862a8d951dd78ec5ea784b3e22ee1ca9c6 +0 -0
  41. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/accounts/projects/test-02/keystore/UTC--2015-08-24T21-32-04.748321142Z--0da70f43a568e88168436be52ed129f4a9bbdaf5 +0 -0
  42. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/accounts/test_account_list_parsing.py +0 -0
  43. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/accounts/test_create_geth_account.py +0 -0
  44. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/accounts/test_geth_accounts.py +0 -0
  45. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/running/test_running_dev_chain.py +0 -0
  46. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/running/test_running_mainnet_chain.py +0 -0
  47. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/running/test_running_sepolia_chain.py +0 -0
  48. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/running/test_running_with_logging.py +0 -0
  49. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/running/test_use_as_a_context_manager.py +0 -0
  50. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/test_import_and_version.py +0 -0
  51. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/test_library_files.py +0 -0
  52. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/utility/test_constructing_test_chain_kwargs.py +0 -0
  53. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/utility/test_geth_version.py +0 -0
  54. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/utility/test_is_live_chain.py +0 -0
  55. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/utility/test_is_sepolia_chain.py +0 -0
  56. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/utility/test_validation.py +0 -0
  57. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/waiting/conftest.py +0 -0
  58. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/waiting/test_waiting_for_ipc_socket.py +0 -0
  59. {py_geth-5.2.0 → py_geth-5.2.1}/tests/core/waiting/test_waiting_for_rpc_connection.py +0 -0
  60. {py_geth-5.2.0 → py_geth-5.2.1}/tests/installation/test_geth_installation.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: py-geth
3
- Version: 5.2.0
3
+ Version: 5.2.1
4
4
  Summary: py-geth: Run Go-Ethereum as a subprocess
5
5
  Home-page: https://github.com/ethereum/py-geth
6
6
  Author: The Ethereum Foundation
@@ -177,19 +177,19 @@ the current list of supported versions.
177
177
  Installation can be done via the command line:
178
178
 
179
179
  ```bash
180
- $ python -m geth.install v1.14.12
180
+ $ python -m geth.install v1.14.13
181
181
  ```
182
182
 
183
183
  Or from python using the `install_geth` function.
184
184
 
185
185
  ```python
186
186
  >>> from geth import install_geth
187
- >>> install_geth('v1.14.12')
187
+ >>> install_geth('v1.14.13')
188
188
  ```
189
189
 
190
190
  The installed binary can be found in the `$HOME/.py-geth` directory, under your
191
- home directory. The `v1.14.12` binary would be located at
192
- `$HOME/.py-geth/geth-v1.14.12/bin/geth`.
191
+ home directory. The `v1.14.13` binary would be located at
192
+ `$HOME/.py-geth/geth-v1.14.13/bin/geth`.
193
193
 
194
194
  ## About `DevGethProcess`
195
195
 
@@ -116,19 +116,19 @@ the current list of supported versions.
116
116
  Installation can be done via the command line:
117
117
 
118
118
  ```bash
119
- $ python -m geth.install v1.14.12
119
+ $ python -m geth.install v1.14.13
120
120
  ```
121
121
 
122
122
  Or from python using the `install_geth` function.
123
123
 
124
124
  ```python
125
125
  >>> from geth import install_geth
126
- >>> install_geth('v1.14.12')
126
+ >>> install_geth('v1.14.13')
127
127
  ```
128
128
 
129
129
  The installed binary can be found in the `$HOME/.py-geth` directory, under your
130
- home directory. The `v1.14.12` binary would be located at
131
- `$HOME/.py-geth/geth-v1.14.12/bin/geth`.
130
+ home directory. The `v1.14.13` binary would be located at
131
+ `$HOME/.py-geth/geth-v1.14.13/bin/geth`.
132
132
 
133
133
  ## About `DevGethProcess`
134
134
 
@@ -46,6 +46,7 @@ V1_14_9 = "v1.14.9"
46
46
  V1_14_10 = "v1.14.10"
47
47
  V1_14_11 = "v1.14.11"
48
48
  V1_14_12 = "v1.14.12"
49
+ V1_14_13 = "v1.14.13"
49
50
 
50
51
 
51
52
  LINUX = "linux"
@@ -341,6 +342,7 @@ install_v1_14_9 = functools.partial(install_from_source_code_release, V1_14_9)
341
342
  install_v1_14_10 = functools.partial(install_from_source_code_release, V1_14_10)
342
343
  install_v1_14_11 = functools.partial(install_from_source_code_release, V1_14_11)
343
344
  install_v1_14_12 = functools.partial(install_from_source_code_release, V1_14_12)
345
+ install_v1_14_13 = functools.partial(install_from_source_code_release, V1_14_13)
344
346
 
345
347
  INSTALL_FUNCTIONS = {
346
348
  LINUX: {
@@ -356,6 +358,7 @@ INSTALL_FUNCTIONS = {
356
358
  V1_14_10: install_v1_14_10,
357
359
  V1_14_11: install_v1_14_11,
358
360
  V1_14_12: install_v1_14_12,
361
+ V1_14_13: install_v1_14_13,
359
362
  },
360
363
  OSX: {
361
364
  V1_14_0: install_v1_14_0,
@@ -370,6 +373,7 @@ INSTALL_FUNCTIONS = {
370
373
  V1_14_10: install_v1_14_10,
371
374
  V1_14_11: install_v1_14_11,
372
375
  V1_14_12: install_v1_14_12,
376
+ V1_14_13: install_v1_14_13,
373
377
  },
374
378
  }
375
379
 
@@ -17,6 +17,7 @@ class GethKwargsTypedDict(TypedDict, total=False):
17
17
  cache: str | None
18
18
  data_dir: str | None
19
19
  dev_mode: bool | None
20
+ dev_period: str | None
20
21
  gcmode: Literal["full", "archive"] | None
21
22
  geth_executable: str | None
22
23
  ipc_disable: bool | None
@@ -26,6 +26,7 @@ class GethKwargs(BaseModel):
26
26
  cache: str | None = None
27
27
  data_dir: str | None = None
28
28
  dev_mode: bool | None = False
29
+ dev_period: str | None = None
29
30
  gcmode: Literal["full", "archive"] | None = None
30
31
  geth_executable: str | None = None
31
32
  ipc_disable: bool | None = None
@@ -153,6 +153,9 @@ def construct_popen_command(**geth_kwargs: Unpack[GethKwargsTypedDict]) -> list[
153
153
  if gk.dev_mode:
154
154
  builder.append("--dev")
155
155
 
156
+ if gk.dev_period is not None:
157
+ builder.extend(("--dev.period", gk.dev_period))
158
+
156
159
  if gk.rpc_enabled:
157
160
  builder.append("--http")
158
161
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.2
2
2
  Name: py-geth
3
- Version: 5.2.0
3
+ Version: 5.2.1
4
4
  Summary: py-geth: Run Go-Ethereum as a subprocess
5
5
  Home-page: https://github.com/ethereum/py-geth
6
6
  Author: The Ethereum Foundation
@@ -177,19 +177,19 @@ the current list of supported versions.
177
177
  Installation can be done via the command line:
178
178
 
179
179
  ```bash
180
- $ python -m geth.install v1.14.12
180
+ $ python -m geth.install v1.14.13
181
181
  ```
182
182
 
183
183
  Or from python using the `install_geth` function.
184
184
 
185
185
  ```python
186
186
  >>> from geth import install_geth
187
- >>> install_geth('v1.14.12')
187
+ >>> install_geth('v1.14.13')
188
188
  ```
189
189
 
190
190
  The installed binary can be found in the `$HOME/.py-geth` directory, under your
191
- home directory. The `v1.14.12` binary would be located at
192
- `$HOME/.py-geth/geth-v1.14.12/bin/geth`.
191
+ home directory. The `v1.14.13` binary would be located at
192
+ `$HOME/.py-geth/geth-v1.14.13/bin/geth`.
193
193
 
194
194
  ## About `DevGethProcess`
195
195
 
@@ -125,7 +125,7 @@ name = "Removals"
125
125
  showcontent = true
126
126
 
127
127
  [tool.bumpversion]
128
- current_version = "5.2.0"
128
+ current_version = "5.2.1"
129
129
  parse = """
130
130
  (?P<major>\\d+)
131
131
  \\.(?P<minor>\\d+)
@@ -37,7 +37,7 @@ with open("./README.md") as readme:
37
37
  setup(
38
38
  name="py-geth",
39
39
  # *IMPORTANT*: Don't manually change the version here. Use the 'bump-my-version' utility.
40
- version="5.2.0",
40
+ version="5.2.1",
41
41
  description="""py-geth: Run Go-Ethereum as a subprocess""",
42
42
  long_description_content_type="text/markdown",
43
43
  long_description=long_description,
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