deepmodeling / dpdata

Manipulating multiple atomic simulation data formats, including DeePMD-kit, VASP, LAMMPS, ABACUS, etc.
https://docs.deepmodeling.com/projects/dpdata/
GNU Lesser General Public License v3.0
188 stars 128 forks source link

CI: setup uv #639

Closed njzjz closed 2 months ago

njzjz commented 2 months ago

uv only supports Python 3.8+...

wanghan-iapcm commented 2 months ago

the dpdata CI is not intensive, so shall we keep pip as is?

njzjz commented 2 months ago

I leave this PR as a draft until we want to deprecate Python 3.7.

codecov[bot] commented 2 months ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 83.67%. Comparing base (468ee33) to head (7ac5be5). Report is 1 commits behind head on devel.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## devel #639 +/- ## ======================================= Coverage 83.67% 83.67% ======================================= Files 80 80 Lines 7006 7006 ======================================= Hits 5862 5862 Misses 1144 1144 ```

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

njzjz commented 2 months ago

A bit strange: while pip install uv requires Python 3.8, installing uv binary directly (it's not written in Python) doesn't have any Python requirements...

njzjz commented 2 months ago

This PR saves about 1 minute