From 3ee354019cb33ed25f84530c5d177d2f61ed1470 Mon Sep 17 00:00:00 2001 From: Alex Nelson Date: Wed, 10 Jan 2024 12:22:28 -0800 Subject: [PATCH] Bump case-utils to 0.15.0 No effects were observed on Make-managed files. Signed-off-by: Alex Nelson --- case_cli_example/cli.py | 8 ++++---- setup.cfg | 2 +- tests/cli/Makefile | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/case_cli_example/cli.py b/case_cli_example/cli.py index 13f37ef..08d1409 100644 --- a/case_cli_example/cli.py +++ b/case_cli_example/cli.py @@ -19,9 +19,9 @@ import argparse import logging -import case_utils -from case_utils.local_uuid import local_uuid +import cdo_local_uuid from case_utils.namespace import NS_RDF, NS_UCO_CORE, NS_UCO_IDENTITY, NS_XSD +from cdo_local_uuid import local_uuid from rdflib import Graph, Literal, Namespace from rdflib.util import guess_format @@ -53,11 +53,11 @@ def main() -> None: args = argument_parser.parse_args() logging.basicConfig(level=logging.DEBUG if args.debug else logging.INFO) - # See case_utils.local_uuid._demo_uuid for how to use this to set up + # See cdo_local_uuid._demo_uuid for how to use this to set up # a process call that opts in to nonrandom UUIDs. Opting in is # beneficial for generating and version-controlling example runs of # this tool, but might not be appropriate for production operation. - case_utils.local_uuid.configure() + cdo_local_uuid.configure() # Define Namespace object to assist with generating individual nodes. ns_kb = Namespace(args.kb_prefix_iri) diff --git a/setup.cfg b/setup.cfg index d155c8a..385cc10 100644 --- a/setup.cfg +++ b/setup.cfg @@ -29,7 +29,7 @@ classifiers = [options] install_requires = - case_utils >= 0.14.0, < 0.15.0 + case_utils >= 0.15.0, < 0.16.0 packages = find: python_requires = >=3.9 diff --git a/tests/cli/Makefile b/tests/cli/Makefile index 94fd389..54368c1 100644 --- a/tests/cli/Makefile +++ b/tests/cli/Makefile @@ -48,7 +48,7 @@ clean: example_output.%: \ $(top_srcdir)/case_cli_example/cli.py \ $(top_srcdir)/tests/.venv.done.log - export CASE_DEMO_NONRANDOM_UUID_BASE="$(top_srcdir)" \ + export CDO_DEMO_NONRANDOM_UUID_BASE="$(top_srcdir)" \ && source $(top_srcdir)/tests/venv/bin/activate \ && case_cli_example \ _$@ @@ -60,7 +60,7 @@ example_output.%: \ example_output_debug.%: \ $(top_srcdir)/case_cli_example/cli.py \ $(top_srcdir)/tests/.venv.done.log - export CASE_DEMO_NONRANDOM_UUID_BASE="$(top_srcdir)" \ + export CDO_DEMO_NONRANDOM_UUID_BASE="$(top_srcdir)" \ && source $(top_srcdir)/tests/venv/bin/activate \ && case_cli_example \ --debug \