Skip to content

Investigate code upgrades/streamlining for python 3.10 => 3.11 upgrade #1167

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

Open
Carsons-Eels opened this issue Mar 20, 2025 · 1 comment · May be fixed by #1211
Open

Investigate code upgrades/streamlining for python 3.10 => 3.11 upgrade #1167

Carsons-Eels opened this issue Mar 20, 2025 · 1 comment · May be fixed by #1211
Labels
C-question Category: this is a question or request for clarification E-easy Experience: easy, good for newcomers P-low

Comments

@Carsons-Eels
Copy link
Collaborator

Changes from Python 3.10 => 3.11 that might affect us or are potentially interesting for improving code quality:

Anything turning out to be worth the investment in effort should be made it's own issue, or if there are few enough of them, a single issue grouping the desired changes together.

@Carsons-Eels Carsons-Eels added C-question Category: this is a question or request for clarification E-easy Experience: easy, good for newcomers P-low labels Mar 20, 2025
@richardgreg
Copy link
Contributor

I would like to investigate this

richardgreg added a commit to richardgreg/execution-specs that referenced this issue Apr 21, 2025
- Add `Self` import from `typing` module to affected files
- Replace `TypeVar` used for self-references with `Self` type
- Update method return type annotations in:
  - Field protocol and implementations in finite_field.py
  - EllipticCurve class in elliptic_curve.py
  - State class in state_db.py
  - Blake2 class in blake2.py

related to ethereum#1167
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C-question Category: this is a question or request for clarification E-easy Experience: easy, good for newcomers P-low
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants
@richardgreg @Carsons-Eels and others