From 521eef1220380e4e5c2f09715914ec23152681b0 Mon Sep 17 00:00:00 2001 From: Alejandro Villar Date: Thu, 9 Nov 2023 14:43:52 +0100 Subject: [PATCH] Pin pySHACL to v0.21 pySHACL 0.22 handles extra ontologies differently, and this can affect our entailments / validations. See https://github.com/RDFLib/pySHACL/blob/master/CHANGELOG.md#in-this-release-2 --- .github/workflows/entail_and_validate_changes.yml | 5 +++++ scripts/requirements.txt | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/.github/workflows/entail_and_validate_changes.yml b/.github/workflows/entail_and_validate_changes.yml index 6559ee04..ca50b793 100644 --- a/.github/workflows/entail_and_validate_changes.yml +++ b/.github/workflows/entail_and_validate_changes.yml @@ -32,6 +32,11 @@ jobs: uses: actions/checkout@v3 with: ref: ${{ inputs.repo-ref }} + - name: Setup Python + uses: actions/setup-python + with: + python-version: '3.11' + cache: 'pip' - name: install Python dependencies run: | python -m pip install -U pip diff --git a/scripts/requirements.txt b/scripts/requirements.txt index a64dd618..65ca2ba1 100644 --- a/scripts/requirements.txt +++ b/scripts/requirements.txt @@ -1,4 +1,4 @@ -pyshacl>=0.19 +pyshacl<0.22 httpx rdflib>=6.0.1 html5lib @@ -8,4 +8,4 @@ PyYAML pyld wcmatch requests -ogc-na @ git+https://github.com/opengeospatial/ogc-na-tools@main#egg=ogc-na +ogc-na