Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

typing_extensions dependency version conflict with other addons #280

Open
Andrej730 opened this issue May 20, 2024 · 0 comments
Open

typing_extensions dependency version conflict with other addons #280

Andrej730 opened this issue May 20, 2024 · 0 comments

Comments

@Andrej730
Copy link

Hi, got feedback for other addon (BlenderBIM, IfcOpenShell/IfcOpenShell#4691) that it's failed to load with an error message:

  File "C:\Users\Sahru\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\blenderbim\libs\site\packages\xsdata\formats\dataclass\typing.py", line 18, in <module>
    from typing_extensions import ForwardRef
ImportError: cannot import name 'ForwardRef' from 'typing_extensions' (C:\Users\Sahru\AppData\Roaming\Blender Foundation\Blender\4.1\scripts\addons\MeasureIt_ARCH-development\libs\typing_extensions.py)

MeasureIt_ARCH comes with older typing_extensions version (2 years old) that didn't had ForwardRef yet.

As a workaround users can:

  1. Disable both MeasureIt_ARCH and another addon that's breaking.
  2. Restart Blender.
  3. Enable breaking addon first, so it will load newer version of dependency.
  4. Enable MeasureIt_ARCH.

Not sure if there's any need to actually update typing_extensions in the MeasureIt_ARCH if it works fine without update, just wanted to give a heads up for anyone meeting a similar issue and noticing MeasureIt_ARCH at the end of the traceback.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant