Uninett / nav

Network Administration Visualized
GNU General Public License v3.0
181 stars 38 forks source link

Drop support for Python 3.7 #2901

Closed johannaengland closed 3 months ago

johannaengland commented 4 months ago

This closes #2891 and is one step in fixing #2790. Can only be merged once we have released NAV 5.10.

The things Codecov complains about are fixed in #2903.

The things this PR does:

  1. Update docker, tox, readthedocs, sonarcloud, Github workflows to not use Python 3.7 and only Python 3.9/3.10.
  2. Upgrade dependencies that were stuck to an old version due to it being the last one supporting Python 3.7.
  3. Update docs and pyproject.toml to mention minimum requirement of Python 3.9.
github-actions[bot] commented 4 months ago

Test results

       9 files         9 suites   7m 39s :stopwatch: 3 320 tests 3 320 :heavy_check_mark: 0 :zzz: 0 :x: 6 379 runs  6 379 :heavy_check_mark: 0 :zzz: 0 :x:

Results for commit 4088f099.

codecov[bot] commented 4 months ago

Codecov Report

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

Project coverage is 60.19%. Comparing base (35f1a9b) to head (4088f09). Report is 348 commits behind head on master.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #2901 +/- ## ========================================== - Coverage 60.20% 60.19% -0.02% ========================================== Files 601 601 Lines 43981 43981 ========================================== - Hits 26480 26475 -5 - Misses 17501 17506 +5 ```

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

lunkwill42 commented 4 months ago

This closes #2891 and is one step in fixing #2790. Can only be merged once we have released NAV 3.11.

I assume you mean NAV 5.10 ? 5.11 is the first release that will no longer support Pythons < 3.9.