-
Notifications
You must be signed in to change notification settings - Fork 40
Open
Labels
Description
Describe the bug
When running a file that does anyconfig.load with pytest, a DeprecationWarning is thrown:
venv/lib/python3.11/site-packages/anyconfig/processors/utils.py:245: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select.
for res in (eps.get(pgroup, []) if isinstance(eps, dict)
To Reproduce
Steps to reproduce the behavior:
- create
test.ymlwith content "test: 123" - create test.py with content
import anyconfig
def test_load():
anyconfig.load("test.yml")
- Run the file with
pytest test.py
Expected behavior
No warnings
Desktop (please complete the following information):
- Version 0.14.0
Additional context
The deprecation warning seems to come from importlib_metadata, see: python/importlib_metadata#298
Reactions are currently unavailable