Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.14.1 #145

Merged
merged 51 commits into from
Dec 22, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
51 commits
Select commit Hold shift + click to select a range
ea630cc
Backport
ajnelson-nist Dec 18, 2023
b001b9a
Set rdflib ceiling for 0.5.x releases
ajnelson-nist Dec 20, 2023
e3c8685
Run and apply pre-commit autoupdate
ajnelson-nist Dec 19, 2023
63afdfc
Backport rdf-toolkit version as test library
ajnelson-nist Dec 20, 2023
3df46fb
Update Python usage to reflect 3.7 EOL
ajnelson-nist Dec 20, 2023
53958f9
Merge branches 'HotFix-0.5.1-bump_python_to_3_8', 'HotFix-0.5.1-refre…
ajnelson-nist Dec 20, 2023
b94941f
Run CI on support-* branches
ajnelson-nist Dec 19, 2023
60938ef
Bump version
ajnelson-nist Dec 20, 2023
47fbdfe
Merge branch 'HotFix-CDO-Utility-Local-UUID-Pull-3' into release-0.5.1
ajnelson-nist Dec 20, 2023
63de50e
Run and apply pre-commit autoupdate
ajnelson-nist Dec 20, 2023
1f12e57
Set pyshacl ceiling for 0.7.x releases
ajnelson-nist Dec 20, 2023
99491ae
Backport 'Switch release tracking logic' and 'Switch action check'
ajnelson-nist Dec 20, 2023
c72a582
Merge branch 'HotFix-0.5.1-backport_pr_59' into release-0.5.1
ajnelson-nist Dec 20, 2023
939775f
Merge pull request #146 from casework/release-0.5.1
kchason Dec 20, 2023
9382ef7
Bump version
ajnelson-nist Dec 21, 2023
9c9b312
Merge pull request #147 from casework/release-0.5.1
kchason Dec 22, 2023
3473e59
Bump version
ajnelson-nist Dec 22, 2023
0cc08cb
Merge pull request #148 from casework/release-0.5.1.post0
kchason Dec 22, 2023
fca7388
Merge branches 'HotFix-0.6.1-refresh_pre_commit' and 'support-0.5.x' …
ajnelson-nist Dec 22, 2023
9273223
Bump version
ajnelson-nist Dec 22, 2023
ea54c7a
Revert "Backport rdf-toolkit version as test library"
ajnelson-nist Dec 22, 2023
b4e91a8
Merge pull request #149 from casework/release-0.6.1
kchason Dec 22, 2023
e4ffadc
Merge branches 'HotFix-0.7.1-set_pyshacl_ceiling' and 'support-0.6.x'…
ajnelson-nist Dec 22, 2023
83865ea
Bump version
ajnelson-nist Dec 22, 2023
0e223a5
Merge branch 'release-0.7.1' into support-0.7.x
ajnelson-nist Dec 22, 2023
7141ddb
Run and apply pre-commit autoupdate
ajnelson-nist Dec 22, 2023
db428a0
Merge branches 'HotFix-0.8.1-refresh_pre_commit' and 'support-0.7.x' …
ajnelson-nist Dec 22, 2023
6ec8b74
Bump version
ajnelson-nist Dec 22, 2023
9f2dbe7
Lift pyshacl ceiling for 0.8.x releases
ajnelson-nist Dec 22, 2023
893eac6
Merge branch 'release-0.8.1' into support-0.8.x
ajnelson-nist Dec 22, 2023
7774dd9
Run and apply pre-commit autoupdate
ajnelson-nist Dec 22, 2023
94286ab
Set pandas ceiling for 0.9.x releases
ajnelson-nist Dec 22, 2023
7e02d18
Merge branches 'HotFix-0.9.1-refresh_pre_commit', 'HotFix-0.9.1-set_p…
ajnelson-nist Dec 22, 2023
4c475fd
Bump version
ajnelson-nist Dec 22, 2023
6763eaf
Merge branch 'release-0.9.1' into support-0.9.x
ajnelson-nist Dec 22, 2023
92c322e
Merge branch 'support-0.9.x' into release-0.10.1
ajnelson-nist Dec 22, 2023
2f580a2
Bump version
ajnelson-nist Dec 22, 2023
800b8b1
Lift rdflib ceiling for 0.10.x releases
ajnelson-nist Dec 22, 2023
5acb929
Merge branch 'release-0.10.1' into support-0.10.x
ajnelson-nist Dec 22, 2023
a061c88
Merge branch 'support-0.10.x' into release-0.11.1
ajnelson-nist Dec 22, 2023
13674d4
Bump version
ajnelson-nist Dec 22, 2023
fdc3241
Merge branch 'release-0.11.1' into support-0.11.x
ajnelson-nist Dec 22, 2023
267bba0
Merge branch 'support-0.11.x' into release-0.12.1
ajnelson-nist Dec 22, 2023
4b7f6a4
Bump version
ajnelson-nist Dec 22, 2023
536e2cd
Lift rdflib ceiling for 0.12.x releases
ajnelson-nist Dec 22, 2023
00864cd
Merge branch 'release-0.12.1' into support-0.12.x
ajnelson-nist Dec 22, 2023
dadc6b4
Merge branch 'support-0.12.x' into release-0.13.1
ajnelson-nist Dec 22, 2023
a0e74e2
Bump version
ajnelson-nist Dec 22, 2023
1cccae8
Merge branch 'release-0.13.1' into support-0.13.x
ajnelson-nist Dec 22, 2023
156d81e
Merge branch 'support-0.13.x' into release-0.14.1
ajnelson-nist Dec 22, 2023
0ae98b4
Bump version
ajnelson-nist Dec 22, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,15 @@ name: Continuous Integration

on:
push:
branches:
branches:
- main
- develop
- support-*
pull_request:
branches:
branches:
- main
- develop
- support-*
release:
types:
- published
Expand All @@ -35,7 +37,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
python-version:
python-version:
- '3.9'
- '3.12'

Expand All @@ -57,7 +59,7 @@ jobs:
run: make clean
- name: Run tests
run: make PYTHON3=python check

# Build the binary wheel as well as the source tar
- name: Build Objects
run: |
Expand Down
4 changes: 2 additions & 2 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
repos:
- repo: https://github.com/psf/black
rev: 23.11.0
rev: 23.12.0
hooks:
- id: black
- repo: https://github.com/pycqa/flake8
rev: 6.1.0
hooks:
- id: flake8
- repo: https://github.com/pycqa/isort
rev: 5.12.0
rev: 5.13.2
hooks:
- id: isort
name: isort (python)
2 changes: 1 addition & 1 deletion case_utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,6 @@
#
# We would appreciate acknowledgement if the software is used.

__version__ = "0.14.0"
__version__ = "0.14.1"

from . import local_uuid # noqa: F401
29 changes: 25 additions & 4 deletions case_utils/local_uuid.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,28 @@
_logger = logging.getLogger(pathlib.Path(__file__).name)


def _is_relative_to(p1: pathlib.Path, p2: pathlib.Path) -> bool:
"""
This function provides pathlib.is_relative_to to Pythons before 3.9. After the End of Life of Python 3.8, this function can be removed.
"""
if sys.version_info < (3, 9):
try:
_ = p1.relative_to(p2)
return True
except ValueError:
return False
else:
return p1.is_relative_to(p2)


def configure() -> None:
"""
This function is part of setting up _demo_uuid() to generate non-random UUIDs. See _demo_uuid() documentation for further setup notes.
"""
global DEMO_UUID_BASE

# _logger.debug("sys.argv = %r.", sys.argv)

if os.getenv("DEMO_UUID_REQUESTING_NONRANDOM") == "NONRANDOM_REQUESTED":
warnings.warn(
"Environment variable DEMO_UUID_REQUESTING_NONRANDOM is deprecated. See case_utils.local_uuid._demo_uuid for usage notes on its replacement, CASE_DEMO_NONRANDOM_UUID_BASE. Proceeding with random UUIDs.",
Expand Down Expand Up @@ -94,18 +110,23 @@ def configure() -> None:
demo_uuid_base_parts.append(sys.argv[0])
else:
command_original_path = pathlib.Path(sys.argv[0])
# _logger.debug("command_original_path = %r.", command_original_path)
command_resolved_path = command_original_path.resolve()
# _logger.debug("command_resolved_path = %r.", command_resolved_path)

# The command could be a command embedded in a virtual
# environment, or it could be a script external to any virtual
# environment.
venv_original_path = pathlib.Path(env_venv_name)
venv_resolved_path = venv_original_path.resolve()
try:
if _is_relative_to(command_resolved_path, venv_resolved_path):
command_relative_path = command_resolved_path.relative_to(
venv_resolved_path
)
# _logger.debug("command_relative_path = %r.", command_relative_path)
demo_uuid_base_parts.append(str(command_relative_path))
except ValueError:
# _logger.debug("Command path is not relative to virtual environment path.")
demo_uuid_base_parts.append(str(command_resolved_path))
else:
demo_uuid_base_parts.append(str(command_original_path))

if len(sys.argv) > 1:
# Component: Arguments of argument vector.
Expand Down
4 changes: 1 addition & 3 deletions tests/case_utils/case_validate/uco_test_examples/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,7 @@ SHELL := /bin/bash

top_srcdir := $(shell cd ../../../.. ; pwd)

case_srcdir := $(top_srcdir)/dependencies/CASE

uco_srcdir := $(case_srcdir)/dependencies/UCO
uco_srcdir := $(top_srcdir)/dependencies/CASE/dependencies/UCO

examples_srcdir := $(uco_srcdir)/tests/examples

Expand Down