Comments (12)
My diagnosis was wrong, sorry!
from nmdc-schema.
EDIT previously misdiagnosed. I should have just listed to @pkalita-lbl. This is something that was recently introduced in genjsonschema. The fix for now is to temporarily pin to not get the latest linkml
from nmdc-schema.
I just did complete make all test
in a fresh clone and a fresh poetry environment. I'm not sure what the difference were between my two environments.
from nmdc-schema.
will a poetry update break my local nmdc-schema ?
mark@NUC:~/nmdc-schema$ poetry update
Updating dependencies
Resolving dependencies... (16.1s)Writing lock file
Package operations: 1 install, 35 updates, 0 removals
Installing overrides (7.3.1)
Updating bioregistry (0.6.99 -> 0.6.108)
Updating certifi (2022.12.7 -> 2023.5.7)
Updating cruft (2.14.0 -> 2.15.0)
Updating curies (0.4.5 -> 0.5.5)
Updating fastjsonschema (2.16.3 -> 2.17.1)
Updating google-api-python-client (2.86.0 -> 2.87.0)
Updating google-auth (2.17.3 -> 2.18.1)
Updating gspread (5.8.0 -> 5.9.0)
Updating ipykernel (6.22.0 -> 6.23.1)
Updating ipython (8.13.0 -> 8.13.2)
Updating jupyter-server (2.5.0 -> 2.6.0)
Updating linkml (1.5.2 -> 1.5.3)
Updating linkml-runtime (1.5.2 -> 1.5.3)
Updating mkdocs (1.4.2 -> 1.4.3)
Updating mkdocs-material (9.1.8 -> 9.1.14)
Updating nbclassic (0.5.5 -> 1.0.0)
Updating nbclient (0.7.4 -> 0.8.0)
Updating nbconvert (7.3.1 -> 7.4.0)
Updating platformdirs (3.3.0 -> 3.5.1)
Updating prometheus-client (0.16.0 -> 0.17.0)
Updating protobuf (4.22.3 -> 4.23.1)
Updating pydantic (1.10.7 -> 1.10.8)
Updating pymdown-extensions (9.11 -> 10.0.1)
Updating qtconsole (5.4.2 -> 5.4.3)
Updating regex (2023.3.23 -> 2023.5.5)
Updating requests (2.29.0 -> 2.31.0)
Updating setuptools (67.7.2 -> 67.8.0)
Updating sphinx-rtd-theme (1.2.0 -> 1.2.1)
Updating sqlalchemy (2.0.10 -> 2.0.15)
Updating tornado (6.3.1 -> 6.3.2)
Updating typer (0.7.0 -> 0.9.0)
Updating typing-extensions (4.5.0 -> 4.6.2)
Updating urllib3 (1.26.15 -> 1.26.16)
Updating virtualenv (20.22.0 -> 20.23.0)
Updating websocket-client (1.5.1 -> 1.5.2)
from nmdc-schema.
Yes! one of those newer versions breaks the testing process.
@pkalita-lbl always told me to be careful about that.
from nmdc-schema.
git restore poetry.lock
poetry install
make all test
restored the local repo that I thought was beyond repair
from nmdc-schema.
back to the nmdc-schema for a moment:
grep -i -R uriorcurie src/schema/*
src/schema/basic_slots.yaml: range: uriorcurie
src/schema/external_identifiers.yaml: typeof: uriorcurie
src/schema/external_identifiers.yaml: range: uriorcurie
from nmdc-schema.
- Show the generated jsonschema with old and new imports
- Also illustrate with a core validation approach
from nmdc-schema.
the problem is here
project/nmdc_materialized_patterns.yaml:
$(RUN) gen-linkml \
--format yaml \
--materialize-patterns \
--no-materialize-attributes \
--output $@ $(SOURCE_SCHEMA_PATH)
this loses the import to linkml:types
from nmdc-schema.
Thanks for looking @cmungall but I don't see what you're talking about.
from nmdc-schema.
Even the following canonical validation fails with the same error as the first post in this issue
poetry run linkml-validate --schema src/schema/nmdc.yaml src/data/valid/Database-nmdc-example.yaml
from nmdc-schema.
from nmdc-schema.
Related Issues (20)
- Remove WorkflowExeuctionActivity as a range for Database slot activity_set
- tighter pattern constraint on was_generated_by
- Migrator: Update `migrator_from_10_3_0_to_10_4_0.py` so it also updates `was_generated_by` values HOT 1
- Docker Compose shows warning saying `version` (specifier) is obsolete
- extra leading caret in `structured_pattern`s HOT 3
- remove logic to repair curies HOT 1
- replace uses of `nmdc_schema_merged.yaml` with `nmdc_schema/nmdc_materialized_patterns.yaml` HOT 3
- force update of `urllib3` version HOT 2
- `berkeley-schema-fy24`: Schema version underlying `SchemaView` instance changes from one release to the next HOT 1
- Add PR template to `nmdc-schema`
- Finalize metatranscriptome modeling for nmdc HOT 1
- MIxS Environmental Context slot grouping
- `known_as` slot needs description and `structured_pattern` constraints
- `berkeley-schema-fy24`: id slot_usage resulting in badly minted IDs HOT 17
- `berkeley-schema-fy24`: Update `part_16` migrator to include `metatranscriptome_expression_analysis_set` collection
- document the fact that working on a PR template is the only case in which PRs don't require review HOT 1
- Fix PR template functionality HOT 1
- update range and pattern on metagenome_annotation_id to allow metatranscriptome workflow activities
- Draft: add details to `InstrumentModelEnum`
- `berkeley`: Fix range for `was_generated_by` slot
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nmdc-schema.