Skip to content

[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
fnordahl:branch-25.03-fix-docs-riscv64
Open

[branch-25.03] snap: fix build of embedded docs when building from source#313
fnordahl wants to merge 6 commits intocanonical:branch-25.03from
fnordahl:branch-25.03-fix-docs-riscv64

Conversation

@fnordahl
Copy link
Member

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/

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]>
@fnordahl fnordahl marked this pull request as ready for review February 23, 2026 21:09
@fnordahl fnordahl requested a review from a team as a code owner February 23, 2026 21:09
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)
@fnordahl fnordahl force-pushed the branch-25.03-fix-docs-riscv64 branch from 9907249 to 094a5dd Compare March 17, 2026 11:43
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.

1 participant