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
When trying to import zocalo under python version 3.11 I get a depreciation warning:
ImportError while loading conftest '/scratch/ffv81422/mx_bluesky_hyperion_merge/mx-bluesky/tests/conftest.py'.
tests/conftest.py:18: in <module>
from dodal.beamlines import i03
../dodal/src/dodal/beamlines/i03.py:41: in <module>
from dodal.devices.zocalo import ZocaloResults
../dodal/src/dodal/devices/zocalo/__init__.py:1: in <module>
from dodal.devices.zocalo.zocalo_interaction import ZocaloStartInfo, ZocaloTrigger
../dodal/src/dodal/devices/zocalo/zocalo_interaction.py:7: in <module>
import zocalo.configuration
.venv/lib/python3.11/site-packages/zocalo/configuration/__init__.py:14: in <module>
import pkg_resources
.venv/lib/python3.11/site-packages/pkg_resources/__init__.py:105: in <module>
warnings.warn(
E DeprecationWarning: pkg_resources is deprecated as an API. See https://setuptools.pypa.io/en/latest/pkg_resources.html
Description
When trying to import zocalo under python version 3.11 I get a depreciation warning:
The documentation suggests moving to https://importlib-metadata.readthedocs.io/en/latest/migration.html#pkg-resources-iter-entry-points to fix this
The text was updated successfully, but these errors were encountered: