Skip to content

🔒 🤖 CI Update lock files for pypy CI build(s) 🔒 🤖 #28567

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.

@scikit-learn-bot scikit-learn-bot force-pushed the auto-update-lock-files-pypy branch from 814e043 to e0f9478 Compare March 4, 2024 05:09
Copy link

github-actions bot commented Mar 4, 2024

✔️ Linting Passed

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

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

@jeremiedbb
Copy link
Member

The failure is recurrent (see #28391). It seems to be an excessive memory usage.

@adrinjalali
Copy link
Member

Then what do we do with this PR? also cc @lesteve

@lesteve
Copy link
Member

lesteve commented Mar 5, 2024

I just triggered the PyPy build via the web UI, and I guess this is the way forward until it passes. The changes in this PR are unlikely to make the situation worse.

In an ideal world, someone would do something similar as #27662 to find some way to reduce memory usage of the PyPy tests. I don't plan to do this personally in the foreseeable future.

If someone cares strongly about scikit-learn on PyPy, another thing to look at is conda-forge/scikit-learn-feedstock#248 since there seems to be worse issues than only memory (IIRC there were also test failures).

@adrinjalali
Copy link
Member

I guess that begs the question: do we really want to support pypy then?

cc @rth maybe?

@lesteve lesteve merged commit 4ab940a into scikit-learn:main Mar 5, 2024
@ogrisel
Copy link
Member

ogrisel commented Mar 5, 2024

I guess that begs the question: do we really want to support pypy then?

Let's discuss this point at the next monthly meeting.

Something we could do is officially state that we provide downgraded PyPy support with minimal automated testing: we could only run the test for a small subset of the tests, e.g. just the tests of the sklearn.linear_model module for instance, or just the common tests. This would be a short term workaround for PyPy related maintenance problems.

And we can simultaneously issue a call for volunteer among scikit-learn x pypy users to help us investigate how to reduce memory usage when running the tests on the PyPy runtime similarly to what Loïc did in #27662.

@rth
Copy link
Member

rth commented Mar 8, 2024

+1 for Oliver's points above. I certainly won't be able to provide support for it :)

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.

7 participants