aiidalab / aiidalab-widgets-base

Reusable widgets for AiiDAlab applications
MIT License
6 stars 17 forks source link

Support and test with py3.11 #619

Closed danielhollas closed 1 month ago

danielhollas commented 1 month ago

To support Python 3.11, we need to bump the scikit-learn dependency, and ignore some more DeprecationWarnings. Otherwise things seem to work.

codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 83.62%. Comparing base (6075e7c) to head (ce77583).

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #619 +/- ## ======================================= Coverage 83.62% 83.62% ======================================= Files 16 16 Lines 3517 3517 ======================================= Hits 2941 2941 Misses 576 576 ``` | [Flag](https://app.codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/619/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab) | Coverage Δ | | |---|---|---| | [python-3.10](https://app.codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/619/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab) | `?` | | | [python-3.11](https://app.codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/619/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab) | `83.62% <ø> (?)` | | | [python-3.9](https://app.codecov.io/gh/aiidalab/aiidalab-widgets-base/pull/619/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=aiidalab) | `83.66% <ø> (ø)` | | 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=aiidalab#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.

danielhollas commented 1 month ago

This PR includes a DeprecationWarning ignore that is currently tripping up CI tests so going to merge this now.