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

SelectableGroups dict interface is deprecated. Use select. #237

Closed
hloeung opened this issue Apr 30, 2022 · 0 comments
Closed

SelectableGroups dict interface is deprecated. Use select. #237

hloeung opened this issue Apr 30, 2022 · 0 comments

Comments

@hloeung
Copy link

hloeung commented Apr 30, 2022

Hi,

Seeing these warnings now:

.tox/unit/lib/python3.10/site-packages/charms/reactive/relations.py:125
/tmp/tmpfiles-hloeung/tmp/smtp-relay/.tox/unit/lib/python3.10/site-packages/charms/reactive/relations.py:125: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select.
for ep in entry_points().get('charms.reactive.relation_factory', []):

Looks to be python/importlib_metadata#298 with lots of other bugs and their proposed fixes, mostly around catching the TypeError exception.

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

Successfully merging a pull request may close this issue.

2 participants