Skip to content

Conversation

@feltech
Copy link
Member

@feltech feltech commented Jan 7, 2026

Closes #98.

As of TraitGen v1.0.0-alpha.13+ the YAML schema has been updated to support versioned traits and specifications.

So update traits.yml to use the new schema.

This is a breaking change, in that older versions of the openassetio-traitgen package will no longer work.

@feltech feltech requested a review from a team as a code owner January 7, 2026 12:54
@feltech feltech force-pushed the 98-versionedTraits branch from ad3558e to 622d6a6 Compare January 7, 2026 13:00
@feltech feltech changed the title 98 versioned traits Update to new versioned trait schema Jan 7, 2026
@feltech feltech marked this pull request as draft January 7, 2026 13:05
@feltech
Copy link
Member Author

feltech commented Jan 7, 2026

Marked as Draft pending release of openassetio-traitgen v1.0.0-alpha.13 and hence the dropping of the drop! commit that targets dependencies at TraitGen repo's main instead of PyPI.

@feltech feltech requested a review from hutchinson January 7, 2026 13:06
@feltech feltech self-assigned this Jan 7, 2026
@feltech feltech force-pushed the 98-versionedTraits branch 6 times, most recently from 9a07320 to 2881b55 Compare January 8, 2026 11:22
@feltech
Copy link
Member Author

feltech commented Jan 8, 2026

MacOS CI is failing pending #125

Part of OpenAssetIO#98. Closes OpenAssetIO#45.

Using `find_program` is best CMake practice, and helps when testing
different (e.g. development) versions of `openassetio-traitgen`.

Signed-off-by: David Feltell <david.feltell@foundry.com>
Closes OpenAssetIO#98.

As of TraitGen v1.0.0-alpha.13+ the YAML schema has been updated to
support versioned traits and specifications.

So update traits.yml to use the new schema.

This is a breaking change, in that older versions of the
`openassetio-traitgen` package will no longer work.

Signed-off-by: David Feltell <david.feltell@foundry.com>
Until `openassetio-traitgen` v1.0.0-alpha.13 is released, we must
install from the `main` branch of the TraitGen git repo.

Once there has been a successful release of TraitGen, this commit should
be dropped.

Signed-off-by: David Feltell <david.feltell@foundry.com>
@feltech feltech force-pushed the 98-versionedTraits branch from 2881b55 to cbe5016 Compare January 15, 2026 14: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.

Update schema to be compatible with trait versioning

1 participant