Skip to content

sel4-deps: cypthon >=3 breaks pyyaml < 6 at build #1295

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

lsf37
Copy link
Member

@lsf37 lsf37 commented Jul 12, 2024

Require cython < 3, because >=3 breaks the install for pyyaml at build/install time for more recent python versions. The cython < 3 fix only works on pyyaml < 5.4, so we add < 5.4 there instead of < 6 (which was already required by cmake-format=0.4.5).

See also yaml/pyyaml#601

sel4-deps 0.6.0 isn't published yet (yay for pypitest..), so no version bump.

This whole thing is getting somewhat frustrating, but this combination should at least work in a fresh install.

Require cython < 3, because >=3 breaks the install for pyyaml < 5.4 at
build/install time for more recent python version.

pyyaml 5.4 also breaks, but is not fixed by downgrading cython, so we
also require pyyaml < 5.4.

See also <yaml/pyyaml#601>

Signed-off-by: Gerwin Klein <[email protected]>
@lsf37
Copy link
Member Author

lsf37 commented Jul 12, 2024

The better fix would be to upgrade cmake-format to something more recent, then we could drop a lot of the version requirements again.

@lsf37 lsf37 self-assigned this Jul 12, 2024
@lsf37 lsf37 added the build-system related to the build system label Jul 12, 2024
@lsf37 lsf37 requested a review from Ivan-Velickovic July 12, 2024 04:12
@Indanz
Copy link
Contributor

Indanz commented Aug 5, 2024

The better fix would be to upgrade cmake-format to something more recent, then we could drop a lot of the version requirements again.

How do you want to proceed? Still merge this first?

@lsf37
Copy link
Member Author

lsf37 commented Aug 5, 2024

We should probably hold off on this one since we decided to bump cmake-format and with that we won't need to restrict versions quiet so much.

@lsf37
Copy link
Member Author

lsf37 commented Oct 23, 2024

Putting this on draft for now to keep it here until cmake-format is bumped. This PR should be closed once that is done and is working.

@lsf37 lsf37 marked this pull request as draft October 23, 2024 00:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build-system related to the build system
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants