Skip to content

Conversation

@kclowes
Copy link
Collaborator

@kclowes kclowes commented Oct 29, 2025

What was wrong?

Python 3.8 has been EOL for a year, and Python 3.9 just reached its EOL, so it's time to drop our support as well.

Closes #3680, #3681

How was it fixed?

Dropped support in setup.py, and ran pyupgrade from 3.9 -> 3.9, and subsequently 3.9 -> 3.10.

Todo:

  • Clean up commit history
  • Add or update documentation related to these changes
  • Add entry to the release notes

Cute Animal Picture

Put a link to a cute animal picture inside the parenthesis-->

@kclowes kclowes changed the title Drop 38 39 Drop Support for Python 3.8 & 3.9 Oct 29, 2025
@kclowes kclowes force-pushed the drop-38-39 branch 2 times, most recently from c620afe to c9df851 Compare November 3, 2025 20:59
@kclowes kclowes marked this pull request as ready for review November 3, 2025 22:02
Copy link
Collaborator

@fselmo fselmo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing, lgtm 🚀 ! Checked for 3.8 and 3.9 in a find and replace... surprised there weren't more comments related to this upgrade. Love the type hinting updates, finally 😅. TIL about pyupgrade but makes perfect sense this exists... really nice 👌🏼

One thing I just thought about is starting to aggregate the breaking changes into a migration section. I think this may be best to do along the way rather than retroactively but open to doing this later / in a separate PR as well. So far I think it's just this and the LegacyWebSocketProvider removal.

@kclowes
Copy link
Collaborator Author

kclowes commented Nov 5, 2025

One thing I just thought about is starting to aggregate the breaking changes into a migration section. I think this may be best to do along the way rather than retroactively but open to doing this later / in a separate PR as well. So far I think it's just this and the LegacyWebSocketProvider removal.

Yeah, we def should. I'll add those two in a separate PR and put up an issue to track. Going forward I think it would be good to add at the same time though 👍

@kclowes kclowes merged commit 169a8f1 into ethereum:main Nov 5, 2025
55 checks passed
@kclowes kclowes deleted the drop-38-39 branch November 5, 2025 18:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Drop Python 3.8 support

2 participants