-
-
Notifications
You must be signed in to change notification settings - Fork 656
Fix bug with sage_getfile in meson editable install #39424
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
Conversation
Documentation preview for this PR (built with commit 2a3aee0; changes) is ready! 🎉 |
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.
Thanks!
Side note, |
sagemathgh-39424: Fix bug with sage_getfile in meson editable install Previously, the following test fails with meson editable install ``` 2025-01-28T04:27:13.4765580Z File "src/sage/misc/cachefunc.pyx", line 881, in sage.misc.cachefunc.CachedFunction._instancedoc_ 2025-01-28T04:27:13.4766297Z Failed example: 2025-01-28T04:27:13.4766651Z os.path.exists(sage_getfile(I.groebner_basis)) 2025-01-28T04:27:13.4767084Z Expected: 2025-01-28T04:27:13.4767330Z True 2025-01-28T04:27:13.4767571Z Got: 2025-01-28T04:27:13.4767808Z False ``` See https://github.com/sagemath/sage/actions/runs/13003203795/job/362655 39648 . ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. (can't really test, but see sagemath#39369) - [x] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#39424 Reported by: user202729 Reviewer(s): Tobias Diez
sagemathgh-39424: Fix bug with sage_getfile in meson editable install Previously, the following test fails with meson editable install ``` 2025-01-28T04:27:13.4765580Z File "src/sage/misc/cachefunc.pyx", line 881, in sage.misc.cachefunc.CachedFunction._instancedoc_ 2025-01-28T04:27:13.4766297Z Failed example: 2025-01-28T04:27:13.4766651Z os.path.exists(sage_getfile(I.groebner_basis)) 2025-01-28T04:27:13.4767084Z Expected: 2025-01-28T04:27:13.4767330Z True 2025-01-28T04:27:13.4767571Z Got: 2025-01-28T04:27:13.4767808Z False ``` See https://github.com/sagemath/sage/actions/runs/13003203795/job/362655 39648 . ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. (can't really test, but see sagemath#39369) - [x] I have updated the documentation and checked the documentation preview. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on. For example, --> <!-- - sagemath#12345: short description why this is a dependency --> <!-- - sagemath#34567: ... --> URL: sagemath#39424 Reported by: user202729 Reviewer(s): Tobias Diez
sagemathgh-39369: Test pip editable install with meson Tests pip editable install with meson on GitHub Actions. This uncovers several failing tests, which are fixed by (see dependencies below) Note: review is hard because of the large number of dependencies. It is probably easier to look only in `.github` folder. ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> - [x] The title is concise and informative. - [x] The description explains in detail what this PR is about. - [x] I have linked a relevant issue or discussion. ### ⌛ Dependencies - sagemath#39423 - sagemath#39498 - sagemath#39494 - sagemath#39424 - sagemath#39275 - sagemath#39499 URL: sagemath#39369 Reported by: user202729 Reviewer(s): Tobias Diez, user202729
Previously, the following test fails with meson editable install
See https://github.com/sagemath/sage/actions/runs/13003203795/job/36265539648 .
📝 Checklist
⌛ Dependencies