Skip to content
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

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

Merged
merged 7 commits into from Sep 12, 2023

Conversation

lohitslohit
Copy link
Contributor

Reference Issues/PRs
Towards #27090.

@github-actions
Copy link

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
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
Contributor Author

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

@OmarManzoor
Copy link
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
Member

jjerphan commented Sep 9, 2023

Hi,

Isn't this a duplicate of #27275?

@lohitslohit
Copy link
Contributor Author

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

@jjerphan
Copy link
Member

jjerphan commented Sep 9, 2023

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

Copy link
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
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
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

doc/whats_new/v1.4.rst Outdated Show resolved Hide resolved
@OmarManzoor
Copy link
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
25 checks passed
@glemaitre
Copy link
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.

None yet

4 participants