levitsky / pyteomics

Pyteomics is a collection of lightweight and handy tools for Python that help to handle various sorts of proteomics data. Pyteomics provides a growing set of modules to facilitate the most common tasks in proteomics data analysis.
http://pyteomics.readthedocs.io
Apache License 2.0
105 stars 34 forks source link

Python 3.10 emmits a DeprecationWarning for distutils LooseVersion #83

Closed fabianegli closed 1 year ago

fabianegli commented 1 year ago

The recommendation is to change to packaging.version.Version instead.

./venv/lib/python3.10/site-packages/pyteomics/auxiliary/patch.py:12: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
    if LooseVersion(pv) < LooseVersion('0.17'):