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

Bump mypy from 0.931 to 1.9.0 #197

Merged
merged 2 commits into from
Apr 23, 2024
Merged

Bump mypy from 0.931 to 1.9.0 #197

merged 2 commits into from
Apr 23, 2024

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Apr 23, 2024

Bumps mypy from 0.931 to 1.9.0.

Changelog

Sourced from mypy's changelog.

Mypy Release Notes

Next release

Mypy 1.10 (Unreleased)

We’ve just uploaded mypy 1.10 to the Python Package Index (PyPI). Mypy is a static type checker for Python. This release includes new features, performance improvements and bug fixes. You can install it as follows:

python3 -m pip install -U mypy

You can read the full documentation for this release on Read the Docs.

TODO

  • Implement TypeIs (PEP 742) (Jelle Zijlstra, PR 16898)
  • Error handling for recursive TypeVar defaults (PEP 696) (Marc Mueller, PR 16925)
  • Add basic support for recursive TypeVar defaults (PEP 696) (Marc Mueller, PR 16878)

Other Notable Changes and Fixes

  • fix: incorrect returned type of access descriptors on unions of types (Matthieu Devlin, PR 16604)
  • Fix crash when expanding invalid Unpack in a Callable alias (Ali Hamdan, PR 17028)
  • Fix string formatting for string enums (roberfi, PR 16555)
  • Narrow individual items when matching a tuple to a sequence pattern (Loïc Simon, PR 16905)
  • Add TypeGuard and TypeIs traversing in TypeTraverserVisitor (Evgeniy Slobodkin, PR 17071)
  • Improve error message for bound typevar in TypeAliasType (Ali Hamdan, PR 17053)
  • Fix TypedDict init from Type with optional keys (Marc Mueller, PR 17068)
  • Improve yield from inference for unions of generators (Shantanu, PR 16717)
  • Support TypeAliasType in a class scope (Ali Hamdan, PR 17038)
  • attrs: Fix emulating hash method logic (Hashem, PR 17016)
  • Use lower-case generics more consistently in error messages (Jukka Lehtosalo, PR 17035)
  • Revert "Revert use of ParamSpec for functools.wraps" (Tamir Duberstein, PR 16942)
  • Support TypeAliasType (Ali Hamdan, PR 16926)
  • Fix type narrowing for types.EllipsisType (Shantanu, PR 17003)
  • Disallow all super calls to methods with trivial bodies (Shantanu, PR 16756)
  • Fix single item enum match type exhaustion (Oskari Lehto, PR 16966)
  • Fix inference with UninhabitedType (Marc Mueller, PR 16994)
  • Allow TypedDict initialization from Type (Marc Mueller, PR 16963)
  • Fix override checking for decorated property (Shantanu, PR 16856)
  • Fix duplicate word in protocols.rst (hesam, PR 16950)
  • Workaround parenthesised context manager issue (Shantanu, PR 16949)
  • Fix narrowing on match with function subject (Edward Paget, PR 16503)
  • Allow inferring +int to be a Literal (Spencer Brown, PR 16910)

Stubgen Improvements

  • stubgen: Preserve empty tuple annotation (Ali Hamdan, PR 16907)
  • stubgen: Add support for PEP 570 positional-only parameters (Ali Hamdan, PR 16904)
  • stubgen: Replace obsolete typing aliases with builtin containers (Ali Hamdan, PR 16780)
  • stubgen: Fix generated dataclass __init__ signature (Ali Hamdan, PR 16906)

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added dependencies Pull requests that update a dependency file python Pull requests that update Python code labels Apr 23, 2024
@dependabot dependabot bot force-pushed the dependabot/pip/mypy-1.9.0 branch 2 times, most recently from 4d258bd to bba6e65 Compare April 23, 2024 07:07
@amyreese
Copy link
Member

@dependabot rebase

Copy link
Contributor Author

dependabot bot commented on behalf of github Apr 23, 2024

Looks like this PR has been edited by someone other than Dependabot. That means Dependabot can't rebase it - sorry!

If you're happy for Dependabot to recreate it from scratch, overwriting any edits, you can request @dependabot recreate.

Bumps [mypy](https://github.com/python/mypy) from 0.931 to 1.9.0.
- [Changelog](https://github.com/python/mypy/blob/master/CHANGELOG.md)
- [Commits](python/mypy@v0.931...1.9.0)

---
updated-dependencies:
- dependency-name: mypy
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@amyreese amyreese force-pushed the dependabot/pip/mypy-1.9.0 branch 2 times, most recently from f6468b7 to e8ac3c2 Compare April 23, 2024 07:50
@amyreese amyreese merged commit c5ae476 into main Apr 23, 2024
16 checks passed
@dependabot dependabot bot deleted the dependabot/pip/mypy-1.9.0 branch April 23, 2024 08:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file python Pull requests that update Python code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant