Skip to content

roc validator version 0.13.1, plus other package updates - #242

Merged
alexhambley merged 5 commits into
developfrom
240-upgrade-rocrate-validator-to-latest-version
Nov 6, 2026
Merged

alexhambley merged 5 commits into
developfrom
240-upgrade-rocrate-validator-to-latest-version

Conversation

@douglowe

@douglowe douglowe commented Nov 5, 2026 •

Copy link
Copy Markdown
Collaborator

Updated requirements:

  • celery 5.7.0
  • boto3 1.43.124
  • Werkzeug 3.1.9
  • python-dotenv 1.2.4
  • apiflask 3.1.3
  • roc-validator 0.13.1

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.

@douglowe douglowe linked an issue Nov 5, 2026 that may be closed by this pull request
@douglowe
douglowe requested review from alexhambley and a balanced review from Copilot November 6, 2026 10:14
@douglowe douglowe self-assigned this Nov 6, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟡 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 sourceOrganization constraints with a datePublished requirement.
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

Comment thread pyproject.toml Resolved
@alexhambley
alexhambley merged commit 7c614b3 into develop Nov 6, 2026
3 checks passed
@alexhambley
alexhambley deleted the 240-upgrade-rocrate-validator-to-latest-version branch November 6, 2026 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Upgrade rocrate-validator to latest version

3 participants