Skip to content

Conversation

@foundrytom
Copy link
Contributor

@foundrytom foundrytom commented Jul 18, 2023

Fixes AttributeError: cython_source when trying to install.

see: yaml/pyyaml#601

So much for pinning deps :)

@foundrytom foundrytom requested a review from a team as a code owner July 18, 2023 14:52
@foundrytom foundrytom self-assigned this Jul 18, 2023
@foundrytom foundrytom marked this pull request as draft July 18, 2023 15:09
Fixes `AttributeError: cython_source` when trying to install via
`pyyaml` 6+, however `conan` `1.60.1` only supports `6.0.0` explicitly,
so we have to pin at that older version.

See: yaml/pyyaml#601

Signed-off-by: Tom Cowland <tom@foundry.com>
@foundrytom foundrytom changed the title [Build] Update pyyaml version to 6.0.1 [Build] Update pyyaml version to 6.0.0 and conan to 1.60.1 Jul 18, 2023
@foundrytom foundrytom marked this pull request as ready for review July 18, 2023 15:38
Copy link
Contributor

@elliotcmorris elliotcmorris left a comment

Choose a reason for hiding this comment

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

Ty for figuring this out. Hope it works.

Not the most comfortable thing in the world to be stuck on a specific version, did you read if there are plans to unstuck this upstream?

@foundrytom
Copy link
Contributor Author

Ty for figuring this out. Hope it works.

Not the most comfortable thing in the world to be stuck on a specific version, did you read if there are plans to unstuck this upstream?

I guess it depends on the Conan policy to back-port updates to 1.x, we may have to migrate to 2 long term 🤔 need to go hunt what they're saying about all that.

Copy link
Member

@feltech feltech left a comment

Choose a reason for hiding this comment

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

Unfortunate, but seems like the best solution for now.

@foundrytom foundrytom requested a review from feltech July 18, 2023 16:31
@foundrytom foundrytom merged commit 61ca2c0 into OpenAssetIO:main Jul 18, 2023
@foundrytom foundrytom deleted the work/pyyaml branch July 18, 2023 16:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants