Closed nemith closed 11 months ago
Seems like using these are deprecated anyway. https://mypy.readthedocs.io/en/stable/additional_features.html?highlight=mypy_extensions#extended-callable-types
Nornir was just released some hours ago but we missed this line: https://github.com/nornir-automation/nornir/blob/325c8ca479b08662a0f963a90d3328a34ef17f2a/nornir/core/inventory.py#L23
I will take a look when I am home. In the meantime you can pin the nornir version or add it to your dependencies
Fixed here:
https://github.com/nornir-automation/nornir/pull/867
New Nornir version 3.4.1 released to pypi.
We are failing to run some CI tests as mypy_extensions is missing
Looking at https://github.com/nornir-automation/nornir/blob/main/pyproject.toml#L43 it is only declaring mypy_extentions as a dev dependency but in this case it is not a dev dependency but
My guess is something else changes in our dep tree that removed mypy_extension but it needs to be explicitly declared as a runtime dependency as it is being directly imported here https://github.com/nornir-automation/nornir/blob/main/nornir/core/inventory.py#L23