Skip to content

Commit

Permalink
Bump case-utils and case-validation-action adopted version
Browse files Browse the repository at this point in the history
Signed-off-by: Alex Nelson <[email protected]>
  • Loading branch information
ajnelson-nist committed Jan 26, 2024
1 parent 166e48a commit 2be70e2
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 7 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,8 @@ jobs:
# Run the CASE validation job to confirm all examples in exifread_output_examples are valid
- name: CASE Export Validation
uses: kchason/case-validation-action@v2.8.0
uses: kchason/case-validation-action@v2.9.0
with:
case-path: ./exifread_output_examples/
case-version: "case-1.2.0"
case-version: "case-1.3.0"
extension-filter: "json"
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[![CASE-Implementation-PyPI-Exifread](https://github.com/casework/CASE-Implementation-PyPI-Exifread/actions/workflows/python-package.yml/badge.svg)](https://github.com/casework/CASE-Implementation-PyPI-Exifread/actions/workflows/python-package.yml)
![CASE Version](https://img.shields.io/badge/CASE%20Version-1.2.0-brightgreen)
![CASE Version](https://img.shields.io/badge/CASE%20Version-1.3.0-brightgreen)

# CASE-Implementation-PyPI-Exifread

Expand Down
7 changes: 4 additions & 3 deletions exifread_case/exifread_case.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,11 @@
import warnings

import case_utils.inherent_uuid
import case_utils.local_uuid
import cdo_local_uuid
import exifread
import rdflib
import rdflib.plugins.sparql
from cdo_local_uuid import local_uuid

from case_utils.namespace import NS_RDF, \
NS_RDFS, NS_UCO_CORE, NS_UCO_OBSERVABLE, \
Expand Down Expand Up @@ -48,7 +49,7 @@ def get_node_iri(
node_id = ns[f"{prefix}{_node_uuid}"]

if node_id is None:
node_id = ns[f"{prefix}{case_utils.local_uuid.local_uuid()}"]
node_id = ns[f"{prefix}{local_uuid()}"]
return node_id


Expand Down Expand Up @@ -365,7 +366,7 @@ def main():
file_info = get_file_info(local_file)
tags = get_exif(local_file)
tag_dict = create_exif_dict(tags)
case_utils.local_uuid.configure()
cdo_local_uuid.configure()
out_graph = rdflib.Graph()
exif_facet_node, raster_facet_node, file_facet_node, content_facet_node \
= n_cyber_object_to_node(out_graph)
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ classifiers =
[options]
install_requires =
exifread
case_utils >= 0.13.0, < 0.14.0
case_utils >= 0.16.0, < 0.17.0
packages = find:
python_requires = >=3.9

Expand Down

0 comments on commit 2be70e2

Please sign in to comment.