- 
                Notifications
    
You must be signed in to change notification settings  - Fork 49
 
Fix broken links #108
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
Fix broken links #108
Conversation
Seeing if this works to fix failing tests
add config link to nightly yml
| 
           The link checker passes at least now. seems like with v5 there is a numpy related error popping up? does the test_environment.yml need updating? Also the circuit plotting in some of the qip examples fails, maybe rushi can update those in his PR  | 
    
Updating numpy and scipy to see if it resolves array error failure
| 
           ok, with some fiddling I can reproduce this locally; the 'python -m pip install jax jax[cpu] equinox diffrax' in notebook_ci.yaml overrides the test_environment definitions, and installs numpy==2.1.2 which doesn't work with the pinned version of matplotlib. better to pin to a lower version of numpy somehow, or update everything in test_environments?  | 
    
Separate environment yml files for v4 and v5 and updates those for v5 to be something more uptodate, and fix matplotib/numpy clash.
Fixes: matplotlib w_xaxis and axes3d breaking changes, nmmcsolve() requires the time-dep function to be of type coefficient, brmesolve() parameter order changed.
Small PEP 8 fixes
| 
           Fixing the bugs revealed more bugs. I think I caught everything, just left the qip plotting errors for rushis PR (there were a few tricky things updating these to the matplotlib render method, so better they are done in that PR). Fixing the pseudo-probability notebook also revealed that changes in axes3d made many of the plots show up blank. I will make a separate issue to check other notebooks for this.  | 
    
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
| 
           Thanks! Yes, the qip error is because of the GSoC updates. I think the best way is to replace them with  I feel like we should set up a regular weekly test for the tutorial like Eric did for   | 
    
          
 thanks boxi. i did try updating, but one of the examples plots a little bit brokenly, somehow the custom latex in a label doesn't get parsed correctly, and another that tries to draw after the gates have been refactored just fails, not sure why. maybe good for rushi to check these edge cases  | 
    
Add comment on use of config file for link checker, update v5 env to python 3.12
Changing to python 3.12 somehow revealed more pep8 problems.
Just adding a config file to ignore 403 and 405 link errors to see if it fixes those tests.
I also looked at switching to the more supported https://github.com/UmbrellaDocs/action-linkspector but am a bit unsure how to support the matrix option for directories in the config file there. can try if it is worth upgrading.