Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@jeromedockes
Copy link
Contributor

Reference Issues/PRs

As discussed in this comment thread, it seems that at the moment there are no tests that run without pandas installed and with coverage enabled for every push to a branch that has an open pull request.
(There are tests that run with that configuration, but in scheduled "nightly" jobs)

What does this implement/fix? Explain your changes.

I removed pandas from one of the lockfiles used for the azure posix tests. As this job's matrix also includes another lock file that does have pandas I think the tests that need pandas should still run; I will check that the project's coverage remains the same

Any other comments?

@github-actions
Copy link

github-actions bot commented Dec 18, 2023

✔️ Linting Passed

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

Generated for commit: f343062. Link to the linter CI: here

@lesteve
Copy link
Member

lesteve commented Dec 19, 2023

Lock files are updated by running the script https://github.com/scikit-learn/scikit-learn/blob/main/build_tools/update_environments_and_lock_files.py. You can update a single lock-file by using --select-build <some-regex-here>.

Find the build you want to modify in this file and remove pandas from it.

If you only modify the lock file your change will be reverted the next time someone or scikit-learn-bot updates the lockfiles.

@jeromedockes
Copy link
Contributor Author

jeromedockes commented Dec 19, 2023 via email

Copy link
Member

@lesteve lesteve left a comment

Choose a reason for hiding this comment

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

It seems like this is working as expected regarding the coverage:

for example these lines were not covered before and are now covered:
image

from this codecov page

@lesteve lesteve merged commit e046983 into scikit-learn:main Dec 19, 2023
@lesteve
Copy link
Member

lesteve commented Dec 19, 2023

Merging, thanks!

glemaitre pushed a commit to glemaitre/scikit-learn that referenced this pull request Feb 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants