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

really drop python<=3.7 support #1232

Merged
merged 2 commits into from
Mar 19, 2024
Merged

really drop python<=3.7 support #1232

merged 2 commits into from
Mar 19, 2024

Conversation

kloczek
Copy link
Contributor

@kloczek kloczek commented Mar 19, 2024

Change Summary

Filter all code over pyupgrade --py38.

Checklist

  • Unit tests for the changes exist
  • Documentation reflects the changes where applicable
  • Pydantic tests pass with this pydantic-core (except for expected changes)
  • My PR is ready to review, please add a comment including the phrase "please review" to assign reviewers

Filter all code over `pyupgrade --py38`.

Signed-off-by: Tomasz Kłoczko <kloczek@github.com>
Copy link

codspeed-hq bot commented Mar 19, 2024

CodSpeed Performance Report

Merging #1232 will not alter performance

Comparing kloczek:main (518d4f7) with main (352d40f)

Summary

✅ 148 untouched benchmarks

Copy link
Contributor

@davidhewitt davidhewitt left a comment

Choose a reason for hiding this comment

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

Thanks, looks good to me! Just a couple of lint warnings arising from this:

ruff check python/pydantic_core tests generate_self_schema.py wasm-preview/run_tests.py
tests/validators/test_date.py:6:25: F401 [*] `typing.Dict` imported but unused
tests/validators/test_decimal.py:7:25: F401 [*] `typing.Dict` imported but unused
Found 2 errors.

@kloczek
Copy link
Contributor Author

kloczek commented Mar 19, 2024

I have difficulties with locating what generates those to try to understand about those errors are 🤔

@davidhewitt davidhewitt enabled auto-merge (squash) March 19, 2024 18:57
@davidhewitt davidhewitt merged commit 092f5f0 into pydantic:main Mar 19, 2024
27 checks passed
@kloczek
Copy link
Contributor Author

kloczek commented Mar 19, 2024

Thank you.
I need to learn more about ruff 😋

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.

2 participants