Skip to content

The command uv pip install --no-warn-script-location no supported by uv#2926

Merged
jmthomas merged 1 commit intomainfrom
uv-pip-no-support-for--no-warn-script-location
Mar 5, 2026
Merged

The command uv pip install --no-warn-script-location no supported by uv#2926
jmthomas merged 1 commit intomainfrom
uv-pip-no-support-for--no-warn-script-location

Conversation

@mcosgriff
Copy link
Copy Markdown
Contributor

The command uv pip install --no-warn-script-location is a pip specific option and is not supported by uv.
The flag is intended to suppress a warning in pip that occurs when executable scripts are installed to a directory not in your system's PATH.

uv is designed to work with virtual environments by default, which avoids the PATH issue by installing packages into an isolated environment that is active when the command is run.

Using CPython 3.12.12 interpreter at: /usr/bin/python
Creating virtual environment at: /gems/python_packages
Using Python 3.12.12 environment at: /gems/python_packages
Resolved 1 package in 173ms
Downloading numpy (16.2MiB)
 Downloaded numpy
Prepared 1 package in 542ms
Installed 1 package in 103ms
Bytecode compiled 407 files in 217ms
 + numpy==2.4.2
uv pip install -i https://pypi.org/simple -r /tmp/d20260304-65-5nzh5h/gem/requirements.txt
Command succeeded
Using CPython 3.12.12 interpreter at: /usr/bin/python
Creating virtual environment at: /gems/python_packages
error: Failed to create virtual environment
  Caused by: A virtual environment already exists at `/gems/python_packages`. Use `--clear` to replace it
Using Python 3.12.12 environment at: /gems/python_packages
Audited 1 package in 0.38ms
uv pip install -i https://pypi.org/simple -r /tmp/d20260304-149-x3dr2v/gem/requirements.txt
Command succeeded

…cific option and is not supported by uv.

The flag is intended to suppress a warning in `pip` that occurs when executable scripts are installed to a directory not in yoru system's `PATH`.

`uv` is designed to work with virutal environments by default, which avoids the `PATH` issue by installing packages into an isolated environment that is active when the command is run.
@mcosgriff mcosgriff requested review from jmthomas and ryanmelt March 4, 2026 22:37
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud bot commented Mar 4, 2026

@codecov
Copy link
Copy Markdown

codecov bot commented Mar 4, 2026

Codecov Report

❌ Patch coverage is 0% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 78.28%. Comparing base (f9d0650) to head (f509fbd).
⚠️ Report is 31 commits behind head on main.

Files with missing lines Patch % Lines
openc3/lib/openc3/models/plugin_model.rb 0.00% 4 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2926      +/-   ##
==========================================
- Coverage   78.28%   78.28%   -0.01%     
==========================================
  Files         673      673              
  Lines       55204    55204              
  Branches      728      728              
==========================================
- Hits        43216    43214       -2     
- Misses      11910    11912       +2     
  Partials       78       78              
Flag Coverage Δ
python 79.35% <ø> (+0.02%) ⬆️
ruby-api 79.98% <ø> (-0.13%) ⬇️
ruby-backend 82.16% <0.00%> (-0.01%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@jmthomas jmthomas merged commit a100f76 into main Mar 5, 2026
29 of 31 checks passed
@jmthomas jmthomas deleted the uv-pip-no-support-for--no-warn-script-location branch March 5, 2026 00:31
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