From 7755bd57ce705064bc4c9d04db5127b9fa8e7919 Mon Sep 17 00:00:00 2001 From: Casper Welzel Andersen Date: Wed, 18 Sep 2024 10:35:16 +0200 Subject: [PATCH 1/2] Optimized away 'allOf' keys for single type --- tests/factories/test_datasource_factory.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/factories/test_datasource_factory.py b/tests/factories/test_datasource_factory.py index f8b0064..3ebfb0f 100644 --- a/tests/factories/test_datasource_factory.py +++ b/tests/factories/test_datasource_factory.py @@ -553,7 +553,7 @@ def test_datasource_json_schema( "x-soft7-unit": "Å", }, "soft7___dimensions": { - "allOf": [{"$ref": "#/$defs/MolecularSpeciesDataSourceDimensions"}], + "$ref": "#/$defs/MolecularSpeciesDataSourceDimensions", "default": {"N": 5}, }, "soft7___identity": { From 7fed3c5bc3ffff989f11a4b336eb151a24f3fdae Mon Sep 17 00:00:00 2001 From: Casper Welzel Andersen Date: Wed, 18 Sep 2024 10:36:46 +0200 Subject: [PATCH 2/2] Remove upper limit for the oteapi-core dependency --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 4095c97..1bf49ca 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -30,7 +30,7 @@ dynamic = ["version"] dependencies = [ "httpx~=0.27.0", - "oteapi-core>=0.7.0.dev2,<1", + "oteapi-core>=0.7.0.dev2", "otelib~=0.5.0.dev0", "pyyaml~=6.0", "typing-extensions~=4.12; python_version < '3.12'",