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

chore: add python 3.12 support #309

Merged
merged 8 commits into from
Sep 26, 2023

Conversation

danceratopz
Copy link
Member

@danceratopz danceratopz commented Sep 24, 2023

🗒️ Description

  • Adds Python 3.12 support.
  • 3.12 tested (currently pre-release) in Github Actions.
  • Upgrades flake8.

Tested with 3.12.0rc3 built via pyenv.

The same version of flake8 (6.0.0) produced more warnings on Python 3.12 vs 3.10/3.11 (so these are fixed). But, since our flake8 version requirement in setup.cfg didn't make any sense (flake8>=5,<=6, note the <=6), I bumped this version to ensure we use patches/improvements in v6. Practically as of now, it means we'll use 6.1.0 instead of 6.0.0.

✅ Checklist

  • All: Added an entry to CHANGELOG.md.
  • All: Considered updating the online docs in the ./docs/ directory.
  • All: Considered squashing commits to improve commit history.

Copy link
Collaborator

@spencer-tb spencer-tb left a comment

Choose a reason for hiding this comment

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

LGTM :)

Tested on macOS using pyenv install 3.12.0rc1.

I think we just need to rebase onto main, and re-update the changelog

@spencer-tb spencer-tb added scope:tools Scope: ethereum_test_tools package scope:tests Scope: Test cases scope:docs Scope: Documentation type:chore Type: Chore labels Sep 26, 2023
@spencer-tb spencer-tb added scope:fw Scope: Framework (evm|tools|forks|pytest) scope:tools Scope: ethereum_test_tools package scope:tests Scope: Test cases scope:ci Scope: Continuous Integration and removed scope:tools Scope: ethereum_test_tools package scope:tests Scope: Test cases scope:docs Scope: Documentation scope:fw Scope: Framework (evm|tools|forks|pytest) labels Sep 26, 2023
@spencer-tb spencer-tb merged commit bf714a3 into ethereum:main Sep 26, 2023
5 checks passed
@danceratopz danceratopz deleted the chore/add-python-3.12-support branch September 28, 2023 08:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
scope:ci Scope: Continuous Integration scope:tests Scope: Test cases scope:tools Scope: ethereum_test_tools package type:chore Type: Chore
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants