Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Deprecate the method
aiida.get_strict_version
(#5512)
The method uses the `distutils` package of the standard library. With the acceptance of PEP 632, this module was deprecated in Python 3.10 and it will be removed in Python 3.12. Since there is no exact replacement of the `StrictVersion` class in another package, we deprecate the method and slate it for removal in the next major version. We could have used `packaging.version.Version` as a replacement, but the method is not used internally and doesn't seem to be used by plugin packages either.
- Loading branch information