Closed eecavanna closed 1 month ago
In case it helps: Here's what $ git status
shows immediately after the error occurs:
root@88fea4e9137f:/nmdc-schema# git status
On branch main
Your branch is up to date with 'origin/main'.
Changes not staged for commit:
(use "git add/rm <file>..." to update what will be committed)
(use "git restore <file>..." to discard changes in working directory)
deleted: nmdc_schema/gold-to-mixs.sssom.tsv
modified: nmdc_schema/nmdc.py
deleted: nmdc_schema/nmdc_materialized_patterns.schema.json
deleted: nmdc_schema/nmdc_materialized_patterns.yaml
modified: nmdc_schema/nmdc_schema_accepting_legacy_ids.py
deleted: nmdc_schema/nmdc_schema_merged.yaml
no changes added to commit (use "git add" and/or "git commit -a")
@eecavanna @turbomam I'm going to move this to the new sprint since the issue was just created 2 days ago and the sprint ends today.
@eecavanna I too saw this error locally. I fixed it by sychronizing my environment with the poetry lockfile using $ poetry install
. Have you tried that?
Thanks, @kheal! No, I haven't. I forgot to do that. I will try that and report back.
+1 @kheal - there was an upgrade to linkml to support the deprecation process we discussed.
That did the trick, @kheal — thanks again!
For future reference, here's what I ran:
docker compose up --detach
docker compose exec app bash
app
container:
poetry install
make squeaky-clean all
I will close this issue. I consider this user error on my part (I haven't gotten into the habit of running poetry install
on a regular basis yet).
I checked out the tip of the
main
branch of theberkeley-schema-fy24
fork (this commit) and — with no local changes present — spun up the Docker-based development environment and ran$ make squeaky-clean all
.The operation failed with the following error:
Here's the full transcript:
Here's the problematic target (
Makefile
lines 165-171 are shown here):