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

dwave install broken on py39 after utils refactor #631

Closed
randomir opened this issue Jun 17, 2024 · 0 comments · Fixed by #632
Closed

dwave install broken on py39 after utils refactor #631

randomir opened this issue Jun 17, 2024 · 0 comments · Fixed by #632
Labels

Comments

@randomir
Copy link
Member

Due to a change in entry_points() behavior across a few versions of python (see compatibility note in docs), we use entry_points() from importlib_metadata backport, instead of importlib.metadata.

However, during utils refactor in #628, we switched to importlib.metadata. This causes failure of get_contrib_config (used from dwave install and dwave setup CLI commands) on Python 3.9 (only!).

contrib = [ep.load() for ep in entry_points(group='dwave_contrib')]

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

Successfully merging a pull request may close this issue.

1 participant