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.yml with 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):
Additional context
The deprecation warning seems to come from importlib_metadata, see: python/importlib_metadata#298
Describe the bug
When running a file that does
anyconfig.loadwith pytest, a DeprecationWarning is thrown:To Reproduce
Steps to reproduce the behavior:
test.ymlwith content "test: 123"pytest test.pyExpected behavior
No warnings
Desktop (please complete the following information):
Additional context
The deprecation warning seems to come from importlib_metadata, see: python/importlib_metadata#298