Skip to content

Commit

Permalink
Bump case-utils to 0.15.0
Browse files Browse the repository at this point in the history
No effects were observed on Make-managed files.

Signed-off-by: Alex Nelson <alexander.nelson@nist.gov>
  • Loading branch information
ajnelson-nist committed Jan 10, 2024
1 parent e67f247 commit 3ee3540
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions case_cli_example/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions tests/cli/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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 \
_$@
Expand All @@ -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 \
Expand Down

0 comments on commit 3ee3540

Please sign in to comment.