Skip to content

[Task]: Investigate passing --no-compile to pip #16075

@diox

Description

@diox

Description

--no-compile tells pip not to compile bytecode of dependencies when installing them - they would instead be compiled at runtime where needed. It's one of the tricks uv does by default to be super-fast.

  • Investigate if that would be valuable in our image.
  • Investigate if that would be valuable in CI when installing extra deps for testing
  • Investigate if that would be valuable locally when installing extra deps for development

Also note that our local environments have PYTHONDONTWRITEBYTECODE=1... But our CI as well. Should that change? It probably doesn't matter in CI because each job would run python only once...

Acceptance Criteria

  • item 1

┆Issue is synchronized with this Jira Task

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions