8000 [Maint] Update version_denylist.txt to block mpl 3.9.1 on windows by psobolewskiPhD · Pull Request #7154 · napari/napari · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[Maint] Update version_denylist.txt to block mpl 3.9.1 on windows #7154

8000
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

Merged
merged 5 commits into from
Aug 4, 2024

Conversation

psobolewskiPhD
Copy link
Member
@psobolewskiPhD psobolewskiPhD commented Aug 4, 2024

References and relevant issues

Windows tests are failing due to matplotlib 3.9.1: matplotlib/matplotlib#28551
e.g.:
https://github.com/napari/napari/actions/runs/10232235699/job/28309138502

Edit: the wheels have been pulled from pypi so now tests fail because of build issues.

Description

Adds mpl 3.9.1 on windows to the deny list for our test constraints.

@psobolewskiPhD
Copy link
Member Author

@napari-bot update constraints

…orstore`, `tifffile`, `tqdm`, `xarray`
Copy link
Contributor
github-actions bot commented Aug 4, 2024

Updated packages: alabaster, attrs, debugpy, hypothesis, importlib-metadata, lxml-html-clean, napari-plugin-manager, npe2, nvidia-cudnn-cu12, nvidia-nvjitlink-cu12, pip, pytest, rpds-py, sphinx, sphinxcontrib-applehelp, sphinxcontrib-devhelp, sphinxcontrib-htmlhelp, sphinxcontrib-qthelp, sphinxcontrib-serializinghtml, tensorstore, tifffile, torch, tqdm, triton, xarray

This workflow cannot automatically update your PR or create PR to your repository. But you could open such PR by clicking the link: psobolewskiPhD/napari@block_mpl_391_on_Win...napari-bot:auto-update-dependencies/psobolewskiPhD/napari/block_mpl_391_on_Win.

You could also get the updated files from the https://github.com/napari-bot/napari/tree/auto-update-dependencies/psobolewskiPhD/napari/block_mpl_391_on_Win/resources/constraints. Or ask the maintainers to provide you the contents of the constraints artifact from the run https://github.com/napari/napari/actions/runs/10232718937

…lewskiPhD/napari/block_mpl_391_on_Win

Update `hypothesis`, `napari-plugin-manager`, `npe2`, `pytest`, `tens…
@psobolewskiPhD psobolewskiPhD added tests Something related to our tests maintenance PR with maintance changes, labels Aug 4, 2024
@psobolewskiPhD psobolewskiPhD requested a review from Czaki August 4, 2024 02:18
@psobolewskiPhD psobolewskiPhD added this to the 0.5.2 milestone Aug 4, 2024
Copy link
codecov bot commented Aug 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.90%. Comparing base (52afd00) to head (f5f220d).

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7154      +/-   ##
==========================================
- Coverage   92.97%   92.90%   -0.08%     
==========================================
  Files         619      619              
  Lines       56729    56729              
==========================================
- Hits        52742    52702      -40     
- Misses       3987     4027      +40     

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

@Czaki
Copy link
Collaborator
Czaki commented Aug 4, 2024

How is it possible that it pass when merging constraints files? Did they yank some release?

I also think that bumping all constraints in this PR is not a good idea. I think that this change should be reverted and only matplotlib==3.9.1 changed to matplotlib==3.9.0. Then should be easier to debug, Linux fails.

@psobolewskiPhD
Copy link
Member Author

My understanding from the issue is that it's windows 3.9.1 wheels specifically that have a bug, which has affected other downstream projects. So they pulled those wheels, which is now affecting us.
I assume our CI didn't hit the original bug.

@psobolewskiPhD
Copy link
Member Author

This looks in the clear now @Czaki
The pyside segfaults are in plugin-related code:
https://github.com/napari/napari/actions/runs/10232738966/job/28312343785?pr=7154#step:13:347

Looks like my constraint update included both the new manager and new npe2, so could be something in one of those?

@Czaki Czaki added the ready to merge Last chance for comments! Will be merged in ~24h label Aug 4, 2024
@psobolewskiPhD
Copy link
Member Author

@Czaki should we just merge this, bypassing 24 hrs, to fix CI and make it easier to debug the issue with pyside?

@Czaki
Copy link
Collaborator
Czaki commented Aug 4, 2024

Fell free to merge imediatelly.

@psobolewskiPhD psobolewskiPhD merged commit a1a02ae into napari:main Aug 4, 2024
46 checks passed
@psobolewskiPhD psobolewskiPhD deleted the block_mpl_391_on_Win branch August 4, 2024 17:18
@github-actions github-actions bot removed the ready to merge Last chance for comments! Will be merged in ~24h label Aug 4, 2024
@tacaswell
Copy link
tacaswell commented Aug 4, 2024

The 3.9 A73A .1 wheels on windows would, depending on import order, cause segfaults, see matplotlib/matplotlib#28551 (comment).

We deleted the bad wheels to avoid segfaults (which seemed like a good idea) but failed to anticipate that this would cause downstream projects to start trying to build mpl from source instead of pulling the 3.9.0 wheel.

Sorry for the trouble.

@psobolewskiPhD
Copy link
Member Author

Thanks for reaching out! And no worries, shit happens--no need to apologize.
❤️

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance PR with maintance changes, tests Something related to our tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0