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

Upgrade template #57

Merged
merged 14 commits into from Mar 18, 2024
Merged

Upgrade template #57

merged 14 commits into from Mar 18, 2024

Conversation

pacrob
Copy link
Contributor

@pacrob pacrob commented Mar 12, 2024

What was wrong?

Python project template updates, notably adding py312 support.
Test repo for adding blocklint to our linting lineup.

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 requested review from reedsa, fselmo and kclowes and removed request for reedsa and fselmo March 12, 2024 19:35
Copy link
Contributor

@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.

left a nit, but looks good otherwise!

py{38,39,310,311,312}-core
py{38,39,310,311,312}-lint
py{38,39,310,311,312}-wheel
windows-wheel
Copy link
Contributor

Choose a reason for hiding this comment

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

maybe:

Suggested change
windows-wheel
py{311,312}-windows-wheel

for consistency?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As it is, it just keeps circleci config drier. See .circleci/config.yml -> windows-wheel-steps -> windows-wheel-setup. If specified different TOXENVs, the whole windows-wheel-setup step would need to be duplicated for each job. Happy to make the change if you think it helps with clarity.

Copy link
Contributor

Choose a reason for hiding this comment

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

Nah, I think it's good as-is. ✨

rev: v0.2.4
hooks:
- id: blocklint
exclude: 'docs/Makefile|docs/release_notes.rst|tox.ini'
Copy link
Contributor

Choose a reason for hiding this comment

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

Does this find all other files in the repo? I think I was trying with listing directories to include but if this works I like it better.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I've tried sticking blocked words in various files and it hasn't missed one yet.

@pacrob pacrob merged commit 79adfb2 into ethereum:main Mar 18, 2024
20 checks passed
@pacrob pacrob deleted the upgrade-template branch March 18, 2024 17:51
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

3 participants