Skip to content
This repository has been archived by the owner on Apr 2, 2024. It is now read-only.

SelectableGroups dict interface is deprecated. Use select. #237

Open
hloeung opened this issue Apr 30, 2022 · 0 comments · May be fixed by #251
Open

SelectableGroups dict interface is deprecated. Use select. #237

hloeung opened this issue Apr 30, 2022 · 0 comments · May be fixed by #251

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 subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants