I have a regression between version 5.7.1 and 5.8.0. I think the cause is this [commit](https://github.com/python/importlib_resources/commit/c3cefa6100eeef0e40ca570d74585fe9d02d1e53). I have a reproduction scenario in the zip. To reproduce: - unzip repro.zip - cd repro - pip install -e . - python -m test.test --info If you change the setup.cfg to use version 5.7.1, no error is raised [repro.zip](https://github.com/python/importlib_resources/files/9029830/repro.zip)