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

Support mypy 0.910 to 0.930 including CI tests #3594

Merged
merged 13 commits into from Dec 30, 2021
Merged

Conversation

samuelcolvin
Copy link
Member

@samuelcolvin samuelcolvin commented Dec 29, 2021

Some cleanup from #3573, also stealing logic from #3572.

I normally don't think changing the versions of mypy which the plugin is compatible with would be a problem in a minor release, but since we've already made two beta release of v1.9, breaking mypy compatibility now would be ugly.

@samuelcolvin
Copy link
Member Author

Right now, pypi is partially down, hence all the failures, see here.

@samuelcolvin
Copy link
Member Author

@christianbundy, @PrettyWood I'd love you feedback on this.

I still need to get tests passing once pypi is back up and add a change description.

Copy link
Contributor

@christianbundy christianbundy left a comment

Choose a reason for hiding this comment

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

Looks great to me.

@samuelcolvin samuelcolvin changed the title cleanup bumping mypy to 0.930 Support mypy 0.910 to 0.930 including CI tests Dec 29, 2021
@samuelcolvin
Copy link
Member Author

LGTM. I'll merge tomorrow.

@samuelcolvin samuelcolvin merged commit 6f26a1c into master Dec 30, 2021
@samuelcolvin samuelcolvin deleted the mypy-bump-cleanup branch December 30, 2021 13:49
ntaylorwss pushed a commit to nicejobinc/pydantic that referenced this pull request Jun 24, 2022
* cleanup bumping mypy to 0.930, pydantic#3573

* add tests for old mypy

* tweak test-old-mypy job

* alter mypy plugin to work with older versions

* mypy.py compatibility with multiple versions

* fix mypy tests to allow for varied output

* toml parsing, fix pydantic#3579

* formatting :-(

* ignore missing types for toml package

* remove unused ignore_missing_imports

* undo removal of ignore_missing_imports for dotenv

* tweak coverage ignore

* fully uninstall mypy and toml/tomli
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

2 participants