[branch-25.03] snap: fix build of embedded docs when building from source#313
Open
fnordahl wants to merge 6 commits intocanonical:branch-25.03from
Open
[branch-25.03] snap: fix build of embedded docs when building from source#313fnordahl wants to merge 6 commits intocanonical:branch-25.03from
fnordahl wants to merge 6 commits intocanonical:branch-25.03from
Conversation
For the purpose of consistent and reproducible builds, we freeze the direct and indirect Python dependencies of Sphinx. Signed-off-by: Frode Nordahl <[email protected]> (cherry picked from commit 1dba82c)
Signed-off-by: Frode Nordahl <[email protected]> (cherry picked from commit 332cf80)
This is needed for the new `--build-constraints` option. Signed-off-by: Frode Nordahl <[email protected]> (cherry picked from commit e567356)
The next commit will update constraints for Python dependencies, and as it happens there is currently an impossible set of indirect build dependencies for the direct dependencies preventing successful build from source. We resolve this situation by allowing the use of the `pip install` `--build-constraint` argument. Signed-off-by: Frode Nordahl <[email protected]> (cherry picked from commit 25b8fbb)
maturin v1.10 bumped Cargo.lock version to 4 which is not supported by rust toolchain in a 24.04 build base. setuptools 82 drops the `pkg_resources` module. watchfiles 1.1.0 depends on notify v8.0.0 which is not supported by rust toolchain in a 24.04 build base. Signed-off-by: Frode Nordahl <[email protected]>
There has been a reorganization of the Ubuntu discourse, and the bespoke MicroOVN category is no longer to be found. While not a perfect fit, using the MicroCloud category to unblock our CI while we figure out a new home. Signed-off-by: Frode Nordahl <[email protected]> (cherry picked from commit b015343)
9907249 to
094a5dd
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Please review/merge commit by commit.
To support review, a log from successful build of the docs/.sphinx/venv with --no-binary :all: on emulated riscv64 VM can be viewed in [0] (note that the log is from the equivalent PR for branch-24.03).
The instructions on this page were useful in this endeavor [1].
0: https://gist.github.com/fnordahl/b83d1bf09e1c8b1775f02a66f2020728
1: https://canonical-ubuntu-hardware-support.readthedocs-hosted.com/boards/how-to/qemu-riscv/