Closed schustmi closed 3 months ago
[!IMPORTANT]
Review Skipped
Auto reviews are disabled on this repository.
Please check the settings in the CodeRabbit UI or the
.coderabbit.yaml
file in this repository. To trigger a single review, invoke the@coderabbitai review
command.You can disable this status message by setting the
reviews.review_status
tofalse
in the CodeRabbit configuration file.
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media?
@schustmi noticed this issue over in uv
which seems somehow related? https://github.com/astral-sh/uv/issues/3765
@strickvl Related but not the same. In their case, they're talking about setting the $VIRTUAL_ENV
variable to trick uv
into thinking the system python is a virtual env. In our case, we are actually in a virtual env, but uv
was interpreting it as the system python because we didn't set the $VIRTUAL_ENV
env variable
Describe changes
This PR adds the option to specify arguments for the python package installer when building Docker images.
For
uv
to work without the--system
option, I also had to set theVIRTUAL_ENV
variable in our Docker images souv
correctly picks up that the current python interpreter is from a virtual environment and not the system interpreter.Pre-requisites
Please ensure you have done the following:
develop
and the open PR is targetingdevelop
. If your branch wasn't based on develop read Contribution guide on rebasing branch to develop.Types of changes