Skip to content

TST Extend tests for scipy.sparse.*array in sklearn/tests/test_kernel_approximation.py#27301

Merged
jjerphan merged 7 commits intoscikit-learn:mainfrom
lohitslohit:test-kernel-ap
Sep 12, 2023
Merged

TST Extend tests for scipy.sparse.*array in sklearn/tests/test_kernel_approximation.py#27301
jjerphan merged 7 commits intoscikit-learn:mainfrom
lohitslohit:test-kernel-ap

Conversation

@lohitslohit
Copy link
Copy Markdown
Contributor

Reference Issues/PRs
Towards #27090.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Sep 5, 2023

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 8e762fb. Link to the linter CI: here

@lohitslohit lohitslohit changed the title TST Extend tests for scipy.sparse/*array in sklearn/tests/test_kernel… TST Extend tests for scipy.sparse/*array in sklearn\tests\test_kernel_approximation.py and sklearn/utils/_testing.py Sep 5, 2023
@OmarManzoor OmarManzoor changed the title TST Extend tests for scipy.sparse/*array in sklearn\tests\test_kernel_approximation.py and sklearn/utils/_testing.py TST Extend tests for scipy.sparse/*array in sklearn\tests\test_kernel_approximation.py and sklearn/utils/_testing.py Sep 6, 2023
@OmarManzoor OmarManzoor changed the title TST Extend tests for scipy.sparse/*array in sklearn\tests\test_kernel_approximation.py and sklearn/utils/_testing.py TST Extend tests for scipy.sparse.*array in sklearn/tests/test_kernel_approximation.py and sklearn/utils/_testing.py Sep 6, 2023
Copy link
Copy Markdown
Contributor

@OmarManzoor OmarManzoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR @lohitslohit. Is there a specific reason why we are including two files in the same PR?

@lohitslohit
Copy link
Copy Markdown
Contributor Author

@OmarManzoor No specific reason. I am new to open source.

@OmarManzoor
Copy link
Copy Markdown
Contributor

@lohitslohit In that case I think it would be suitable to treat each file in a separate PR as that is the format that is being followed with this meta issue.

@lohitslohit lohitslohit changed the title TST Extend tests for scipy.sparse.*array in sklearn/tests/test_kernel_approximation.py and sklearn/utils/_testing.py TST Extend tests for scipy.sparse.*array in sklearn/tests/test_kernel_approximation.py Sep 6, 2023
@jjerphan
Copy link
Copy Markdown
Member

jjerphan commented Sep 9, 2023

Hi,

Isn't this a duplicate of #27275?

@lohitslohit
Copy link
Copy Markdown
Contributor Author

@jjerphan in #27275 has some issue, So I resubmitted

@jjerphan
Copy link
Copy Markdown
Member

jjerphan commented Sep 9, 2023

OK so I am closing it in preference of this PR.

Copy link
Copy Markdown
Contributor

@OmarManzoor OmarManzoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this one might require a change log as there is a change in the code.

Copy link
Copy Markdown
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM on my side.

I added an entry in the changelog and launch the test for scipy-dev.
If the CIs become green, all good.

Copy link
Copy Markdown
Contributor

@OmarManzoor OmarManzoor left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM as well. Thanks @lohitslohit

@OmarManzoor
Copy link
Copy Markdown
Contributor

@glemaitre I think the only tests that are failing are related to docs with the scipy-dev CI. CI pipeline link

@jjerphan jjerphan enabled auto-merge (squash) September 12, 2023 06:10
@jjerphan jjerphan merged commit f1ab4ce into scikit-learn:main Sep 12, 2023
@glemaitre
Copy link
Copy Markdown
Member

Indeed. The docstring failure will be always visible. Feel free to merge when it comes to this issue.

REDVM pushed a commit to REDVM/scikit-learn that referenced this pull request Nov 16, 2023
…nel_approximation.py` (scikit-learn#27301)

Co-authored-by: Guillaume Lemaitre <g.lemaitre58@gmail.com>
Co-authored-by: Omar Salman <omar.salman@arbisoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants