Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
fb9f9eb
Minor Documentation Fixes: TaskID for Example Custom Flow; Comment on…
LennartPurucker Apr 18, 2023
f9412d3
[pre-commit.ci] pre-commit autoupdate (#1223)
pre-commit-ci[bot] Apr 25, 2023
f43e075
[pre-commit.ci] pre-commit autoupdate (#1250)
pre-commit-ci[bot] Jun 11, 2023
a4ec4bc
change from raise error to warning for bad tasks (#1244)
LennartPurucker Jun 12, 2023
3f59841
Update version number and citation request (#1253)
mfeurer Jun 12, 2023
333b068
Added warning to run_model_on_task to avoid duplicates if no authenti…
v-parmar Jun 13, 2023
a7f2639
Fix 1124: provide clear naming for cache directories (#1254)
mfeurer Jun 13, 2023
91b4bf0
Download updates (#1256)
LennartPurucker Jun 15, 2023
3b3553b
Revert "Download updates (#1256)"
LennartPurucker Jun 15, 2023
4acdac4
Merge pull request #1259 from openml/revert-1256-download_updates
LennartPurucker Jun 15, 2023
32c2902
ADD: Rework Download Options and enable Lazy Loading for Datasets (#1…
LennartPurucker Jun 15, 2023
80a028a
Add mypy annotations for _api_calls.py (#1257)
mfeurer Jun 16, 2023
495162d
Deprecate `output_format='dict'` (#1258)
PGijsbers Jun 16, 2023
8418915
Make test robuster to server state, avoid attaching attached runs (#1…
PGijsbers Jun 16, 2023
a186012
[pre-commit.ci] pre-commit autoupdate (#1264)
pre-commit-ci[bot] Jun 29, 2023
abf9506
Add future warning dataset format (#1265)
PGijsbers Jul 3, 2023
d940e0e
Prepare release 0.14 (#1262)
mfeurer Jul 3, 2023
2079501
scipy 1.11 sets scipy.stats.mode `keepdims=Fales` as default (#1267)
PGijsbers Jul 3, 2023
5d2128a
Update test.yml: upload CODECOV token (#1268)
mfeurer Jul 4, 2023
fb43c8f
Allow fallback to ARFF on ServerError and make explicit in warning (#…
PGijsbers Jul 20, 2023
048cb60
Prepare 0.14.1 release (#1273)
PGijsbers Jul 20, 2023
2ed5aeb
Release 0.14 (#1266) (#1275)
PGijsbers Jul 20, 2023
a20eef5
Merge branch 'main' into merge-main-into-dev
PGijsbers Jul 20, 2023
d26a911
Merge pull request #1276 from openml/merge-main-into-dev-2
PGijsbers Jul 20, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions doc/progress.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,11 @@
Changelog
=========

0.14.1
~~~~~~

* FIX: Fallback on downloading ARFF when failing to download parquet from MinIO due to a ServerError.

0.14.0
~~~~~~

Expand Down
2 changes: 1 addition & 1 deletion openml/__version__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
# License: BSD 3-Clause

# The following line *must* be the last in the module, exactly as formatted:
__version__ = "0.14.0"
__version__ = "0.14.1"
5 changes: 4 additions & 1 deletion openml/datasets/functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
from typing import List, Dict, Optional, Union, cast
import warnings

import minio.error
import numpy as np
import arff
import pandas as pd
Expand Down Expand Up @@ -499,6 +500,8 @@ def get_dataset(
)
except urllib3.exceptions.MaxRetryError:
parquet_file = None
if parquet_file is None and arff_file:
logger.warning("Failed to download parquet, fallback on ARFF.")
else:
parquet_file = None
remove_dataset_cache = False
Expand Down Expand Up @@ -1095,7 +1098,7 @@ def _get_dataset_parquet(
openml._api_calls._download_minio_file(
source=cast(str, url), destination=output_file_path
)
except (FileNotFoundError, urllib3.exceptions.MaxRetryError) as e:
except (FileNotFoundError, urllib3.exceptions.MaxRetryError, minio.error.ServerError) as e:
logger.warning("Could not download file from %s: %s" % (cast(str, url), e))
return None
return output_file_path
Expand Down