Bump https://github.com/pre-commit/mirrors-mypy from v1.19.1 to 1.20.0#2545
Conversation
Bumps [https://github.com/pre-commit/mirrors-mypy](https://github.com/pre-commit/mirrors-mypy) from v1.19.1 to 1.20.0. - [Commits](pre-commit/mirrors-mypy@v1.19.1...v1.20.0) --- updated-dependencies: - dependency-name: https://github.com/pre-commit/mirrors-mypy dependency-version: 1.20.0 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
✅ Deploy Preview for astronomer-cosmos canceled.
|
pankajkoti
left a comment
There was a problem hiding this comment.
The type-check job is failing here in the CI with the mirrors-mypy bump in this PR.
I have attempted a fix in PR https://github.com/astronomer/astronomer-cosmos/pull/2546/changes, and the failing job has succeeded there: https://github.com/astronomer/astronomer-cosmos/actions/runs/24186882877/job/70593741210?pr=2546
I guess we can close this PR in favour of #2546.
Update mirrors-mypy from v1.19.1 to v1.20.0 in pre-commit config. Change type: ignore error codes from [attr-defined] to [union-attr] in cosmos/airflow/graph.py. mypy 1.20.0 now correctly infers the union type DAGNode | Any and reports union-attr instead of attr-defined for attribute access on union members. related: #2545 Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
Closing in favour of #2546 |
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |
Rebasing might not happen immediately, so don't worry if this takes some time.
Note: if you make any changes to this PR yourself, they will take precedence over the rebase.
Bumps https://github.com/pre-commit/mirrors-mypy from v1.19.1 to 1.20.0.
Commits
8e5c807Mirror: 1.20.0Dependabot 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 rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill 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 versionwill 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 dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)