Repository navigation
roc validator version 0.13.1, plus other package updates - #242
Merged
alexhambley merged 5 commits intoNov 6, 2026
Merged
Conversation
douglowe
requested review from
alexhambley
and
a balanced review from Copilot
November 6, 2026 10:14
There was a problem hiding this comment.
🟡 Changes recommended
The documented default profile remains ro-crate-1.1, while roc-validator 0.13.1 defaults to ro-crate-1.3, so clients omitting profile_name face different validation requirements than documented.
1 open issue
What changed in this PR
Upgrades the service to roc-validator 0.13.1 and refreshes dependencies, with integration fixtures adapted to RO-Crate 1.3 and the validator’s bundled profiles.
Changes:
- Updates direct dependencies and both lockfiles.
- Removes the local RO-Crate base profile fixtures.
- Migrates the example crate to 1.3 and replaces alpha-crate’s
sourceOrganizationconstraints with adatePublishedrequirement.
| File | Description |
|---|---|
tests/data/rocrate_validator_profiles/ro-crate/should/6_contextual_entity_metadata.ttl |
Removes local contextual-entity recommendations. |
tests/data/rocrate_validator_profiles/ro-crate/should/5_web_data_entity_metadata.ttl |
Removes local web-data metadata recommendations. |
tests/data/rocrate_validator_profiles/ro-crate/should/5_web_data_entity_metadata.py |
Removes local web-resource checks. |
tests/data/rocrate_validator_profiles/ro-crate/should/4_data_entity_metadata.ttl |
Removes local data-entity recommendations. |
tests/data/rocrate_validator_profiles/ro-crate/should/4_data_entity_existence.py |
Removes local availability recommendations. |
tests/data/rocrate_validator_profiles/ro-crate/should/2_root_data_entity_relative_uri.py |
Removes the local root-URI recommendation. |
tests/data/rocrate_validator_profiles/ro-crate/should/2_root_data_entity_metadata.ttl |
Removes local root metadata recommendations. |
tests/data/rocrate_validator_profiles/ro-crate/profile.ttl |
Removes the local base-profile definition. |
tests/data/rocrate_validator_profiles/ro-crate/prefixes.ttl |
Removes local base-profile prefixes. |
tests/data/rocrate_validator_profiles/ro-crate/ontology.ttl |
Removes the local base-profile ontology. |
tests/data/rocrate_validator_profiles/ro-crate/must/6_contextual_entity.ttl |
Removes local contextual-entity requirements. |
tests/data/rocrate_validator_profiles/ro-crate/must/5_web_data_entity_metadata.ttl |
Removes local web-data identification rules. |
tests/data/rocrate_validator_profiles/ro-crate/must/4_data_entity_metadata.ttl |
Removes local data-entity requirements. |
tests/data/rocrate_validator_profiles/ro-crate/must/4_data_entity_metadata.py |
Removes local payload-availability checks. |
tests/data/rocrate_validator_profiles/ro-crate/must/2_root_data_entity_metadata.ttl |
Removes local root-entity requirements. |
tests/data/rocrate_validator_profiles/ro-crate/must/1_file-descriptor_metadata.ttl |
Removes local metadata-descriptor requirements. |
tests/data/rocrate_validator_profiles/ro-crate/must/0_file_descriptor_format.py |
Removes local descriptor-format checks. |
tests/data/rocrate_validator_profiles/ro-crate/may/61_license_entity.ttl |
Removes local optional license checks. |
tests/data/rocrate_validator_profiles/ro-crate/may/4_data_entity_metadata.ttl |
Removes local optional data-entity checks. |
tests/data/rocrate_validator_profiles/alpha-crate/1_root_data_entity.ttl |
Replaces organization constraints with a publication-date requirement. |
tests/data/ro-crate-metadata.json |
Updates context and conformance to RO-Crate 1.3. |
requirements.txt |
Refreshes runtime dependency pins. |
requirements-dev.txt |
Refreshes development dependency pins. |
pyproject.toml |
Updates six direct runtime dependencies. |
Review effort: Balanced
alexhambley
approved these changes
Nov 6, 2026
alexhambley
deleted the
240-upgrade-rocrate-validator-to-latest-version
branch
November 6, 2026 11:06
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.

Updated requirements:
Some of the data for the integration tests has been adapted to accommodate the new RO-Crate validator. The example ro-crate is bumped to version 1.3, the ro-crate base profile removed and alpha-crate requirements changed so that there are no clashing requirements with the existing ro-crate profiles bundled with the roc-validator.
Documentation has been updated to reflect that new default ro-crate profile is 1.3.