The Wayback Machine - https://web.archive.org/web/20220927100353/https://github.com/scikit-learn/scikit-learn/pull/24446
Skip to content
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

[CI] Add wheel builds for python 3.11 #24446

Open
wants to merge 9 commits into
base: main
Choose a base branch
from

Conversation

cmarmo
Copy link
Member

@cmarmo cmarmo commented Sep 15, 2022

Reference Issues/PRs

Fixes #24427

What does this implement/fix? Explain your changes.

This pull request adds to github workflows the build and test of wheels for python 3.11

Any other comments?

Python 3.11 is still release candidate: a number of manual hack are necessary to download the right dependencies.

To summarize the failures:

 =================================== ERRORS ====================================
  ________________________ ERROR collecting test session ________________________
  Python\Lib\importlib\__init__.py:126: in import_module
      return _bootstrap._gcd_import(name[level:], package, level)
  <frozen importlib._bootstrap>:1206: in _gcd_import
      ???
  <frozen importlib._bootstrap>:1178: in _find_and_load
      ???
  <frozen importlib._bootstrap>:1149: in _find_and_load_unlocked
      ???
  <frozen importlib._bootstrap>:690: in _load_unlocked
      ???
  Python\Lib\site-packages\_pytest\assertion\rewrite.py:168: in exec_module
      exec(co, module.__dict__)
  Python\Lib\site-packages\sklearn\conftest.py:15: in <module>
      from sklearn.datasets import fetch_20newsgroups
  Python\Lib\site-packages\sklearn\datasets\__init__.py:22: in <module>
      from ._twenty_newsgroups import fetch_20newsgroups
  Python\Lib\site-packages\sklearn\datasets\_twenty_newsgroups.py:46: in <module>
      from ..feature_extraction.text import CountVectorizer
  Python\Lib\site-packages\sklearn\feature_extraction\__init__.py:8: in <module>
      from ._hash import FeatureHasher
  Python\Lib\site-packages\sklearn\feature_extraction\_hash.py:10: in <module>
      from ._hashing_fast import transform as _hashing_transform
  E   ImportError: DLL load failed while importing _hashing_fast: The specified module could not be found.
  =========================== short test summary info ===========================
  ERROR  - ImportError: DLL load failed while importing _hashing_fast: The spec...
  !!!!!!!!!!!!!!!!!!! Interrupted: 1 error during collection !!!!!!!!!!!!!!!!!!!!
  ============================== 1 error in 2.46s ===============================
  • MacOS : wheel build is failing with this traceback fixed setting SETUPTOOLS_USE_DISTUTILS=stdlib. The test test_grid_search_failing_classifier fails.

.github/workflows/wheels.yml Outdated Show resolved Hide resolved
@cmarmo
Copy link
Member Author

cmarmo commented Sep 17, 2022

Tests failing on Windows:

  • test_gradient_boosting_early_stopping from sklearn\ensemble\tests\test_gradient_boosting.py,
  • test_grid_search_failing_classifier

@cmarmo cmarmo added this to the 1.2 milestone Sep 20, 2022
@cmarmo
Copy link
Member Author

cmarmo commented Sep 27, 2022

Hello, I'm unable to the debug on Windows ... perhaps someone might have a look to the last failing Windows test?
Thanks!

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.

1 participant