You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Release citry-ui together with runtime input type checks (#208) #209
#208 makes Citry check each component input against its annotation on every render. Published citry-ui 0.3.0 accepts any citry>=0.6.0, and some of its annotations are narrower than the values its components accept. For example, a citry-ui template passes heading_level="2", a string, where the annotation is Literal[2, ..., 6].
#208 turns the check off for every citry-ui component (check_input_types = False). That fixes citry-ui in this repository, but not citry-ui 0.3.0 from PyPI: an app that upgrades Citry and keeps citry-ui 0.3.0 gets type errors from citry-ui's own components.
Release a citry-ui version with the opt-out at the same time as the Citry version that adds the check.
Decide how to stop a new Citry from being paired with citry-ui 0.3.0. Options:
The new citry-ui requires the new Citry (citry>=<next>). This only helps people who upgrade citry-ui too.
Citry blocks citry-ui<0.4.0: a citry[ui] extra that requires citry-ui>=0.4.0 (only helps those who install the extra), or a startup check that tells the user to upgrade citry-ui.
Activity