Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for geth v1.14.6 #224

Merged
merged 1 commit into from
Jul 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
41 changes: 41 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -272,6 +272,41 @@ jobs:
environment:
GETH_VERSION: v1.14.5
TOXENV: py312-install-geth-v1_14_5
py38-install-geth-v1_14_6:
<<: *common_go_steps
docker:
- image: cimg/python:3.8
environment:
GETH_VERSION: v1.14.6
TOXENV: py38-install-geth-v1_14_6
py39-install-geth-v1_14_6:
<<: *common_go_steps
docker:
- image: cimg/python:3.9
environment:
GETH_VERSION: v1.14.6
TOXENV: py39-install-geth-v1_14_6
py310-install-geth-v1_14_6:
<<: *common_go_steps
docker:
- image: cimg/python:3.10
environment:
GETH_VERSION: v1.14.6
TOXENV: py310-install-geth-v1_14_6
py311-install-geth-v1_14_6:
<<: *common_go_steps
docker:
- image: cimg/python:3.11
environment:
GETH_VERSION: v1.14.6
TOXENV: py311-install-geth-v1_14_6
py312-install-geth-v1_14_6:
<<: *common_go_steps
docker:
- image: cimg/python:3.12
environment:
GETH_VERSION: v1.14.6
TOXENV: py312-install-geth-v1_14_6

py38-lint:
<<: *common_go_steps
Expand Down Expand Up @@ -395,6 +430,12 @@ workflows:
- py311-install-geth-v1_14_5
- py312-install-geth-v1_14_5

- py38-install-geth-v1_14_6
- py39-install-geth-v1_14_6
- py310-install-geth-v1_14_6
- py311-install-geth-v1_14_6
- py312-install-geth-v1_14_6

- py38-lint
- py39-lint
- py310-lint
Expand Down
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,19 +118,19 @@ the current list of supported versions.
Installation can be done via the command line:

```bash
$ python -m geth.install v1.14.5
$ python -m geth.install v1.14.6
```

Or from python using the `install_geth` function.

```python
>>> from geth import install_geth
>>> install_geth('v1.14.5')
>>> install_geth('v1.14.6')
```

The installed binary can be found in the `$HOME/.py-geth` directory, under your
home directory. The `v1.14.5` binary would be located at
`$HOME/.py-geth/geth-v1.14.5/bin/geth`.
home directory. The `v1.14.6` binary would be located at
`$HOME/.py-geth/geth-v1.14.6/bin/geth`.

## About `DevGethProcess`

Expand Down
4 changes: 4 additions & 0 deletions geth/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@
V1_14_3 = "v1.14.3"
V1_14_4 = "v1.14.4"
V1_14_5 = "v1.14.5"
V1_14_6 = "v1.14.6"


LINUX = "linux"
Expand Down Expand Up @@ -322,6 +323,7 @@ def install_from_source_code_release(identifier: str) -> None:
install_v1_14_3 = functools.partial(install_from_source_code_release, V1_14_3)
install_v1_14_4 = functools.partial(install_from_source_code_release, V1_14_4)
install_v1_14_5 = functools.partial(install_from_source_code_release, V1_14_5)
install_v1_14_6 = functools.partial(install_from_source_code_release, V1_14_6)


INSTALL_FUNCTIONS = {
Expand All @@ -331,13 +333,15 @@ def install_from_source_code_release(identifier: str) -> None:
V1_14_3: install_v1_14_3,
V1_14_4: install_v1_14_4,
V1_14_5: install_v1_14_5,
V1_14_6: install_v1_14_6,
},
OSX: {
V1_14_0: install_v1_14_0,
V1_14_2: install_v1_14_2,
V1_14_3: install_v1_14_3,
V1_14_4: install_v1_14_4,
V1_14_5: install_v1_14_5,
V1_14_6: install_v1_14_6,
},
}

Expand Down
1 change: 1 addition & 0 deletions newsfragments/224.feature.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add support for geth ``v1.14.6``.
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
envlist=
py{38,39,310,311,312}-lint
py{38,39,310,311,312}-install-geth-{\
v1_14_0, v1_14_2, v1_14_3, v1_14_4, v1_14_5 \
v1_14_0, v1_14_2, v1_14_3, v1_14_4, v1_14_5, v1_14_6 \
}
py{38,39,310,311,312}-wheel
windows-wheel
Expand Down