instrumentkit / InstrumentKit

Python package for interacting with laboratory equipment over various buses.
250 stars 71 forks source link

CPython 3.12 support, drop 3.7 #405

Closed trappitsch closed 10 months ago

trappitsch commented 10 months ago

Add support and testing for py3.12, drop 3.7 since EOL. Change a test to assert_has_calls, since has_calls seems to be depreciated in 3.12.

Note: There are a few more depreciation warnings that need to be taken care of. However, this should be fixed in a separate PR.

codecov[bot] commented 10 months ago

Codecov Report

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

Comparison is base (207131b) 99.03% compared to head (2bec651) 99.03%. Report is 1 commits behind head on main.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## main #405 +/- ## ======================================= Coverage 99.03% 99.03% ======================================= Files 88 88 Lines 8977 8994 +17 ======================================= + Hits 8890 8907 +17 Misses 87 87 ``` | [Flag](https://app.codecov.io/gh/instrumentkit/InstrumentKit/pull/405/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=instrumentkit) | Coverage Δ | | |---|---|---| | [unittests](https://app.codecov.io/gh/instrumentkit/InstrumentKit/pull/405/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=instrumentkit) | `99.03% <ø> (+<0.01%)` | :arrow_up: | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=instrumentkit#carryforward-flags-in-the-pull-request-comment) to find out more.

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