Skip to content

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

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-main branch from 8efbaeb to eb2b9e7 Compare July 15, 2024 05:08
Copy link

github-actions bot commented Jul 15, 2024

✔️ Linting Passed

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

Generated for commit: 4650e75. Link to the linter CI: here

@lesteve
Copy link
Member

lesteve commented Jul 15, 2024

The doc-min-dependencies failure is known see #29300 (comment)

@adrinjalali
Copy link
Member

@EmilyXinyi @OmarManzoor would be nice to fix the issue for this PR, so that our CI passes on main again.

@lesteve lesteve force-pushed the auto-update-lock-files-main branch from eb2b9e7 to dcabeb3 Compare July 19, 2024 08:32
@adrinjalali
Copy link
Member

CI timed out, microsoft outage related? Restarted the CI.

@adrinjalali
Copy link
Member

🤦🏼 the tests timeout around 91% done.

@lesteve
Copy link
Member

lesteve commented Jul 19, 2024

Oh well, maybe we can wait until Monday morning and hope it disappear when the bot regenerates the lock-files ...

@adrinjalali
Copy link
Member

Yeah, so closing this one and we'll see on monday.

@lesteve
Copy link
Member

lesteve commented Jul 19, 2024

Actually it's better to leave it open this way the bot will reuse this PR (it force-pushes into the branch) and the context with the weird no-OpenMP timeout will be here (in case the timeout hasn't disappeared) 😉

@lesteve lesteve reopened this Jul 19, 2024
@scikit-learn-bot scikit-learn-bot force-pushed the auto-update-lock-files-main branch from dcabeb3 to 067a63a Compare July 22, 2024 05:08
@lesteve
Copy link
Member

lesteve commented Jul 22, 2024

So the no-OpenMP build still times out ... from the diff Meson 1.5 could be the culprit maybe 🤔 ...

One thing that is weird is that OpenMP is now detected in the no-OpenMP build, so at the very least this build does not serve its purpose and needs to be adapted. Probably this as a side-effect of mesonbuild/meson#13350, see
see build log

Built with OpenMP: True

@adrinjalali
Copy link
Member

So should we open a meson issue? really hard to reproduce/diagnose though.

@lesteve
Copy link
Member

lesteve commented Jul 22, 2024

So should we open a meson issue? really hard to reproduce/diagnose though.

I pinned meson<1.5 to double-check meson 1.5 is the culprit. If the timeout is gone with meson<1.5, I guess someone with a macOS machine should try to have a closer look ...

@lesteve
Copy link
Member

lesteve commented Jul 22, 2024

So in the latest commit with meson 1.4.2 the CI pass, so I guess this is tied to Meson 1.5 ...

@lesteve
Copy link
Member

lesteve commented Jul 22, 2024

The pip-latest-openblas-pandas issue seems like a regression in pytest 8.3.1, I opened pytest-dev/pytest#12650 about it ...

pytest --doctest-modules sklearn/utils/tests/test_deprecation.py

works fine with pytest 8.2.2 and fails with 8.3.1:

❯ pytest --doctest-modules sklearn/utils/tests/test_deprecation.py
=================================================================================================================================================== test session starts ===================================================================================================================================================
platform linux -- Python 3.11.9, pytest-8.3.1, pluggy-1.5.0
rootdir: /home/lesteve/dev/scikit-learn
configfile: setup.cfg
plugins: xdist-3.6.1, cov-5.0.0
collected 3 items / 1 error                                                                                                                                                                                                                                                                                               

========================================================================================================================================================= ERRORS ==========================================================================================================================================================
________________________________________________________________________________________________________________________________ ERROR collecting sklearn/utils/tests/test_deprecation.py _________________________________________________________________________________________________________________________________
../../micromamba/envs/scikit-learn-pip-openblas/lib/python3.11/doctest.py:942: in find
    self._find(tests, obj, name, module, source_lines, globs, {})
../../micromamba/envs/scikit-learn-pip-openblas/lib/python3.11/doctest.py:1016: in _find
    self._find(tests, val, valname, module, source_lines,
../../micromamba/envs/scikit-learn-pip-openblas/lib/python3.11/doctest.py:1048: in _find
    self._find(tests, val, valname, module, source_lines,
../../micromamba/envs/scikit-learn-pip-openblas/lib/python3.11/doctest.py:1004: in _find
    test = self._get_test(obj, name, module, globs, source_lines)
../../micromamba/envs/scikit-learn-pip-openblas/lib/python3.11/doctest.py:1072: in _get_test
    lineno = self._find_lineno(obj, source_lines)
../../micromamba/envs/scikit-learn-pip-openblas/lib/python3.11/doctest.py:1121: in _find_lineno
    obj = inspect.unwrap(obj).__code__
E   AttributeError: 'property' object has no attribute '__code__'
================================================================================================================================================= short test summary info =================================================================================================================================================
ERROR sklearn/utils/tests/test_deprecation.py - AttributeError: 'property' object has no attribute '__code__'
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
==================================================================================================================================================== 1 error in 0.17s =====================================================================================================================================================

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.

LGTM.

Since sphinx-gallery was updated I quickly checked the examples gallery coming from a previous commit doc build and this looks fine.

I opened #29546 to track the timeout in the no-OpenMP build with Meson 1.5.

Copy link
Member

@adrinjalali adrinjalali left a comment

Choose a reason for hiding this comment

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

Thanks @lesteve

@adrinjalali adrinjalali merged commit 8133eca into scikit-learn:main Jul 23, 2024
30 checks passed
MarcBresson pushed a commit to MarcBresson/scikit-learn that referenced this pull request Sep 2, 2024
Co-authored-by: Lock file bot <noreply@github.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
glemaitre added a commit to glemaitre/scikit-learn that referenced this pull request Sep 9, 2024
Co-authored-by: Lock file bot <noreply@github.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
glemaitre added a commit that referenced this pull request Sep 11, 2024
Co-authored-by: Lock file bot <noreply@github.com>
Co-authored-by: Loïc Estève <loic.esteve@ymail.com>
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.

4 participants