Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

test twisted 21.7 #10402

Closed
wants to merge 10 commits into from
Closed

test twisted 21.7 #10402

wants to merge 10 commits into from

Conversation

richvdh
Copy link
Member

@richvdh richvdh commented Jul 15, 2021

We shouldn't merge this at least until 21.7 is properly released, since the type annotation changes will cause mypy to fail on twisted 21.2. For now it just serves as a way to run CI against 21.7.

Based on #10446 and #10450.

@ShadowJonathan
Copy link
Contributor

Could you maybe change the type hints to inline type hints as per this effort? If deferreds give errors on "not subscribable", wrap them in string quotations.

richvdh added 2 commits July 21, 2021 17:00
these should be identical semantically, and since `defer.ensureDeferred` is
defined to take a `typing.Coroutine`, will keep mypy happy
@richvdh richvdh force-pushed the rav/test_twisted_21_7 branch from 52a2853 to 1496981 Compare July 21, 2021 19:59
@richvdh richvdh force-pushed the rav/test_twisted_21_7 branch from 1496981 to e2a6fdc Compare July 21, 2021 20:06
@richvdh
Copy link
Member Author

richvdh commented Jul 21, 2021

Could you maybe change the type hints to inline type hints as per this effort? If deferreds give errors on "not subscribable", wrap them in string quotations.

done. Thanks!

@richvdh
Copy link
Member Author

richvdh commented Jul 28, 2021

superceded by #10490/#10491

@richvdh richvdh closed this Jul 28, 2021
@richvdh richvdh deleted the rav/test_twisted_21_7 branch April 6, 2022 12:59
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants