Skip to content

Conversation

@rst0git
Copy link
Member

@rst0git rst0git commented Oct 21, 2025

Don't install external pip dependencies when running make install. As we are not really into developing a Python project, we should not install additional packages. CRIU does that nowhere else.

The pip options set in this pull request are similar to those we use when building DEB and RPM packages.

Fixes #2783

Don't install external pip dependencies when running `make install`.
As we are not really into developing a Python project, we should
not install additional packages. CRIU does that nowhere else.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
@herheliuk
Copy link
Member

herheliuk commented Oct 21, 2025

#2793 does seem better, more descriptive and only necessary changes were made, keeping the file clean.

@rst0git
Copy link
Member Author

rst0git commented Oct 21, 2025

@herheliuk Thanks for the comment!

We intentionally set the other options to tell pip not to use internet at all. Otherwise make install would fail with an error when running in an (isolated) environment without network access, as mentioned in 4f15fe8.

These dependencies are required to for `pip install`.

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
@rst0git rst0git force-pushed the make-install-pip-fix branch from 8850b86 to b69f1f1 Compare October 21, 2025 11:54
which is used in Makefiles to check for dependencies:

Example:
export USE_ASCIIDOCTOR ?= $(shell which asciidoctor 2>/dev/null)

Signed-off-by: Radostin Stoyanov <rstoyanov@fedoraproject.org>
@rst0git rst0git force-pushed the make-install-pip-fix branch from b69f1f1 to 4c92830 Compare October 21, 2025 11:55
@rst0git rst0git mentioned this pull request Oct 21, 2025
@avagin avagin merged commit 57251d8 into checkpoint-restore:criu-dev Oct 21, 2025
38 of 48 checks passed
@rst0git rst0git deleted the make-install-pip-fix branch October 21, 2025 16:08
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.

3 participants