Skip to content

Commit 253fbcc

Browse files
authored
chore(all): remove python 3.10 support (#1808)
* chore(deps): remove python 3.10 support * chore(ci): remove python 3.10 support * docs: remove python 3.10 support * docs: update changelog * docs: update changelog * docs: bump macOS base image to 3.12 (instead of 3.11)
1 parent 1817346 commit 253fbcc

File tree

8 files changed

+16
-223
lines changed

8 files changed

+16
-223
lines changed

.github/scripts/get_release_props.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# /// script
2-
# requires-python = ">=3.10"
2+
# requires-python = ">=3.12"
33
# dependencies = [
44
# "pyyaml",
55
# "click",

.github/workflows/tox_verify.yaml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,6 @@ jobs:
103103
strategy:
104104
matrix:
105105
include:
106-
- os: ubuntu-latest
107-
python: "3.10"
108106
- os: macos-latest
109107
python: "3.11"
110108
- os: ubuntu-latest
@@ -146,9 +144,6 @@ jobs:
146144
strategy:
147145
matrix:
148146
include:
149-
# Still getting requests.exceptions.ReadTimeout: UnixHTTPConnectionPool() in CI, even with local EELS
150-
# - os: ubuntu-latest
151-
# python: "3.10"
152147
- os: ubuntu-latest
153148
python: "3.11"
154149
- os: macos-latest
@@ -183,9 +178,6 @@ jobs:
183178
strategy:
184179
matrix:
185180
include:
186-
# Still getting requests.exceptions.ReadTimeout: UnixHTTPConnectionPool() in CI, even with local EELS
187-
# - os: ubuntu-latest
188-
# python: "3.10"
189181
- os: ubuntu-latest
190182
python: "3.11"
191183
- os: macos-latest
@@ -207,4 +199,4 @@ jobs:
207199
- name: Run tox - fill tests for deployed forks
208200
env:
209201
EELS_RESOLUTIONS_FILE: ${{ github.workspace }}/.github/configs/eels_resolutions.json
210-
run: uvx --with=tox-uv tox -e tests-deployed-zkevm
202+
run: uvx --with=tox-uv tox -e tests-deployed-zkevm

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Execution Spec Tests
22

33
[![latest version](https://img.shields.io/github/v/release/ethereum/execution-spec-tests)](https://github.com/ethereum/execution-spec-tests/releases/latest)
4-
![Python Versions](https://img.shields.io/badge/python-3.10%20%7C%203.11%20%7C%203.12%20%7C%203.13-blue)
4+
![Python Versions](https://img.shields.io/badge/python-3.11%20%7C%203.12%20%7C%203.13-blue)
55
[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
66
[![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)
77
[![License](https://img.shields.io/github/license/ethereum/execution-spec-tests)](https://github.com/ethereum/execution-spec-tests/blob/main/LICENSE)
@@ -83,7 +83,7 @@ All current tags, their t8n implementation and branch they point to, are listed
8383

8484
### Prerequisites
8585

86-
The tools provided by ethereum/execution-spec-tests use `uv` ([docs.astral.sh/uv](https://docs.astral.sh/uv/)) to manage their dependencies and virtual environment. `uv` downloads Python for your target platform if one of the required versions (Python 3.10, 3.11 or 3.12) is not available natively.
86+
The tools provided by ethereum/execution-spec-tests use `uv` ([docs.astral.sh/uv](https://docs.astral.sh/uv/)) to manage their dependencies and virtual environment. `uv` downloads Python for your target platform if one of the required versions (Python 3.11 or 3.12) is not available natively.
8787

8888
`uv` can be installed via curl (recommended; can self-update):
8989

docs/CHANGELOG.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,9 @@ Test fixtures for use by clients are available for each release on the [Github r
66

77
## 🔜 [Unreleased]
88

9-
### 💥 Breaking Change
9+
### 💥 Breaking Changes
10+
11+
- Python 3.10 support was removed in this release ([#1808](https://github.com/ethereum/execution-spec-tests/pull/1808)).
1012

1113
#### 💥 Important Change for `fill` Users
1214

@@ -50,6 +52,7 @@ Users can select any of the artifacts depending on their testing needs for their
5052

5153
### 📋 Misc
5254

55+
- Remove Python 3.10 support ([#1808](https://github.com/ethereum/execution-spec-tests/pull/1808)).
5356
- ✨ Add changelog formatting validation to CI to ensure consistent punctuation in bullet points [#1691](https://github.com/ethereum/execution-spec-tests/pull/1691).
5457
- ✨ Added the [EIP checklist template](https://eest.ethereum.org/main/writing_tests/checklist_templates/eip_testing_checklist_template/) that serves as a reference to achieve better coverage when implementing tests for new EIPs ([#1327](https://github.com/ethereum/execution-spec-tests/pull/1327)).
5558
- ✨ Added [Post-Mortems of Missed Test Scenarios](https://eest.ethereum.org/main/writing_tests/post_mortems/) to the documentation that serves as a reference list of all cases that were missed during the test implementation phase of a new EIP, and includes the steps taken in order to prevent similar test cases to be missed in the future ([#1327](https://github.com/ethereum/execution-spec-tests/pull/1327)).

docs/getting_started/installation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ The latest version of `uv` can be installed via `curl` (recommended; can self-up
2020
pip install uv
2121
```
2222

23-
If installed via `curl`, `uv` will download Python for your target platform if one of the required versions (Python 3.10, 3.11 or 3.12) is not available natively.
23+
If installed via `curl`, `uv` will download Python for your target platform if one of the required versions (Python 3.11 or 3.12) is not available natively.
2424

2525
## Installation Commands
2626

docs/running_tests/hive/dev_mode.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ The following section details the setup and usage of option 3.
6565
Within the [`eest/`](https://github.com/ethereum/hive/tree/master/simulators/ethereum/eest) directory of hive, a new dockerfile must be created: `Dockerfile.dev`, with the following contents:
6666
6767
```docker
68-
FROM ghcr.io/astral-sh/uv:python3.10-bookworm-slim
68+
FROM ghcr.io/astral-sh/uv:python3.12-bookworm-slim
6969
ARG branch=main
7070
ENV GIT_REF=${branch}
7171

pyproject.toml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,12 +10,13 @@ name = "ethereum-execution-spec-tests"
1010
version = "1.0.0"
1111
description = "Ethereum execution client test authoring framework"
1212
readme = "README.md"
13-
requires-python = ">=3.10"
13+
requires-python = ">=3.11"
1414
license = { file = "LICENSE" }
1515
keywords = ["ethereum", "testing", "blockchain"]
1616
classifiers = [
1717
"License :: OSI Approved :: MIT License",
18-
"Programming Language :: Python :: 3.10",
18+
"Programming Language :: Python :: 3.11",
19+
"Programming Language :: Python :: 3.12",
1920
]
2021
dependencies = [
2122
"click>=8.1.0,<9",
@@ -137,7 +138,7 @@ exclude = [
137138
'^fixtures/',
138139
'^logs/',
139140
'^site/',
140-
]
141+
]
141142
plugins = ["pydantic.mypy"]
142143

143144
[tool.codespell]
@@ -146,4 +147,4 @@ check-filenames = true
146147
ignore-words-list = "ingenuous"
147148

148149
[tool.uv.sources]
149-
ethereum-spec-evm-resolver = { git = "https://github.com/spencer-tb/ethereum-spec-evm-resolver", rev = "ee273e7344e24a739ebfbf0ea1f758530c4d032b" }
150+
ethereum-spec-evm-resolver = { git = "https://github.com/spencer-tb/ethereum-spec-evm-resolver", rev = "ee273e7344e24a739ebfbf0ea1f758530c4d032b" }

0 commit comments

Comments
 (0)