fix(skore): Improve error message if missing skore-hub-project#2458
Open
glemaitre wants to merge 2 commits intoprobabl-ai:mainfrom
Open
fix(skore): Improve error message if missing skore-hub-project#2458glemaitre wants to merge 2 commits intoprobabl-ai:mainfrom
glemaitre wants to merge 2 commits intoprobabl-ai:mainfrom
Conversation
Contributor
Contributor
thomass-dev
reviewed
Feb 13, 2026
Comment on lines
+62
to
+68
| raise ValueError( | ||
| f"The mode `{mode}` is not supported. You need to install " | ||
| f"`skore-{mode}-project` to use it. You can install it with pip:\n" | ||
| f' pip install "skore[{mode}]"\n' | ||
| f"or via conda where it is included in the `skore` package\n" | ||
| f" conda install skore -c conda-forge" | ||
| ) |
Collaborator
There was a problem hiding this comment.
Do we really need to precise conda? As your exception says, skore-hub-project is embedded in skore.
So, we can't fall in such case in coda.
Collaborator
There was a problem hiding this comment.
Can you please do the same in skore/project/project.py?
thomass-dev
requested changes
Feb 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
closes #2407
This PR only improve the error message if
skore-hub-projectis not installed.We provide the two most basic way to install via
pipandcondaassuming thatuvorpixiuser will be able to adapt the code then.The important bit here is to provide the
"skore[hub]"forpipuser and theconda-forgechannel for conda user.