From 0b4411af338ec97589f6b5eadde7711a0a593a79 Mon Sep 17 00:00:00 2001 From: shreddd Date: Wed, 20 Aug 2025 12:49:59 -0700 Subject: [PATCH 1/4] update schema tag --- pyproject.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pyproject.toml b/pyproject.toml index 0efddc8..780ef0e 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -33,7 +33,7 @@ dependencies = [ # ``` # Reference: https://pip.pypa.io/en/stable/topics/vcs-support/ # - "bertron-schema @ git+https://github.com/ber-data/bertron-schema.git@82498f5f5cbc71ed7abf71b8e2c01d15c003f8d8", + "bertron-schema @ git+https://github.com/ber-data/bertron-schema.git@v0.1.0-alpha.10", # "dtspy @ https://github.com/kbase/dtspy/archive/730828cff3924fc4b2215fe5c1b67bc04aad377f.tar.gz", "fastapi[standard]>=0.115.12", # `httpx` is a dependency of FastAPI's `TestClient` class, which we use From 639350c3927e8780e6e16fa91b7d18dec23d1360 Mon Sep 17 00:00:00 2001 From: shreddd Date: Wed, 20 Aug 2025 12:54:32 -0700 Subject: [PATCH 2/4] updated uv.lock --- uv.lock | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/uv.lock b/uv.lock index 78c93e9..d892800 100644 --- a/uv.lock +++ b/uv.lock @@ -1,5 +1,5 @@ version = 1 -revision = 3 +revision = 2 requires-python = ">=3.10.0, <3.14" resolution-markers = [ "python_full_version >= '3.12'", @@ -129,7 +129,7 @@ dev = [ [package.metadata] requires-dist = [ - { name = "bertron-schema", git = "https://github.com/ber-data/bertron-schema.git?rev=82498f5f5cbc71ed7abf71b8e2c01d15c003f8d8" }, + { name = "bertron-schema", git = "https://github.com/ber-data/bertron-schema.git?rev=v0.1.0-alpha.10" }, { name = "fastapi", extras = ["standard"], specifier = ">=0.115.12" }, { name = "httpx", specifier = ">=0.28.1" }, { name = "jsonschema", specifier = ">=4.0.0" }, @@ -151,7 +151,7 @@ dev = [ [[package]] name = "bertron-schema" version = "0.1.0" -source = { git = "https://github.com/ber-data/bertron-schema.git?rev=82498f5f5cbc71ed7abf71b8e2c01d15c003f8d8#82498f5f5cbc71ed7abf71b8e2c01d15c003f8d8" } +source = { git = "https://github.com/ber-data/bertron-schema.git?rev=v0.1.0-alpha.10#82498f5f5cbc71ed7abf71b8e2c01d15c003f8d8" } dependencies = [ { name = "linkml" }, { name = "linkml-runtime" }, From 029d9e2743f9322e0f9c8d40c1431955ef12f425 Mon Sep 17 00:00:00 2001 From: eecavanna Date: Wed, 20 Aug 2025 13:13:49 -0700 Subject: [PATCH 3/4] Use Git tag instead of commit hash to pin schema version in ingester --- mongodb/ingest_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongodb/ingest_data.py b/mongodb/ingest_data.py index ceed102..ad2953d 100644 --- a/mongodb/ingest_data.py +++ b/mongodb/ingest_data.py @@ -198,7 +198,7 @@ def main(): parser.add_argument("--db-name", default="bertron", help="MongoDB database name") parser.add_argument( "--schema-path", - default="https://raw.githubusercontent.com/ber-data/bertron-schema/82498f5f5cbc71ed7abf71b8e2c01d15c003f8d8/src/schema/jsonschema/bertron_schema.json", + default="https://raw.githubusercontent.com/ber-data/bertron-schema/v0.1.0-alpha.10", help="Path or URL to the BERtron schema JSON file", ) parser.add_argument( From 930e7558aec409a04938419482e4522e1f777885 Mon Sep 17 00:00:00 2001 From: eecavanna Date: Wed, 20 Aug 2025 13:16:18 -0700 Subject: [PATCH 4/4] Restore accidentally-truncated file path (oops) --- mongodb/ingest_data.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mongodb/ingest_data.py b/mongodb/ingest_data.py index ad2953d..799bc93 100644 --- a/mongodb/ingest_data.py +++ b/mongodb/ingest_data.py @@ -198,7 +198,7 @@ def main(): parser.add_argument("--db-name", default="bertron", help="MongoDB database name") parser.add_argument( "--schema-path", - default="https://raw.githubusercontent.com/ber-data/bertron-schema/v0.1.0-alpha.10", + default="https://raw.githubusercontent.com/ber-data/bertron-schema/v0.1.0-alpha.10/src/schema/jsonschema/bertron_schema.json", help="Path or URL to the BERtron schema JSON file", ) parser.add_argument(