-
-
Notifications
You must be signed in to change notification settings - Fork 491
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
Activate/fix rpy2 tests #35396
Merged
Merged
Activate/fix rpy2 tests #35396
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
mkoeppe
force-pushed
the
doctest_clean_namespace
branch
from
April 15, 2023 23:21
c08e273
to
21cfb16
Compare
Documentation preview for this PR (built with commit 11833d8; changes) is ready! 🎉 |
mkoeppe
force-pushed
the
doctest_clean_namespace
branch
2 times, most recently
from
April 17, 2024 05:52
d707a6e
to
f428181
Compare
This reverts commit 9990302.
mkoeppe
force-pushed
the
doctest_clean_namespace
branch
from
June 5, 2024 01:26
f428181
to
0f4fbfd
Compare
kwankyu
reviewed
Jun 8, 2024
kwankyu
reviewed
Jun 8, 2024
kwankyu
reviewed
Jun 8, 2024
Otherwise lgtm. |
There is a genuine failure:
|
Is that from the conda test? I added the package name here, but that will only take effect after updating the conda-lock files (as done and to be redone in #37998) |
OK. Thanks. |
kwankyu
approved these changes
Jun 9, 2024
Thanks! |
vbraun
pushed a commit
to vbraun/sage
that referenced
this pull request
Jun 10, 2024
<!-- Please provide a concise, informative and self-explanatory title. --> <!-- Don't put issue numbers in the title. Put it in the Description below. --> <!-- For example, instead of "Fixes sagemath#12345", use "Add a new method to multiply two integers" --> ### 📚 Description <!-- Describe your changes here in detail. --> As a follow-up on: - sagemath#35237 we make `rpy2` a dynamically detected feature, enabling the automatic run of doctests tagged `# optional - rpy2`; we use a file-level doctest tag for the `r.py` file. We also update the spkg documentation for sagemath#35347 <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes sagemath#12345". --> Resolves sagemath#35347 <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. It should be `[x]` not `[x ]`. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - sagemath#12345: short description why this is a dependency - sagemath#34567: ... --> - Depends on sagemath#35237 <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: sagemath#35396 Reported by: Matthias Köppe Reviewer(s): Kwankyu Lee, Matthias Köppe
vbraun
pushed a commit
to vbraun/sage
that referenced
this pull request
Jun 16, 2024
<!-- Please provide a concise, informative and self-explanatory title. --> <!-- Don't put issue numbers in the title. Put it in the Description below. --> <!-- For example, instead of "Fixes sagemath#12345", use "Add a new method to multiply two integers" --> ### 📚 Description <!-- Describe your changes here in detail. --> As a follow-up on: - sagemath#35237 we make `rpy2` a dynamically detected feature, enabling the automatic run of doctests tagged `# optional - rpy2`; we use a file-level doctest tag for the `r.py` file. We also update the spkg documentation for sagemath#35347 <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes sagemath#12345". --> Resolves sagemath#35347 <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. It should be `[x]` not `[x ]`. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - sagemath#12345: short description why this is a dependency - sagemath#34567: ... --> - Depends on sagemath#35237 <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: sagemath#35396 Reported by: Matthias Köppe Reviewer(s): Kwankyu Lee, Matthias Köppe
vbraun
pushed a commit
to vbraun/sage
that referenced
this pull request
Jun 16, 2024
<!-- Please provide a concise, informative and self-explanatory title. --> <!-- Don't put issue numbers in the title. Put it in the Description below. --> <!-- For example, instead of "Fixes sagemath#12345", use "Add a new method to multiply two integers" --> ### 📚 Description <!-- Describe your changes here in detail. --> As a follow-up on: - sagemath#35237 we make `rpy2` a dynamically detected feature, enabling the automatic run of doctests tagged `# optional - rpy2`; we use a file-level doctest tag for the `r.py` file. We also update the spkg documentation for sagemath#35347 <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes sagemath#12345". --> Resolves sagemath#35347 <!-- If your change requires a documentation PR, please link it appropriately. --> ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. It should be `[x]` not `[x ]`. --> - [x] The title is concise, informative, and self-explanatory. - [x] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - sagemath#12345: short description why this is a dependency - sagemath#34567: ... --> - Depends on sagemath#35237 <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: sagemath#35396 Reported by: Matthias Köppe Reviewer(s): Kwankyu Lee, Matthias Köppe
antonio-rojas
added a commit
to antonio-rojas/sage
that referenced
this pull request
Jun 27, 2024
These are causing some doctest failures after sagemath#35396
Merged
vbraun
pushed a commit
to vbraun/sage
that referenced
this pull request
Jul 13, 2024
These are causing some doctest failures after sagemath#35396 ``` ********************************************************************** File "/usr/lib/python3.12/site-packages/sage/interfaces/r.py", line 51, in sage.interfaces.r Failed example: v = 2*x+y+1; v Expected: [1] 32.2 17.8 10.3 20.2 66.1 21.8 22.6 12.8 16.9 50.8 43.5 Got: R[write to console]: Además: R[write to console]: Aviso: <BLANKLINE> R[write to console]: In sage10 + sage6 : R[write to console]: <BLANKLINE> R[write to console]: longitud de objeto mayor no es múltiplo de la longitud de uno menor <BLANKLINE> [1] 32.2 17.8 10.3 20.2 66.1 21.8 22.6 12.8 16.9 50.8 43.5 ********************************************************************** File "/usr/lib/python3.12/site-packages/sage/interfaces/r.py", line 78, in sage.interfaces.r Failed example: r(-17).sqrt() Expected: [1] NaN Got: R[write to console]: Además: R[write to console]: Aviso: <BLANKLINE> R[write to console]: In sqrt(sage10) : R[write to console]: Se han producido NaNs <BLANKLINE> [1] NaN ********************************************************************** File "/usr/lib/python3.12/site-packages/sage/interfaces/r.py", line 356, in sage.interfaces.r._setup_r_to_sage_converter Failed example: r(-17).sqrt().sage() Expected: nan Got: R[write to console]: Además: R[write to console]: Aviso: <BLANKLINE> R[write to console]: In sqrt(sage4) : R[write to console]: Se han producido NaNs <BLANKLINE> nan ********************************************************************** ``` URL: sagemath#38294 Reported by: Antonio Rojas Reviewer(s): Matthias Köppe
vbraun
pushed a commit
to vbraun/sage
that referenced
this pull request
Jul 16, 2024
These are causing some doctest failures after sagemath#35396 ``` ********************************************************************** File "/usr/lib/python3.12/site-packages/sage/interfaces/r.py", line 51, in sage.interfaces.r Failed example: v = 2*x+y+1; v Expected: [1] 32.2 17.8 10.3 20.2 66.1 21.8 22.6 12.8 16.9 50.8 43.5 Got: R[write to console]: Además: R[write to console]: Aviso: <BLANKLINE> R[write to console]: In sage10 + sage6 : R[write to console]: <BLANKLINE> R[write to console]: longitud de objeto mayor no es múltiplo de la longitud de uno menor <BLANKLINE> [1] 32.2 17.8 10.3 20.2 66.1 21.8 22.6 12.8 16.9 50.8 43.5 ********************************************************************** File "/usr/lib/python3.12/site-packages/sage/interfaces/r.py", line 78, in sage.interfaces.r Failed example: r(-17).sqrt() Expected: [1] NaN Got: R[write to console]: Además: R[write to console]: Aviso: <BLANKLINE> R[write to console]: In sqrt(sage10) : R[write to console]: Se han producido NaNs <BLANKLINE> [1] NaN ********************************************************************** File "/usr/lib/python3.12/site-packages/sage/interfaces/r.py", line 356, in sage.interfaces.r._setup_r_to_sage_converter Failed example: r(-17).sqrt().sage() Expected: nan Got: R[write to console]: Además: R[write to console]: Aviso: <BLANKLINE> R[write to console]: In sqrt(sage4) : R[write to console]: Se han producido NaNs <BLANKLINE> nan ********************************************************************** ``` URL: sagemath#38294 Reported by: Antonio Rojas Reviewer(s): Matthias Köppe
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
📚 Description
As a follow-up on:
sage.features
: Addsage.libs.singular
, features for standard Python packages #35237we make
rpy2
a dynamically detected feature, enabling the automatic run of doctests tagged# optional - rpy2
; we use a file-level doctest tag for ther.py
file.We also update the spkg documentation for #35347
Resolves #35347
📝 Checklist
⌛ Dependencies
sage.features
: Addsage.libs.singular
, features for standard Python packages #35237