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

Skip to content

🔒 🤖 CI Update lock files for main CI build(s) 🔒 🤖 #30636

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

Merged

Conversation

scikit-learn-bot
Copy link
Contributor

Update lock files.

Note

If the CI tasks fail, create a new branch based on this PR and add the required fixes to that branch.

Copy link

github-actions bot commented Jan 13, 2025

✔️ Linting Passed

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

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

@jeremiedbb
Copy link
Member

looks like the failure comes from openml being down for some time.

@jeremiedbb
Copy link
Member

The failure is due to openml being down. I'll retry later when it's up.

@ogrisel
Copy link
Member

ogrisel commented Jan 16, 2025

I suppose that we do not experience the problem on the other CI builds because of the CI cache key that is derived from the lock files?

If so that is a very nice side effect of using lock files :) /cc @lesteve.

@lesteve
Copy link
Member

lesteve commented Jan 16, 2025

I don't think lock-files are involved, it is more that most builds don't actually download data from OpenML 😉. Even CircleCI builds won't download data from OpenML unless you use [doc build] or modify an example. Cache may also help in some cases.

FYI, there is a bit of info of the OpenML status on their Slack. Last update was yesterday (January 15th):

Update: "TU/e expects to have most of its network and network-bound systems secure and available again before the weekend." (source)
We do not know if OpenML is included in "most", let's hope so

@scikit-learn-bot scikit-learn-bot force-pushed the auto-update-lock-files-main branch from 938cf08 to 1eac4b4 Compare January 20, 2025 05:09
@ogrisel
Copy link
Member

ogrisel commented Jan 21, 2025

We now also get HTTP 403 errors when calling fetch_california_housing in 2 doctests (in compose.rst and getting_started.rst). Maybe we could rewrite those doctests to avoid relying on the internet.

@ogrisel
Copy link
Member

ogrisel commented Jan 21, 2025

This problem is probably caused by an anti-DOS mechanism of the figshare hosting platforms with a denylist on a range of IP addresses from cloud hosted machines sometime used by our CI workers. We experienced a similar problem in the past:

@lesteve
Copy link
Member

lesteve commented Jan 21, 2025

We now also get HTTP 403 errors when calling fetch_california_housing in 2 doctests (in compose.rst and getting_started.rst). Maybe we could rewrite those doctests to avoid relying on the internet.

I had seen the doctest failures and just thought "oh well another failure due to OpenML" but indeed it's not fetched from OpenML 😅 ...

Whatever is easier:

  • either we skipped those doctests when SKLEARN_SKIP_NETWORK_TESTS is unset. I think we are only running network test in a scheduled nightly right now.
  • rewrite the doctests without relying on the internet
  • something even simpler if it exists

@jeremiedbb jeremiedbb enabled auto-merge (squash) January 23, 2025 14:48
@lesteve
Copy link
Member

lesteve commented Jan 23, 2025

Maybe I am over-cautious but I would not merge this without making sure that the full doc build works, which we can not do for now since OpenML is still not fully functional. Maybe I am missing something or maybe you ran the doc build locally?

I have disabled auto-merge for now.

@lesteve lesteve disabled auto-merge January 23, 2025 15:15
@lesteve
Copy link
Member

lesteve commented Jan 23, 2025

OK I now had a look at the diff and it seems like it's very minimal for the doc builds so I guess YOLO while OpenML is still problematic and we still can 🤠

@lesteve lesteve merged commit a575b54 into scikit-learn:main Jan 23, 2025
31 checks passed
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.

5 participants