antonagestam / phantom-types

Phantom types for Python.
https://pypi.org/project/phantom-types/
BSD 3-Clause "New" or "Revised" License
204 stars 9 forks source link

fix: Pin typeguard<4.3.0 #300

Closed antonagestam closed 2 months ago

antonagestam commented 2 months ago

typeguard 4.3.0 introduced refined support for protocol type checking, unfortunately this breaks some existing usages in phantom-types, which in turn breaks sized types. As there's seemingly no trivial way to work around the issue, this commit pins typeguard at 4.3.0 until there is a fix upstream.

https://github.com/antonagestam/phantom-types/issues/299

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 98.91%. Comparing base (0b2fcaa) to head (5314258). Report is 2 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #300 +/- ## ======================================= Coverage 98.91% 98.91% ======================================= Files 27 27 Lines 1017 1018 +1 Branches 160 160 ======================================= + Hits 1006 1007 +1 Misses 11 11 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.