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
Since dbt-semantic-interfaces is a direct dependency for dbt-core, it causes ImportError when someone installs dbt-core with typing-extensions>=4.0,<4.4.0:
The solution is to stick to typing-extensions>=4.4.0 or typing-extensions~=4.4. I would prefer the first one because newer versions are getting bugs fixed and new features backported.
Expected Behavior
No ImportError raised.
Steps To Reproduce
pip install dbt-semantic-interfaces
pip install "typing-extensions>=4.0,<4.4.0"
from dbt_semantic_interfaces.transformations import names
Relevant log output
No response
Environment
- OS: Any
- Python: Any
- dbt-semantic-interfaces: 0.3.0
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Is this a new bug in dbt-semantic-interfaces?
Current Behavior
This package currently depends on
typing-extensions~=4.0
:dbt-semantic-interfaces/pyproject.toml
Line 31 in d919c0c
But here it uses
override
function which was introduced in typing-extensions 4.4.0:dbt-semantic-interfaces/dbt_semantic_interfaces/transformations/names.py
Line 3 in d919c0c
Since
dbt-semantic-interfaces
is a direct dependency fordbt-core
, it causes ImportError when someone installsdbt-core
withtyping-extensions>=4.0,<4.4.0
:The solution is to stick to
typing-extensions>=4.4.0
ortyping-extensions~=4.4
. I would prefer the first one because newer versions are getting bugs fixed and new features backported.Expected Behavior
No ImportError raised.
Steps To Reproduce
Relevant log output
No response
Environment
Additional Context
No response
The text was updated successfully, but these errors were encountered: