Skip to content

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

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

jjerphan merged 7 commits into
scikit-learn:mainfrom
lohitslohit:test-kernel-ap

Conversation

@lohitslohit

Copy link
Copy Markdown
Contributor

Reference Issues/PRs
Towards #27090.

@github-actions

github-actions Bot commented Sep 5, 2023 •

Copy link
Copy Markdown

✔️ 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

@OmarManzoor OmarManzoor left a comment

Copy link
Copy Markdown
Contributor

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

jjerphan commented Sep 9, 2023

Copy link
Copy Markdown
Member

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

jjerphan commented Sep 9, 2023

Copy link
Copy Markdown
Member

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

@OmarManzoor OmarManzoor left a comment

Copy link
Copy Markdown
Contributor

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.

@glemaitre glemaitre left a comment

Copy link
Copy Markdown
Member

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.

@OmarManzoor OmarManzoor left a comment

Copy link
Copy Markdown
Contributor

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

Comment thread doc/whats_new/v1.4.rst Resolved
@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 <[email protected]>
Co-authored-by: Omar Salman <[email protected]>
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