Open buildqa opened 3 months ago
Can you describe (in pip commands) the workflow you're trying to achieve? uv pip freeze
just reports the currently installed versions in your environment.
Sorry, I should start with the initial install - which is where the differences are first created.
We start off with a minimal python distribution (which now includes uv installed) to create a larger, custom python distribution with added site packages. We use requirements files to constrain only a few package revisions. Or the goal is to try and install the latest version of most packages. That works with the command, $ minimal_python3 -m pip install --upgrade --disable-pip-version-check -r requirements_1.txt -r requirements_2.txt
If that command is changed to use "uv pip install" instead of "pip install", and also when using uv append the argument "--python
Forgot to list the argument to "--python" when using uv in the command above is the absolute path to minimal_python3
I read some documentation that package repo search order can be changed with various args to uv. My question is that given we have always used (conventional) pip freeze to create a snapshot of the installed package revisions - then what is the recommended way to run freeze (or some other cammnd) with uv to at least try and achieve party with what pip reports? With no additional args, it looks like uv freeze reports tensorflow should be at the older revision 2.7.3 instead of the newer revision 2.13.1, but torch should be at the newer revision 2.3.0 instead of 2.1.2.