Skip to content

Remove requirement for Mayavi for building SHARPy.#333

Merged
Ben Preston (ben-l-p) merged 1 commit into
mainfrom
fix_depreciate_mayavi_tvtk
May 7, 2026
Merged

Remove requirement for Mayavi for building SHARPy.#333
Ben Preston (ben-l-p) merged 1 commit into
mainfrom
fix_depreciate_mayavi_tvtk

Conversation

@ben-l-p

Copy link
Copy Markdown
Collaborator

Mayavi is now considered un-maintained, and as it has again broken the install process I have depreciated it. All core plotting routines (modal, aero grid and beam) no longer depend upon this and should not be affected. There is still some legacy code referring to it - I have changed this code to use local imports to prevent issues at import time.

@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.
✅ Project coverage is 66.40%. Comparing base (ee7206f) to head (04c4be0).
⚠️ Report is 173 commits behind head on main.

Files with missing lines Patch % Lines
sharpy/generators/gridbox.py 0.00% 1 Missing ⚠️
sharpy/postproc/aerogridplot.py 0.00% 1 Missing ⚠️
sharpy/postproc/plotflowfield.py 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #333      +/-   ##
==========================================
- Coverage   67.69%   66.40%   -1.29%     
==========================================
  Files         166      148      -18     
  Lines       26709    27636     +927     
==========================================
+ Hits        18081    18353     +272     
- Misses       8628     9283     +655     

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

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@isabella586 isabella586 left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Agree with removing the requirement for it. Changes look fine.

@ben-l-p Ben Preston (ben-l-p) merged commit 2c9d92b into main May 7, 2026
6 of 7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants