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 py312 support - v6 #3373

Merged
merged 2 commits into from
May 2, 2024
Merged

add py312 support - v6 #3373

merged 2 commits into from
May 2, 2024

Conversation

pacrob
Copy link
Contributor

@pacrob pacrob commented May 1, 2024

What was wrong?

Support py312 in v6. Bumped flake8 version to one that supports py312, fixed a couple errors that came up.

Todo:

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

Cute Animal Picture

image

@pacrob pacrob changed the title add py312 ci add py312 support May 1, 2024
@pacrob pacrob changed the title add py312 support add py312 support - v6 May 1, 2024
@pacrob pacrob marked this pull request as ready for review May 1, 2024 17:29
@pacrob pacrob requested review from fselmo, kclowes and reedsa May 1, 2024 17:31
)
from typing import Dict # noqa: F401
Copy link
Contributor

Choose a reason for hiding this comment

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

Was there a limit your for dict? Weird that it imports typing twice

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure. I put the noqa line after it in the original single import and something in linting split it out. Maybe isort?

Copy link
Collaborator

Choose a reason for hiding this comment

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

I think you can say: self.strategies: Dict[str, Callable[[Package], Package]] = {} on line 30 below and get rid of this weird import stuff

Copy link
Collaborator

@kclowes kclowes left a comment

Choose a reason for hiding this comment

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

Sweet!

)
from typing import Dict # noqa: F401
Copy link
Collaborator

Choose a reason for hiding this comment

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

I think you can say: self.strategies: Dict[str, Callable[[Package], Package]] = {} on line 30 below and get rid of this weird import stuff

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.

lgtm!

@pacrob pacrob merged commit af88607 into ethereum:v6 May 2, 2024
118 checks passed
@pacrob pacrob deleted the add-py312-v6 branch May 2, 2024 21:41
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.

None yet

4 participants