diff --git a/.github/workflows/model-checks.yml b/.github/workflows/model-checks.yml index ed8e8b9..a539724 100644 --- a/.github/workflows/model-checks.yml +++ b/.github/workflows/model-checks.yml @@ -6,6 +6,9 @@ on: - main pull_request: +env: + PYTHONWARNINGS: ignore + jobs: lint: runs-on: ubuntu-latest diff --git a/.github/workflows/sitebuild.yml b/.github/workflows/sitebuild.yml index 73c81b3..ee93978 100644 --- a/.github/workflows/sitebuild.yml +++ b/.github/workflows/sitebuild.yml @@ -14,6 +14,9 @@ concurrency: group: "pages" cancel-in-progress: false +env: + PYTHONWARNINGS: ignore + jobs: build: runs-on: ubuntu-latest diff --git a/.github/workflows/validate-examples.yaml b/.github/workflows/validate-examples.yaml index 3bfd31f..6062336 100644 --- a/.github/workflows/validate-examples.yaml +++ b/.github/workflows/validate-examples.yaml @@ -6,6 +6,9 @@ on: - main pull_request: +env: + PYTHONWARNINGS: ignore + jobs: lint: runs-on: ubuntu-latest diff --git a/Makefile b/Makefile index 0f9199f..dae31e3 100644 --- a/Makefile +++ b/Makefile @@ -280,13 +280,13 @@ convertexamples/%: src/%.yaml src/%/examples [ "$$ex" = "$<" ] && continue; \ echo "Converting $$ex" ; \ for outf in json rdf; do \ - linkml-convert \ - -s "$<" \ + ( cd $$(dirname "$<"); linkml-convert \ + -s "$$(basename "$<")" \ --target-class-from-path \ --infer \ -t "$$outf" \ - "$$ex" \ - > $${ex%.yaml}.$${outf}.tmp && \ + ../../"$$ex" \ + ) > $${ex%.yaml}.$${outf}.tmp && \ mv $${ex%.yaml}.$${outf}.tmp $${ex%.yaml}.$${outf} ; \ done \ done diff --git a/patches/pythongen_type_reference_order.diff b/patches/pythongen_type_reference_order.diff index e7aa2f9..fa84ecd 100644 --- a/patches/pythongen_type_reference_order.diff +++ b/patches/pythongen_type_reference_order.diff @@ -9,7 +9,7 @@ index bcf13d0f..feb5b7bc 100644 import os import re +from collections import defaultdict - from collections.abc import Iterator + from collections.abc import Callable, Iterator from copy import copy from dataclasses import dataclass +from graphlib import TopologicalSorter diff --git a/pyproject.toml b/pyproject.toml index 75a2f68..95ea7d3 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ classifiers = [ "Programming Language :: Python :: Implementation :: PyPy", ] dependencies = [ - "linkml", + "linkml >= 1.10", "dump-things-service", ] diff --git a/src/demo-research-information/unreleased.yaml b/src/demo-research-information/unreleased.yaml index 9b40a64..31525f9 100644 --- a/src/demo-research-information/unreleased.yaml +++ b/src/demo-research-information/unreleased.yaml @@ -41,6 +41,7 @@ prefixes: CiTO: http://purl.org/spar/cito/ ISSN: http://identifiers.org/issn/ ODRL: http://www.w3.org/ns/odrl/2/ + SCoRO: http://purl.org/spar/scoro/ bibo: http://purl.org/ontology/bibo/ # TODO preliminary definition, pointing to a future resolver datalad: https://pid.datalad.org/datasets/