kr8s-org / kr8s

A batteries-included Python client library for Kubernetes that feels familiar for folks who already know how to use kubectl
https://kr8s.org
BSD 3-Clause "New" or "Revised" License
839 stars 45 forks source link

Ensure hatch is installed with the correct Python version in CI #462

Closed jacobtomlinson closed 3 months ago

jacobtomlinson commented 3 months ago

Closes #461 Contributes towards #459

Using pipx to install hatch was causing the system python to be used in pytest. Switching to standard pip resolves this.

Also fix up some Python 3.8 type annotation things that were previously missed by CI.

codecov[bot] commented 3 months ago

Codecov Report

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

Project coverage is 95.10%. Comparing base (87063fc) to head (f92b8b3). Report is 128 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #462 +/- ## ========================================== + Coverage 94.61% 95.10% +0.48% ========================================== Files 29 30 +1 Lines 3141 3884 +743 ========================================== + Hits 2972 3694 +722 - Misses 169 190 +21 ```

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