Skip to content

DeprecationWarning: deprecated distutils Version classes #3492

Description

@IAlibay

This is popping up in CI - there's at least two uses of LooseVersion in our codebase that probably needs fixing (chemfiles.py and setup.py).

/home/runner/work/mdanalysis/mdanalysis/package/MDAnalysis/coordinates/chemfiles.py:108: DeprecationWarning: distutils Version classes are deprecated. Use packaging.version instead.
  MIN_CHEMFILES_VERSION = LooseVersion("0.9")

Metadata

Metadata

Assignees

No one assigned

    Labels

    deprecationDeprecated functionality to give advance warning for API changes.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions