Skip to content

fix(skore/progressbar): Disable auto_refresh mode in Jupyterlite where threading is not available#2847

Merged
glemaitre merged 1 commit into
mainfrom
skore-disable-rich-autorefresh-on-jupyterlite
Apr 30, 2026
Merged

fix(skore/progressbar): Disable auto_refresh mode in Jupyterlite where threading is not available#2847
glemaitre merged 1 commit into
mainfrom
skore-disable-rich-autorefresh-on-jupyterlite

Conversation

@thomass-dev
Copy link
Copy Markdown
Collaborator

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

Partially addresses #2820.

@thomass-dev thomass-dev self-assigned this Apr 29, 2026
@thomass-dev thomass-dev marked this pull request as draft April 29, 2026 13:45
@thomass-dev thomass-dev changed the base branch from main to skore-force-console-jupyter-mode-on-jupyterlite April 29, 2026 13:45
@thomass-dev thomass-dev requested a review from glemaitre April 29, 2026 13:45
@thomass-dev thomass-dev force-pushed the skore-disable-rich-autorefresh-on-jupyterlite branch from 94e87cf to 0046052 Compare April 29, 2026 13:48
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 29, 2026

Coverage

Coverage Report for skore/
FileStmtsMissBranchBrPartCoverMissing
skore/src/skore
   __init__.py3922094%110–111
   _config.py58312194%71, 118–119
   exceptions.py44000%4, 15, 19, 23
skore/src/skore/_project
   __init__.py0000100% 
   _summary.py80138398%121
   _widget.py1910442100% 
   login.py1324184%65–66
   plugin.py12020100% 
   project.py54216396%131, 140
   types.py3000100% 
skore/src/skore/_sklearn
   __init__.py8000100% 
   _base.py70120098%44
   compare.py5000100% 
   evaluate.py430240100% 
   feature_names.py260120100% 
   find_ml_task.py610462100% 
   metrics.py3130721100% 
   types.py1910094%31
skore/src/skore/_sklearn/_comparison
   __init__.py7000100% 
   inspection_accessor.py2712096%347
   metrics_accessor.py122418496%252–253, 321, 1107
   report.py157668096%570, 573, 579, 636–638
skore/src/skore/_sklearn/_cross_validation
   __init__.py9000100% 
   data_accessor.py36212294%48, 74
   inspection_accessor.py2712096%319
   metrics_accessor.py116316397%204–205, 1066
   report.py2021248694%71, 76, 81, 314, 591, 613, 632, 635, 641, 726–728
skore/src/skore/_sklearn/_diagnostic
   __init__.py3000100% 
   base.py76524393%124–125, 165, 253–254
   model_checks.py116126199%172
   utils.py2316195%39
skore/src/skore/_sklearn/_estimator
   __init__.py9000100% 
   data_accessor.py48220195%61, 177
   inspection_accessor.py3718297%278
   metrics_accessor.py1260220100% 
   report.py33215941095%58, 72, 276, 349, 433, 694, 783, 786, 805, 807, 813–814, 900–902
skore/src/skore/_sklearn/_plot
   __init__.py3000100% 
   base.py61214196%61–62
   utils.py147366397%254–255, 434
skore/src/skore/_sklearn/_plot/data
   __init__.py2000100% 
   table_report.py177160199%670
skore/src/skore/_sklearn/_plot/inspection
   __init__.py0000100% 
   coefficients.py1810881100% 
   impurity_decrease.py103234398%423, 467
   permutation_importance.py198190199%585
   utils.py320100100% 
skore/src/skore/_sklearn/_plot/metrics
   __init__.py6000100% 
   confusion_matrix.py1850682100% 
   metrics_summary_display.py1330621100% 
   precision_recall_curve.py1130321100% 
   prediction_error.py1660542100% 
   roc_curve.py1190342100% 
skore/src/skore/_sklearn/train_test_split
   __init__.py2000100% 
   train_test_split.py710342100% 
skore/src/skore/_sklearn/train_test_split/warning
   __init__.py8000100% 
   high_class_imbalance_too_few_examples_warning.py1916194%83
   high_class_imbalance_warning.py20060100% 
   random_state_unset_warning.py10020100% 
   shuffle_true_warning.py9020100% 
   stratify_is_set_warning.py10020100% 
   time_based_column_warning.py21040100% 
   train_test_split_warning.py3000100% 
skore/src/skore/_utils
   __init__.py620066%8, 13
   _accessor.py10628301373%12–13, 15, 36, 61–65, 68, 70–71, 76, 81, 83, 85, 92–94, 120–121, 123–124, 126, 132, 164, 218, 238
   _cache.py37021100% 
   _cache_key.py35522585%22, 24, 51, 59, 68
   _callable_name.py9040100% 
   _dataframe.py43418490%27, 46, 48, 63
   _environment.py33110296%49
   _fixes.py8020100% 
   _index.py5020100% 
   _jupyter.py820075%13–14
   _logger.py2244081%15–17, 19
   _measure_time.py10000100% 
   _parallel.py17000100% 
   _patch.py21128842%30, 35–39, 42–43, 46–47, 58, 60
   _progress_bar.py4244090%53–54, 64–65
   _show_versions.py380120100% 
   _skrub.py4018197%77
   _testing.py1281412289%24, 33, 71–72, 94, 193, 202, 213–218, 220
skore/src/skore/_utils/repr
   __init__.py2000100% 
   base.py54040100% 
   data.py1280302100% 
   html_repr.py40000100% 
   rich_repr.py800224100% 
   utils.py11020100% 
TOTAL5194157152210996% 

Tests Skipped Failures Errors Time
2171 5 💤 0 ❌ 0 🔥 4m 49s ⏱️

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 29, 2026

Documentation preview @ 35463eb

Base automatically changed from skore-force-console-jupyter-mode-on-jupyterlite to main April 29, 2026 15:37
@thomass-dev thomass-dev force-pushed the skore-disable-rich-autorefresh-on-jupyterlite branch from 0046052 to 35463eb Compare April 29, 2026 18:57
@thomass-dev thomass-dev marked this pull request as ready for review April 29, 2026 18:57
Comment thread skore/src/skore/__init__.py
Copy link
Copy Markdown
Member

@glemaitre glemaitre left a comment

Choose a reason for hiding this comment

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

LGTM.

@glemaitre glemaitre added this pull request to the merge queue Apr 30, 2026
Merged via the queue into main with commit c26fac5 Apr 30, 2026
38 checks passed
@glemaitre glemaitre deleted the skore-disable-rich-autorefresh-on-jupyterlite branch April 30, 2026 08:53
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