pytroll / pyorbital

Orbital and astronomy computations in python
http://pyorbital.readthedocs.org/
GNU General Public License v3.0
220 stars 75 forks source link

Update versioneer to stop using deprecated distutils module. #120

Closed sebastic closed 1 year ago

sebastic commented 1 year ago

versioneer.py still uses the deprecated distutils which will be removed in Python 3.12.

From What’s New In Python 3.10:

The entire distutils package is deprecated, to be removed in Python 3.12. Its functionality for specifying package builds has already been completely replaced by third-party packages setuptools and packaging, and most other commonly used APIs are available elsewhere in the standard library (such as platform, shutil, subprocess or sysconfig). There are no plans to migrate any other functionality from distutils, and applications that are using other functions should plan to make private copies of the code. Refer to PEP 632 for discussion.

versioneer is upgraded to 0.28 to resolve this.

codecov[bot] commented 1 year ago

Codecov Report

Merging #120 (54ea3c7) into main (eb15aaf) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main     #120   +/-   ##
=======================================
  Coverage   87.65%   87.65%           
=======================================
  Files          15       15           
  Lines        2203     2203           
=======================================
  Hits         1931     1931           
  Misses        272      272           
Flag Coverage Δ
unittests 87.65% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.