cctbx / dxtbx

Diffraction Experiment Toolbox
BSD 3-Clause "New" or "Revised" License
2 stars 18 forks source link

[3.17] : DeprecationWarning: SelectableGroups dict interface is deprecated. #680

Open picca opened 8 months ago

picca commented 8 months ago

I put here the warning I got during the unit test on Debian with Python 3.12, just to remember :)

../../../usr/lib/python3/dist-packages/dxtbx/model/profile.py:7
  /usr/lib/python3/dist-packages/dxtbx/model/profile.py:7: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select.
    profile_entry_points = importlib.metadata.entry_points()["dxtbx.profile_model"]

../../../usr/lib/python3/dist-packages/dxtbx/model/experiment_list.py:63
  /usr/lib/python3/dist-packages/dxtbx/model/experiment_list.py:63: DeprecationWarning: SelectableGroups dict interface is deprecated. Use select.
    scaling_model_entry_points = importlib.metadata.entry_points()[