Skip to content

feat(skore,skore-hub-project): Fix compatibility for Jupyterlite#2821

Closed
thomass-dev wants to merge 7 commits intomainfrom
skore-hub-project-jupyterlite-multithreading
Closed

feat(skore,skore-hub-project): Fix compatibility for Jupyterlite#2821
thomass-dev wants to merge 7 commits intomainfrom
skore-hub-project-jupyterlite-multithreading

Conversation

@thomass-dev
Copy link
Copy Markdown
Collaborator

@thomass-dev thomass-dev commented Apr 24, 2026

WIP


To be splitted in several PR:

  • joblib.parallel over futures.ThreadPoolExecutor
  • auto_refresh=False
  • send json from httpx to pyiodide

@thomass-dev thomass-dev self-assigned this Apr 24, 2026
@thomass-dev thomass-dev changed the title feat(skore,skore-hub-project): several fixes for Jupyterlite feat(skore,skore-hub-project): Fix compatibility for Jupyterlite Apr 24, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 24, 2026

Documentation preview @ 7a1ae84

plt.switch_backend(original)


def threadable() -> bool:
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I'm wondering that instead to make fail a thread to check the platform with something like

def _can_start_thread() -> bool:
    if sys.platform == "emscripten":
        return sys._emscripten_info.pthreads
    return platform.machine() not in ("wasm32", "wasm64")

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

This change should be superseded by Textualize/rich#4104.

@thomass-dev
Copy link
Copy Markdown
Collaborator Author

Superseded by #2846, #2847, #2848, #2849, #2850 and #2851.

@thomass-dev thomass-dev deleted the skore-hub-project-jupyterlite-multithreading branch April 30, 2026 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants