Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support and test with py3.11 #619

Merged
merged 1 commit into from
Jul 8, 2024

Conversation

danielhollas
Copy link
Contributor

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

Copy link

codecov bot commented Jul 8, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 83.62%. Comparing base (6075e7c) to head (ce77583).
Report is 16 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #619   +/-   ##
=======================================
  Coverage   83.62%   83.62%           
=======================================
  Files          16       16           
  Lines        3517     3517           
=======================================
  Hits         2941     2941           
  Misses        576      576           
Flag Coverage Δ
python-3.10 ?
python-3.11 83.62% <ø> (?)
python-3.9 83.66% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@danielhollas danielhollas requested a review from unkcpz July 8, 2024 02:50
# This is needed since SQLAlchemy 2.0, see
# https://github.com/aiidalab/aiidalab-widgets-base/issues/605
'ignore:Object of type .* not in session, .* operation along .* will not proceed:sqlalchemy.exc.SAWarning',
'ignore::DeprecationWarning:bokeh.core.property.primitive',
'ignore::DeprecationWarning:bokeh',
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

bokeh started throwing some new DeprecationWarning which is currently breaking this test suite, this fixes it. Going to merge this now.

@danielhollas
Copy link
Contributor Author

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

@danielhollas danielhollas merged commit 6dfe6fa into aiidalab:master Jul 8, 2024
11 checks passed
@danielhollas danielhollas deleted the unittest-py-3.11 branch July 8, 2024 02:53
danielhollas added a commit that referenced this pull request Nov 19, 2024
- update scikit-learn dependency to support python 3.11
danielhollas added a commit that referenced this pull request Nov 19, 2024
- update scikit-learn dependency to support python 3.11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant