From fbef1200c5e494bf1262061a32616927e086a78c Mon Sep 17 00:00:00 2001
From: "pre-commit-ci[bot]"
<66853113+pre-commit-ci[bot]@users.noreply.github.com>
Date: Mon, 2 Nov 2026 20:23:16 +0000
Subject: [PATCH 1/4] [pre-commit.ci] pre-commit autoupdate
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
updates:
- [github.com/astral-sh/ruff-pre-commit: v0.17.1 → v0.17.3](https://github.com/astral-sh/ruff-pre-commit/compare/v0.17.1...v0.17.3)
- [github.com/pre-commit/mirrors-mypy: v2.4.0 → v2.4.1](https://github.com/pre-commit/mirrors-mypy/compare/v2.4.0...v2.4.1)
- [github.com/python-jsonschema/check-jsonschema: 0.38.2 → 0.39.0](https://github.com/python-jsonschema/check-jsonschema/compare/0.38.2...0.39.0)
---
.pre-commit-config.yaml | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index f69cafe88..87685a6ef 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -3,20 +3,20 @@ default_language_version:
python: python3
repos:
- repo: https://github.com/astral-sh/ruff-pre-commit
- rev: v0.17.1
+ rev: v0.17.3
hooks:
- id: ruff
args: [--fix, --exit-non-zero-on-fix, --no-cache]
- id: ruff-format
- repo: https://github.com/pre-commit/mirrors-mypy
- rev: v2.4.0
+ rev: v2.4.1
hooks:
- id: mypy
additional_dependencies:
- types-requests
- types-python-dateutil
- repo: https://github.com/python-jsonschema/check-jsonschema
- rev: 0.38.2
+ rev: 0.39.0
hooks:
- id: check-github-workflows
files: '^github/workflows/.*\.ya?ml$'
From 3af56717c22f9ff6cc8cba03ea0967eca7b99024 Mon Sep 17 00:00:00 2001
From: PGijsbers
Date: Tue, 3 Nov 2026 14:31:47 +0100
Subject: [PATCH 2/4] Revert jsonschema version to python 3.10 compatible
package
---
.pre-commit-config.yaml | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 87685a6ef..8aa214a8a 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -16,7 +16,7 @@ repos:
- types-requests
- types-python-dateutil
- repo: https://github.com/python-jsonschema/check-jsonschema
- rev: 0.39.0
+ rev: 0.38.2
hooks:
- id: check-github-workflows
files: '^github/workflows/.*\.ya?ml$'
From 22acf9cd716c1dcb45d786011b7a1e4ab4f006d1 Mon Sep 17 00:00:00 2001
From: PGijsbers
Date: Tue, 3 Nov 2026 14:32:02 +0100
Subject: [PATCH 3/4] Turn off test which is no longer supported by server
---
tests/test_datasets/test_dataset_functions.py | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/test_datasets/test_dataset_functions.py b/tests/test_datasets/test_dataset_functions.py
index fae4a1c4e..941c8523e 100644
--- a/tests/test_datasets/test_dataset_functions.py
+++ b/tests/test_datasets/test_dataset_functions.py
@@ -564,6 +564,7 @@ def test__retrieve_class_labels(self):
labels = custom_ds.retrieve_class_labels(target_name=custom_ds.features[31].name)
assert labels == ["COIL", "SHEET"]
+ @pytest.mark.skip(reason="URL upload disabled since PHP API v1.3.2")
@pytest.mark.test_server
def test_upload_dataset_with_url(self):
dataset = OpenMLDataset(
From 045d7b4a3b054948a9d3408cf67c7a571014f97d Mon Sep 17 00:00:00 2001
From: PGijsbers
Date: Tue, 3 Nov 2026 16:00:51 +0100
Subject: [PATCH 4/4] Use file upload since URL upload is disabled
---
tests/test_datasets/test_dataset_functions.py | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
diff --git a/tests/test_datasets/test_dataset_functions.py b/tests/test_datasets/test_dataset_functions.py
index 941c8523e..43e1c23c2 100644
--- a/tests/test_datasets/test_dataset_functions.py
+++ b/tests/test_datasets/test_dataset_functions.py
@@ -595,19 +595,25 @@ def _assert_status_of_dataset(self, *, did: int, status: str):
not os.environ.get(openml.config.OPENML_TEST_SERVER_ADMIN_KEY_ENV_VAR),
reason="Test requires admin key. Set OPENML_TEST_SERVER_ADMIN_KEY environment variable.",
)
- @pytest.mark.flaky
@pytest.mark.test_server
def test_data_status(self):
+ arff_file_path = (
+ self.static_cache_dir / "org" / "openml" / "test" / "datasets" / "2" / "dataset.arff"
+ )
dataset = OpenMLDataset(
- f"{self._get_sentinel()}-UploadTestWithURL",
+ "anneal",
"test",
- "ARFF",
+ data_format="arff",
version=1,
- url="https://www.openml.org/data/download/61/dataset_61_iris.arff",
+ licence="public",
+ default_target_attribute="class",
+ data_file=arff_file_path,
)
dataset.publish()
- TestBase._mark_entity_for_removal("data", dataset.id)
- TestBase.logger.info(f"collected from {__file__.split('/')[-1]}: {dataset.id}")
+ TestBase._mark_entity_for_removal("data", dataset.dataset_id)
+ TestBase.logger.info(
+ f"collected from {__file__.split('/')[-1]}: {dataset.dataset_id}",
+ )
did = dataset.id
# admin key for test server (only admins can activate datasets.