mc2-center / data-models

Versioned history of the MC2 Center data model
https://mc2-center.github.io/data-models/
Creative Commons Zero v1.0 Universal
1 stars 1 forks source link

Fix "build-jsonld" GH Action #63

Closed vpchung closed 4 months ago

vpchung commented 4 months ago

Looking into the GH action, and I see the following error:

jsonschema.exceptions.ValidationError: The csv_schema has an error in the validation_rules set for attribute Grant Start Date. Validation failed with the following errors: [['NA', 'Grant Start Date', 'The csv_schema, has an error in the validation rule for the attribute: Grant Start Date, the provided validation rules (date) is not a valid rule. Please check spelling.', 'Not a Rule']]

From what I understand, this error should not be received, at least not with the latest version of schematic (24.1.1).

vpchung commented 4 months ago

2/2 update

Ahh, figured out the issue (hopefully the only one). The workflow is currently using Python 3.8, which is no longer supported by schematicpy. This would explain why the latest version (24.1.1) is not being installed.

Will attempt to use the latest stable version of Python now...

vpchung commented 4 months ago

another 2/2 update

Using Python3.12 did not work, but this is because I failed to notice that schematicpy does not support 3.11 and beyond. Using Python3.10 worked and the auto-build should now be working again 🤞