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

Python 3.11 multimethod.DispatchError when option Reload CQ enabled #389

Open
lorenzncode opened this issue Jan 28, 2023 · 1 comment
Open

Comments

@lorenzncode
Copy link
Member

See the description of #358. The issue was previously fixed (tested with older Python versions). The error is reproducible with Python 3.11.

@lorenzncode
Copy link
Member Author

I find the reload issue can be resolved by eliminating the forward reference:
https://github.com/CadQuery/cadquery/blob/60fdbea0e0c85946b44ef31fdf7c7f62d0bf781d/cadquery/occ_impl/geom.py#L28

Say by moving VectorLike after the Vector class and replace the stringized annotation.

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