You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
___________ ERROR collecting astropy/modeling/tests/data/__init__.py ___________
tests/lib/python3.7/site-packages/pytest_doctestplus/plugin.py:206: in collect
module = self.fspath.pyimport()
tests/lib/python3.7/site-packages/py/_path/local.py:704: in pyimport
__import__(modname)
astropy/modeling/__init__.py:10: in <module>
from . import fitting
astropy/modeling/fitting.py:1764: in <module>
populate_entry_points(entry_points().get('astropy.modeling', []))
tests/lib/python3.7/site-packages/importlib_metadata/__init__.py:312: in get
flake8_bypass(self._warn)()
E DeprecationWarning: SelectableGroups dict interface is deprecated. Use select.
The text was updated successfully, but these errors were encountered:
Hmm, so Python 3.10's entry_points() will return an EntryPoints object and emit the same warning (https://docs.python.org/3.10/library/importlib.metadata.html#entry-points), and importlib_metadata is doing things in advance so their last release is already emitting the warning (python/importlib_metadata#298).
I think we can ignore the warning for now, but when Python 3.10 is out we will need to find a way to adapt the code.
Example log: https://github.com/astropy/astropy/runs/2321021984?check_suite_focus=true
Snippet (one of many):
The text was updated successfully, but these errors were encountered: