abess-team / abess

Fast Best-Subset Selection Library
https://abess.readthedocs.io/
Other
474 stars 41 forks source link

Skip cibuildwheel test on Musllinux #462

Closed oooo26 closed 1 year ago

oooo26 commented 1 year ago

The PyPI workflow will fail on musllinux during installing some dependencies required compiling, e.g.

+ sh -c 'pip install lifelines pandas'
    ERROR: Command errored out with exit status 1:
     command: /tmp/tmp.elpMpe/venv/bin/python /tmp/tmp.elpMpe/venv/lib/python3.6/site-packages/pip/_vendor/pep517/in_process/_in_process.py prepare_metadata_for_build_wheel /tmp/tmp2fomh_5t
         cwd: /tmp/pip-install-skqdy611/scipy_8264aa34ebc04b59b7f83647d4b3a8b9
    Complete output (153 lines):
    lapack_opt_info:
    lapack_mkl_info:
    customize UnixCCompiler
      libraries mkl_rt not found in ['/tmp/tmp.elpMpe/venv/lib', '/usr/local/lib', '/usr/lib', '/usr/lib/']
      NOT AVAILABLE
....

The detailed error log can be checked here.

I think it is due to incomplete compilation environment offered by cibuildwheel, and these missing libraries actually can be installed manually. Maybe we can skip the test here?

oooo26 commented 1 year ago

I have also found this issue and trid to upgrade pip before installation. But it still didn't work.

codecov[bot] commented 1 year ago

Codecov Report

Base: 93.47% // Head: 93.47% // No change to project coverage :thumbsup:

Coverage data is based on head (6239c85) compared to base (30e6212). Patch has no changes to coverable lines.

:exclamation: Current head 6239c85 differs from pull request most recent head 1fdec83. Consider uploading reports for the commit 1fdec83 to get more accurate results

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #462 +/- ## ======================================= Coverage 93.47% 93.47% ======================================= Files 29 29 Lines 3232 3232 ======================================= Hits 3021 3021 Misses 211 211 ``` | Flag | Coverage Δ | | |---|---|---| | Python | `89.80% <ø> (ø)` | | | rpackage | `95.65% <ø> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=abess-team#carryforward-flags-in-the-pull-request-comment) to find out more. Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=abess-team). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=abess-team)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.