Title: Bump mypy from 1.16.1 to 1.17.0 by dependabot[bot] · Pull Request #421 · python-openapi/openapi-spec-validator · GitHub
Open Graph Title: Bump mypy from 1.16.1 to 1.17.0 by dependabot[bot] · Pull Request #421 · python-openapi/openapi-spec-validator
X Title: Bump mypy from 1.16.1 to 1.17.0 by dependabot[bot] · Pull Request #421 · python-openapi/openapi-spec-validator
Description: Bumps mypy from 1.16.1 to 1.17.0.
Changelog
Sourced from mypy's changelog.
Mypy Release Notes
Next Release
Mypy 1.17
We’ve just uploaded mypy 1.17 to the Python Package Index (PyPI).
Mypy is a static type checker for Python. This release includes new features 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.
Optionally Check That Match Is Exhaustive
Mypy can now optionally generate an error if a match statement does not
match exhaustively, without having to use assert_never(...). Enable
this by using --enable-error-code exhaustive-match.
Example:
# mypy: enable-error-code=exhaustive-match
import enum
class Color(enum.Enum):
RED = 1
BLUE = 2
def show_color(val: Color) -> None:
# error: Unhandled case for values of type "Literal[Color.BLUE]"
match val:
case Color.RED:
print("red")
This feature was contributed by Donal Burns (PR 19144).
Further Improvements to Attribute Resolution
This release includes additional improvements to how attribute types
and kinds are resolved. These fix many bugs and overall improve consistency.
Handle corner case: protocol/class variable/descriptor (Ivan Levkivskyi, PR 19277)
Fix a few inconsistencies in protocol/type object interactions (Ivan Levkivskyi, PR 19267)
Refactor/unify access to static attributes (Ivan Levkivskyi, PR 19254)
Remove inconsistencies in operator handling (Ivan Levkivskyi, PR 19250)
Make protocol subtyping more consistent (Ivan Levkivskyi, PR 18943)
... (truncated)
Commits
0260991 Update version string
3901aa2 Updates to 1.17 changelog (#19436)
7d13396 Initial changelog for 1.17 release (#19427)
a182dec Combine the revealed types of multiple iteration steps in a more robust manne...
ab4fd57 Improve the handling of "iteration dependent" errors and notes in finally cla...
09ba1f6 [mypyc] Fix exception swallowing in async try/finally blocks with await (#19353)
5c65e33 [mypyc] Fix AttributeError in async try/finally with mixed return paths (#19361)
934ec50 Lessen dmypy suggest path limitations for Windows machines (#19337)
a4801f9 Type ignore comments erroneously marked as unused by dmypy (#15043)
c3bfa0d Handle corner case: protocol vs classvar vs descriptor (#19277)
Additional commits viewable in compare view
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
Open Graph Description: Bumps mypy from 1.16.1 to 1.17.0. Changelog Sourced from mypy's changelog. Mypy Release Notes Next Release Mypy 1.17 We’ve just uploaded mypy 1.17 to the Python Package Index (PyPI). Mypy is ...
X Description: Bumps mypy from 1.16.1 to 1.17.0. Changelog Sourced from mypy's changelog. Mypy Release Notes Next Release Mypy 1.17 We’ve just uploaded mypy 1.17 to the Python Package Index (PyPI). Mypy...
Opengraph URL: https://github.com/python-openapi/openapi-spec-validator/pull/421
X: @github
Domain: patch-diff.githubusercontent.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:3e49f94a-f830-057e-101e-ab1d6178d27a |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | A5A4:30DB66:77B63C:A1D9DB:697BD9C0 |
| html-safe-nonce | eef9966b4d9a192845c8e9dcded2443c9fc7daa1ef382c9d56cfc830ca02ee1e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNUE0OjMwREI2Njo3N0I2M0M6QTFEOURCOjY5N0JEOUMwIiwidmlzaXRvcl9pZCI6IjQwOTA3MjIzMTg0NDE3NjUzMTIiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 83d20b2fc801d235b233c6c3355c7415dd27064a4e0dee97f583ac698389cfa7 |
| hovercard-subject-tag | pull_request:2681880348 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/python-openapi/openapi-spec-validator/pull/421/files |
| twitter:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/in/29110?s=400&v=4 |
| og:image:alt | Bumps mypy from 1.16.1 to 1.17.0. Changelog Sourced from mypy's changelog. Mypy Release Notes Next Release Mypy 1.17 We’ve just uploaded mypy 1.17 to the Python Package Index (PyPI). Mypy is ... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | d9273cb6ee4e18acd2ce5be1d6a9f9b3984f728c67ac95709fc3d38fedbb2967 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| go-import | github.com/python-openapi/openapi-spec-validator git https://github.com/python-openapi/openapi-spec-validator.git |
| octolytics-dimension-user_id | 126442889 |
| octolytics-dimension-user_login | python-openapi |
| octolytics-dimension-repository_id | 102581313 |
| octolytics-dimension-repository_nwo | python-openapi/openapi-spec-validator |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 102581313 |
| octolytics-dimension-repository_network_root_nwo | python-openapi/openapi-spec-validator |
| turbo-body-classes | logged-out env-production page-responsive full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 784b44795f41068c6521c17f38ad6ed44ce1775c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width