-
Notifications
You must be signed in to change notification settings - Fork 6
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
Use updated upload_pypi action #101
Conversation
2cb3279
to
3f23d47
Compare
3f23d47
to
7a11c5e
Compare
ed11428
to
4dde62b
Compare
@adamltyson I can't seem to be able to pinpoint the problem with the CI failures. CI passes with pinned |
I've got no idea I'm afraid. I had a play around, but just trying the same things as you I think. |
1b05ec6
to
af83333
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #101 +/- ##
==========================================
- Coverage 55.27% 55.18% -0.10%
==========================================
Files 40 40
Lines 3439 3441 +2
==========================================
- Hits 1901 1899 -2
- Misses 1538 1542 +4 ☔ View full report in Codecov by Sentry. |
Alright @adamltyson , I've managed to track down the problem. The issue was with a specific I circumvented this by adding an optional
|
Your approach seems sensible. Those tests aren't really asserting that the plots are created properly anyway. You could add some logic to detect the number of displays and only disable the plots when running headless. This would make the tests slightly more useful, but only slightly. Any chance cv2 can be replaced? It's always a pain. |
I think it wouldn't be too hard to replace But meanwhile, I think I'll merge this PR (if you approve), to unblock PyPI releases, and to plug the security vulnerability with the codecov token. |
Looks good to me. Moving away from cv2 would probably help with installation for users too. |
I open an issue for |
See neuroinformatics-unit/movement#108 for an explanation.
This PR needs to be merged before the next PyPI release.