From 08a917816bec098318c38bf8fc54c9b80e75c663 Mon Sep 17 00:00:00 2001 From: seitenbau-govdata Date: Tue, 4 Mar 2025 14:51:56 +0100 Subject: [PATCH 1/2] Add missing URIRefOrLiteral import in the __init__ file of profiles --- ckanext/dcat/profiles/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ckanext/dcat/profiles/__init__.py b/ckanext/dcat/profiles/__init__.py index 7be5a4bb..6bee8d27 100644 --- a/ckanext/dcat/profiles/__init__.py +++ b/ckanext/dcat/profiles/__init__.py @@ -1,4 +1,4 @@ -from .base import RDFProfile, CleanedURIRef +from .base import RDFProfile, CleanedURIRef, URIRefOrLiteral from .base import ( CNT, CR, From 01fd7ec9ad14b817c0825807cf07c85d68dabf93 Mon Sep 17 00:00:00 2001 From: seitenbau-govdata Date: Tue, 4 Mar 2025 14:58:29 +0100 Subject: [PATCH 2/2] Update changelog --- CHANGELOG.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 7cbee0ee..f6193607 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,12 +2,13 @@ ## [Unreleased](https://github.com/ckan/ckanext-dcat/compare/v2.3.0...HEAD) +* Add missing URIRefOrLiteral import in profiles module. ([#343](https://github.com/ckan/ckanext-dcat/pull/343)) ## [v2.3.0](https://github.com/ckan/ckanext-dcat/compare/v2.2.0...v2.3.0) - 2025-02-25 * New profile to support the [Croissant](https://mlcommons.org/working-groups/data/croissant/) format. Croissant is a community standard for describing ML datasets. The new `croissant` plugin allows a CKAN site to - expose its datasets using the [Croissant format specification](https://docs.mlcommons.org/croissant/docs/croissant-spec.html). Check the [documentation](https://docs.ckan.org/projects/ckanext-dcat/en/latest/croissant/) for more information on schema mapping, features supported and examples. Thanks to [@Reikyo](https://github.com/Reikyo) for their contributions ([#339](https://docs.ckan.org/projects/ckanext-dcat/en/latest/croissant://github.com/ckan/ckanext-dcat/pull/339), [#341](https://github.com/ckan/ckanext-dcat/pull/341)) + expose its datasets using the [Croissant format specification](https://docs.mlcommons.org/croissant/docs/croissant-spec.html). Check the [documentation](https://docs.ckan.org/projects/ckanext-dcat/en/latest/croissant/) for more information on schema mapping, features supported and examples. Thanks to [@Reikyo](https://github.com/Reikyo) for their contributions ([#339](https://github.com/ckan/ckanext-dcat/pull/339), [#341](https://github.com/ckan/ckanext-dcat/pull/341)) * Fix `has_version` in HealthDCAT schema ([#336](https://github.com/ckan/ckanext-dcat/pull/336)) * Include dependencies in pyproject.toml, publish extension on PyPI. This means that starting from ckanext-dcat 2.3.0 the extension can be installed by running: ```