Skip to content

Backports for 1.11.2 - #17675

Closed
mr-c wants to merge 3 commits into
python:release-1.11from
mr-c:backports_for_1.11.2
Closed

mr-c wants to merge 3 commits into
python:release-1.11from
mr-c:backports_for_1.11.2

Conversation

@mr-c

@mr-c mr-c commented Aug 14, 2024

Copy link
Copy Markdown
Contributor

Backports for a 1.11.2 release, as suggested in #17285 (comment)

Cherry-picked from #17638, #17639, and #17637

ilevkivskyi and others added 3 commits August 14, 2024 15:48
It is unfortunate to add two extra slots to a common type (and I guess
this is why it was rejected in the original PR), but all other
alternatives I tried are hacky and/or dangerous. So, this is a price to
pay for introducing a new type syntax.

---------

Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
@github-actions

Copy link
Copy Markdown
Contributor

Diff from mypy_primer, showing the effect of this PR on open source code:

prefect (https://github.com/PrefectHQ/prefect)
- src/prefect/artifacts.py:45: error: Method cannot have explicit self annotation and Self type  [misc]
@hauntsaninja

Copy link
Copy Markdown
Collaborator

Superseded by #17677

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

3 participants