From 724ea2bf635a91f4e48fd0a18efc36d4695a190b Mon Sep 17 00:00:00 2001 From: Peter Desmet Date: Wed, 26 Jun 2024 10:55:28 +0200 Subject: [PATCH 1/7] Try tests with frictionless==5.15 --- tests/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/requirements.txt b/tests/requirements.txt index 1b2941f..191aead 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -6,7 +6,7 @@ charset-normalizer==2.0.7 click==8.0.3 colorama==0.4.4 decorator==5.1.0 -frictionless==5.13.1 +frictionless==5.15.0 humanize==4.6.0 idna==3.3 isodate==0.6.0 From 5f2baf73757ca82e01d1e7154967340d3b704299 Mon Sep 17 00:00:00 2001 From: Peter Desmet Date: Wed, 26 Jun 2024 10:58:38 +0200 Subject: [PATCH 2/7] Bump frictionless to the latest version --- tests/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/requirements.txt b/tests/requirements.txt index 191aead..ff45622 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -6,7 +6,7 @@ charset-normalizer==2.0.7 click==8.0.3 colorama==0.4.4 decorator==5.1.0 -frictionless==5.15.0 +frictionless==5.17.0 humanize==4.6.0 idna==3.3 isodate==0.6.0 From c47f93e137b0d9fd2e41278540c89482e19f1707 Mon Sep 17 00:00:00 2001 From: Peter Desmet Date: Wed, 26 Jun 2024 11:00:30 +0200 Subject: [PATCH 3/7] Fix dependency issue frictionless 5.17.0 depends on jsonschema>=4.20 --- tests/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/requirements.txt b/tests/requirements.txt index ff45622..45b37d8 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -11,7 +11,7 @@ humanize==4.6.0 idna==3.3 isodate==0.6.0 Jinja2==3.1.2 -jsonschema==4.1.2 +jsonschema==4.20 markdown-it-py==2.2.0 marko==1.1.0 MarkupSafe==2.1.2 From 4dafa1027069d4e669b425daee25d23a5a84816b Mon Sep 17 00:00:00 2001 From: Peter Desmet Date: Wed, 26 Jun 2024 11:01:59 +0200 Subject: [PATCH 4/7] Define >= dependencies frictionless 5.17.0 depends on pydantic>=2.0 --- tests/requirements.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/requirements.txt b/tests/requirements.txt index 45b37d8..1866a33 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -11,7 +11,7 @@ humanize==4.6.0 idna==3.3 isodate==0.6.0 Jinja2==3.1.2 -jsonschema==4.20 +jsonschema>=4.20 markdown-it-py==2.2.0 marko==1.1.0 MarkupSafe==2.1.2 @@ -21,7 +21,7 @@ mypy-extensions==0.4.3 pathspec==0.9.0 petl==1.7.4 platformdirs==2.4.0 -pydantic==1.10.8 +pydantic>=2.0 Pygments==2.15.1 pyrsistent==0.18.0 python-dateutil==2.8.2 From d6544d8a3c2fb0500b83d96ab53942fa85034cee Mon Sep 17 00:00:00 2001 From: Peter Desmet Date: Wed, 26 Jun 2024 11:03:03 +0200 Subject: [PATCH 5/7] Update typer --- tests/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/requirements.txt b/tests/requirements.txt index 1866a33..1bd4dc4 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -40,7 +40,7 @@ tabulate==0.9.0 text-unidecode==1.3 toml==0.10.2 tomli==1.2.1 -typer==0.9.0 +typer>=0.12 typing_extensions==4.6.1 urllib3==1.26.7 validators==0.18.2 From ad13ce4c96c9fbab7ca0d24d2bd4575c18e4fe31 Mon Sep 17 00:00:00 2001 From: Peter Desmet Date: Wed, 26 Jun 2024 11:09:06 +0200 Subject: [PATCH 6/7] Fix defs reference (required by latest jsonschema-py) '#$defs/version' is not a valid anchor, neither as a plain name anchor nor as a JSON Pointer. You may have intended to use '#/$defs/version', as the slash is required *before each segment* of a JSON pointer. --- camtrap-dp-profile.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/camtrap-dp-profile.json b/camtrap-dp-profile.json index c9404a2..6b1cb91 100644 --- a/camtrap-dp-profile.json +++ b/camtrap-dp-profile.json @@ -57,7 +57,7 @@ "description": "URL of the used Camtrap DP Table Schema version (e.g. `https://raw.githubusercontent.com/tdwg/camtrap-dp/1.0/deployments-table-schema.json`).", "allOf": [ { - "$ref": "#$defs/version" + "$ref": "#/$defs/version" }, { "type": "string", From 1d189716a34e4ba6271cd7fc7f3c02f4b4a35843 Mon Sep 17 00:00:00 2001 From: Peter Desmet Date: Mon, 19 Aug 2024 16:21:22 +0200 Subject: [PATCH 7/7] Use latest version of frictionless >=5.13.1 --- tests/requirements.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/requirements.txt b/tests/requirements.txt index 1bd4dc4..390d8ae 100644 --- a/tests/requirements.txt +++ b/tests/requirements.txt @@ -6,7 +6,7 @@ charset-normalizer==2.0.7 click==8.0.3 colorama==0.4.4 decorator==5.1.0 -frictionless==5.17.0 +frictionless>=5.13.1 humanize==4.6.0 idna==3.3 isodate==0.6.0