python-trio / trio-typing

Type hints for Trio and related projects
Other
27 stars 13 forks source link

Require mypy < 1.7.0 #91

Closed CoolCat467 closed 7 months ago

CoolCat467 commented 8 months ago

As per #90, this PR makes the project require mypy < 1.7.0

jakkdl commented 8 months ago

the failure is from this package not being updated since before trio 0.23, and we having made small changes to the API since. Dirty fix would be to add a requirement for trio==0.xx.yy - but if we're to release that we really want a warning somewhere that this package is deprecated.

TeamSpen210 commented 8 months ago

I don't think we can fix this via metadata changes. Pip will just go back in versions and use an earlier version of trio-typing that is "compatible".

jakkdl commented 7 months ago

oh right, derp.

oremanj commented 7 months ago

Closed in favor of #92 which more properly supports mypy 1.7.