py-geth 5.6.0__tar.gz → 6.0.0__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 (70) hide show
  1. {py_geth-5.6.0/py_geth.egg-info → py_geth-6.0.0}/PKG-INFO +7 -7
  2. {py_geth-5.6.0 → py_geth-6.0.0}/README.md +6 -6
  3. {py_geth-5.6.0 → py_geth-6.0.0}/geth/install.py +4 -0
  4. {py_geth-5.6.0 → py_geth-6.0.0}/geth/process.py +8 -0
  5. {py_geth-5.6.0 → py_geth-6.0.0/py_geth.egg-info}/PKG-INFO +7 -7
  6. {py_geth-5.6.0 → py_geth-6.0.0}/py_geth.egg-info/SOURCES.txt +1 -0
  7. {py_geth-5.6.0 → py_geth-6.0.0}/pyproject.toml +1 -1
  8. py_geth-6.0.0/scripts/.DS_Store +0 -0
  9. {py_geth-5.6.0 → py_geth-6.0.0}/setup.py +1 -1
  10. py_geth-6.0.0/tests/core/accounts/projects/test-01/geth/nodekey +1 -0
  11. py_geth-6.0.0/tests/core/accounts/projects/test-02/geth/nodekey +1 -0
  12. py_geth-6.0.0/tests/core/accounts/projects/test-03/geth/nodekey +1 -0
  13. py_geth-5.6.0/tests/core/accounts/projects/test-01/geth/nodekey +0 -1
  14. py_geth-5.6.0/tests/core/accounts/projects/test-02/geth/nodekey +0 -1
  15. py_geth-5.6.0/tests/core/accounts/projects/test-03/geth/nodekey +0 -1
  16. {py_geth-5.6.0 → py_geth-6.0.0}/LICENSE +0 -0
  17. {py_geth-5.6.0 → py_geth-6.0.0}/MANIFEST.in +0 -0
  18. {py_geth-5.6.0 → py_geth-6.0.0}/geth/__init__.py +0 -0
  19. {py_geth-5.6.0 → py_geth-6.0.0}/geth/accounts.py +0 -0
  20. {py_geth-5.6.0 → py_geth-6.0.0}/geth/chain.py +0 -0
  21. {py_geth-5.6.0 → py_geth-6.0.0}/geth/default_blockchain_password +0 -0
  22. {py_geth-5.6.0 → py_geth-6.0.0}/geth/exceptions.py +0 -0
  23. {py_geth-5.6.0 → py_geth-6.0.0}/geth/genesis.json +0 -0
  24. {py_geth-5.6.0 → py_geth-6.0.0}/geth/main.py +0 -0
  25. {py_geth-5.6.0 → py_geth-6.0.0}/geth/mixins.py +0 -0
  26. {py_geth-5.6.0 → py_geth-6.0.0}/geth/py.typed +0 -0
  27. {py_geth-5.6.0 → py_geth-6.0.0}/geth/reset.py +0 -0
  28. {py_geth-5.6.0 → py_geth-6.0.0}/geth/types.py +0 -0
  29. {py_geth-5.6.0 → py_geth-6.0.0}/geth/utils/__init__.py +0 -0
  30. {py_geth-5.6.0 → py_geth-6.0.0}/geth/utils/encoding.py +0 -0
  31. {py_geth-5.6.0 → py_geth-6.0.0}/geth/utils/filesystem.py +0 -0
  32. {py_geth-5.6.0 → py_geth-6.0.0}/geth/utils/networking.py +0 -0
  33. {py_geth-5.6.0 → py_geth-6.0.0}/geth/utils/proc.py +0 -0
  34. {py_geth-5.6.0 → py_geth-6.0.0}/geth/utils/thread.py +0 -0
  35. {py_geth-5.6.0 → py_geth-6.0.0}/geth/utils/timeout.py +0 -0
  36. {py_geth-5.6.0 → py_geth-6.0.0}/geth/utils/validation.py +0 -0
  37. {py_geth-5.6.0 → py_geth-6.0.0}/geth/wrapper.py +0 -0
  38. {py_geth-5.6.0 → py_geth-6.0.0}/py_geth.egg-info/dependency_links.txt +0 -0
  39. {py_geth-5.6.0 → py_geth-6.0.0}/py_geth.egg-info/not-zip-safe +0 -0
  40. {py_geth-5.6.0 → py_geth-6.0.0}/py_geth.egg-info/requires.txt +0 -0
  41. {py_geth-5.6.0 → py_geth-6.0.0}/py_geth.egg-info/top_level.txt +0 -0
  42. {py_geth-5.6.0 → py_geth-6.0.0}/scripts/release/test_package.py +0 -0
  43. {py_geth-5.6.0 → py_geth-6.0.0}/setup.cfg +0 -0
  44. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/accounts/conftest.py +0 -0
  45. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/accounts/projects/test-01/geth/LOCK +0 -0
  46. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/accounts/projects/test-01/keystore/UTC--2015-08-24T21-30-14.222885490Z--ae71658b3ab452f7e4f03bda6f777b860b2e2ff2 +0 -0
  47. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/accounts/projects/test-02/geth/LOCK +0 -0
  48. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/accounts/projects/test-02/keystore/UTC--2015-08-24T21-30-14.222885490Z--ae71658b3ab452f7e4f03bda6f777b860b2e2ff2 +0 -0
  49. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/accounts/projects/test-02/keystore/UTC--2015-08-24T21-32-00.716418819Z--e8e085862a8d951dd78ec5ea784b3e22ee1ca9c6 +0 -0
  50. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/accounts/projects/test-02/keystore/UTC--2015-08-24T21-32-04.748321142Z--0da70f43a568e88168436be52ed129f4a9bbdaf5 +0 -0
  51. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/accounts/projects/test-03/geth/LOCK +0 -0
  52. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/accounts/test_account_list_parsing.py +0 -0
  53. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/accounts/test_create_geth_account.py +0 -0
  54. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/accounts/test_geth_accounts.py +0 -0
  55. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/running/test_running_dev_chain.py +0 -0
  56. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/running/test_running_mainnet_chain.py +0 -0
  57. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/running/test_running_sepolia_chain.py +0 -0
  58. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/running/test_running_with_logging.py +0 -0
  59. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/running/test_use_as_a_context_manager.py +0 -0
  60. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/test_import_and_version.py +0 -0
  61. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/test_library_files.py +0 -0
  62. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/utility/test_constructing_test_chain_kwargs.py +0 -0
  63. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/utility/test_geth_version.py +0 -0
  64. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/utility/test_is_live_chain.py +0 -0
  65. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/utility/test_is_sepolia_chain.py +0 -0
  66. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/utility/test_validation.py +0 -0
  67. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/waiting/conftest.py +0 -0
  68. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/waiting/test_waiting_for_ipc_socket.py +0 -0
  69. {py_geth-5.6.0 → py_geth-6.0.0}/tests/core/waiting/test_waiting_for_rpc_connection.py +0 -0
  70. {py_geth-5.6.0 → py_geth-6.0.0}/tests/installation/test_geth_installation.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: py-geth
3
- Version: 5.6.0
3
+ Version: 6.0.0
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
@@ -140,7 +140,7 @@ False
140
140
  >>> geth.is_stopped
141
141
  True
142
142
  >>> geth.version
143
- "1.15.11-stable"
143
+ "1.16.0-stable"
144
144
  ```
145
145
 
146
146
  When testing it can be nice to see the logging output produced by the `geth`
@@ -180,19 +180,19 @@ the current list of supported versions.
180
180
  Installation can be done via the command line:
181
181
 
182
182
  ```bash
183
- $ python -m geth.install v1.15.11
183
+ $ python -m geth.install v1.16.0
184
184
  ```
185
185
 
186
186
  Or from python using the `install_geth` function.
187
187
 
188
188
  ```python
189
189
  >>> from geth import install_geth
190
- >>> install_geth('v1.15.11')
190
+ >>> install_geth('v1.16.0')
191
191
  ```
192
192
 
193
193
  The installed binary can be found in the `$HOME/.py-geth` directory, under your
194
- home directory. The `v1.15.11` binary would be located at
195
- `$HOME/.py-geth/geth-v1.15.11/bin/geth`.
194
+ home directory. The `v1.16.0` binary would be located at
195
+ `$HOME/.py-geth/geth-v1.16.0/bin/geth`.
196
196
 
197
197
  ## About `DevGethProcess`
198
198
 
@@ -202,7 +202,7 @@ In that regard, it is preconfigured as follows.
202
202
  - A single account is created, allocated 1 billion ether, and assigned as the coinbase.
203
203
  - All APIs are enabled on both `rpc` and `ipc` interfaces.
204
204
  - Networking is configured to not look for or connect to any peers.
205
- - The `networkid` of `1234` is used.
205
+ - A `networkid` is not set as one can no longer be set along with `--dev`.
206
206
  - Verbosity is set to `5` (DEBUG)
207
207
  - The RPC interface *tries* to bind to 8545 but will find an open port if this
208
208
  port is not available.
@@ -78,7 +78,7 @@ False
78
78
  >>> geth.is_stopped
79
79
  True
80
80
  >>> geth.version
81
- "1.15.11-stable"
81
+ "1.16.0-stable"
82
82
  ```
83
83
 
84
84
  When testing it can be nice to see the logging output produced by the `geth`
@@ -118,19 +118,19 @@ the current list of supported versions.
118
118
  Installation can be done via the command line:
119
119
 
120
120
  ```bash
121
- $ python -m geth.install v1.15.11
121
+ $ python -m geth.install v1.16.0
122
122
  ```
123
123
 
124
124
  Or from python using the `install_geth` function.
125
125
 
126
126
  ```python
127
127
  >>> from geth import install_geth
128
- >>> install_geth('v1.15.11')
128
+ >>> install_geth('v1.16.0')
129
129
  ```
130
130
 
131
131
  The installed binary can be found in the `$HOME/.py-geth` directory, under your
132
- home directory. The `v1.15.11` binary would be located at
133
- `$HOME/.py-geth/geth-v1.15.11/bin/geth`.
132
+ home directory. The `v1.16.0` binary would be located at
133
+ `$HOME/.py-geth/geth-v1.16.0/bin/geth`.
134
134
 
135
135
  ## About `DevGethProcess`
136
136
 
@@ -140,7 +140,7 @@ In that regard, it is preconfigured as follows.
140
140
  - A single account is created, allocated 1 billion ether, and assigned as the coinbase.
141
141
  - All APIs are enabled on both `rpc` and `ipc` interfaces.
142
142
  - Networking is configured to not look for or connect to any peers.
143
- - The `networkid` of `1234` is used.
143
+ - A `networkid` is not set as one can no longer be set along with `--dev`.
144
144
  - Verbosity is set to `5` (DEBUG)
145
145
  - The RPC interface *tries* to bind to 8545 but will find an open port if this
146
146
  port is not available.
@@ -59,6 +59,7 @@ V1_15_8 = "v1.15.8"
59
59
  V1_15_9 = "v1.15.9"
60
60
  V1_15_10 = "v1.15.10"
61
61
  V1_15_11 = "v1.15.11"
62
+ V1_16_0 = "v1.16.0"
62
63
 
63
64
 
64
65
  LINUX = "linux"
@@ -367,6 +368,7 @@ install_v1_15_8 = functools.partial(install_from_source_code_release, V1_15_8)
367
368
  install_v1_15_9 = functools.partial(install_from_source_code_release, V1_15_9)
368
369
  install_v1_15_10 = functools.partial(install_from_source_code_release, V1_15_10)
369
370
  install_v1_15_11 = functools.partial(install_from_source_code_release, V1_15_11)
371
+ install_v1_16_0 = functools.partial(install_from_source_code_release, V1_16_0)
370
372
 
371
373
  INSTALL_FUNCTIONS = {
372
374
  LINUX: {
@@ -395,6 +397,7 @@ INSTALL_FUNCTIONS = {
395
397
  V1_15_9: install_v1_15_9,
396
398
  V1_15_10: install_v1_15_10,
397
399
  V1_15_11: install_v1_15_11,
400
+ V1_16_0: install_v1_16_0,
398
401
  },
399
402
  OSX: {
400
403
  V1_14_0: install_v1_14_0,
@@ -422,6 +425,7 @@ INSTALL_FUNCTIONS = {
422
425
  V1_15_9: install_v1_15_9,
423
426
  V1_15_10: install_v1_15_10,
424
427
  V1_15_11: install_v1_15_11,
428
+ V1_16_0: install_v1_16_0,
425
429
  },
426
430
  }
427
431
 
@@ -300,6 +300,14 @@ class DevGethProcess(BaseGethProcess):
300
300
 
301
301
  self._data_dir = get_chain_data_dir(base_dir, chain_name)
302
302
  overrides["data_dir"] = self.data_dir
303
+
304
+ if overrides.get("network_id") is not None:
305
+ # as of ``v1.16.0``, ``network_id`` can no longer be used with ``--dev``
306
+ raise PyGethValueError(
307
+ "You cannot specify `network_id` for a DevGethProcess"
308
+ )
309
+ overrides["network_id"] = None
310
+
303
311
  geth_kwargs = construct_test_chain_kwargs(**overrides)
304
312
  validate_geth_kwargs(geth_kwargs)
305
313
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: py-geth
3
- Version: 5.6.0
3
+ Version: 6.0.0
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
@@ -140,7 +140,7 @@ False
140
140
  >>> geth.is_stopped
141
141
  True
142
142
  >>> geth.version
143
- "1.15.11-stable"
143
+ "1.16.0-stable"
144
144
  ```
145
145
 
146
146
  When testing it can be nice to see the logging output produced by the `geth`
@@ -180,19 +180,19 @@ the current list of supported versions.
180
180
  Installation can be done via the command line:
181
181
 
182
182
  ```bash
183
- $ python -m geth.install v1.15.11
183
+ $ python -m geth.install v1.16.0
184
184
  ```
185
185
 
186
186
  Or from python using the `install_geth` function.
187
187
 
188
188
  ```python
189
189
  >>> from geth import install_geth
190
- >>> install_geth('v1.15.11')
190
+ >>> install_geth('v1.16.0')
191
191
  ```
192
192
 
193
193
  The installed binary can be found in the `$HOME/.py-geth` directory, under your
194
- home directory. The `v1.15.11` binary would be located at
195
- `$HOME/.py-geth/geth-v1.15.11/bin/geth`.
194
+ home directory. The `v1.16.0` binary would be located at
195
+ `$HOME/.py-geth/geth-v1.16.0/bin/geth`.
196
196
 
197
197
  ## About `DevGethProcess`
198
198
 
@@ -202,7 +202,7 @@ In that regard, it is preconfigured as follows.
202
202
  - A single account is created, allocated 1 billion ether, and assigned as the coinbase.
203
203
  - All APIs are enabled on both `rpc` and `ipc` interfaces.
204
204
  - Networking is configured to not look for or connect to any peers.
205
- - The `networkid` of `1234` is used.
205
+ - A `networkid` is not set as one can no longer be set along with `--dev`.
206
206
  - Verbosity is set to `5` (DEBUG)
207
207
  - The RPC interface *tries* to bind to 8545 but will find an open port if this
208
208
  port is not available.
@@ -31,6 +31,7 @@ py_geth.egg-info/dependency_links.txt
31
31
  py_geth.egg-info/not-zip-safe
32
32
  py_geth.egg-info/requires.txt
33
33
  py_geth.egg-info/top_level.txt
34
+ scripts/.DS_Store
34
35
  scripts/release/test_package.py
35
36
  tests/core/test_import_and_version.py
36
37
  tests/core/test_library_files.py
@@ -125,7 +125,7 @@ name = "Removals"
125
125
  showcontent = true
126
126
 
127
127
  [tool.bumpversion]
128
- current_version = "5.6.0"
128
+ current_version = "6.0.0"
129
129
  parse = """
130
130
  (?P<major>\\d+)
131
131
  \\.(?P<minor>\\d+)
Binary file
@@ -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.6.0",
40
+ version="6.0.0",
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,
@@ -0,0 +1 @@
1
+ bbcade0581fe7679e89f21946c728a382fc5b92d53bec428ad8111a39e382156
@@ -0,0 +1 @@
1
+ e27339b80b7dd3658b4704d90bafeb87d52b69b2c781a33cec764d07a3995450
@@ -0,0 +1 @@
1
+ cf767be1c9e7b8d7e7fe645c851122b1c1eca806f0fbab119793517a9644c670
@@ -1 +0,0 @@
1
- 46cf87d2c3661d137fa3901cfeff7f58b74a4f118d004199580fd588eba10b5e
@@ -1 +0,0 @@
1
- 9fb3c3964107a7f76a2474221384c21dc0288552d59ef9aa3317c4e3a1e2045e
@@ -1 +0,0 @@
1
- b0352dc57ebd8601c833b6079e0140a38174c58f13b24f292e0fccc708fe2e4d
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