You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I searched open reports and couldn't find a duplicate
What happened?
I have a lock file that was created from several inputs, none of which are environment.yml. I want to update one dependency, so I run the following command:
conda-lock lock --update dep-to-update
It exists with no error and prints the usage message. Tracing through the code, since no input files were specified, it looks for environment.yml, and it exits when it does not find it. It is my understanding that this should run to be able to just update the dependency.
When I run with --update and the input files (with -f), it is also updating other dependencies.
Conda Info
active environment : poprox-recs
active env location : /Users/mde48/miniforge3/envs/poprox-recs
shell level : 1
user config file : /Users/mde48/.condarc
populated config files : /Users/mde48/miniforge3/.condarc
/Users/mde48/.condarc
conda version : 24.3.0
conda-build version : not installed
python version : 3.10.14.final.0
solver : libmamba (default)
virtual packages : __archspec=1=m2
__conda=24.3.0=0
__osx=14.5=0
__unix=0=0
base environment : /Users/mde48/miniforge3 (writable)
conda av data dir : /Users/mde48/miniforge3/etc/conda
conda av metadata url : None
channel URLs : https://conda.anaconda.org/conda-forge/osx-arm64
https://conda.anaconda.org/conda-forge/noarch
package cache : /Users/mde48/miniforge3/pkgs
/Users/mde48/.conda/pkgs
envs directories : /Users/mde48/miniforge3/envs
/Users/mde48/.conda/envs
platform : osx-arm64
user-agent : conda/24.3.0 requests/2.31.0 CPython/3.10.14 Darwin/23.5.0 OSX/14.5 solver/libmamba conda-libmamba-solver/24.1.0 libmambapy/1.5.8
UID:GID : 1168167957:1823260766
netrc file : None
offline mode : False
This PR adds a `--freeze-concepts` option to `update-dep-lock.sh` to
allow us to update the lock file (e.g. to add a new dependency)
**without** also updating the version of `poprox-concepts` in use. This
is useful to allow development of things that need new dependencies
while someone else is working on updating the recommender to a new
`poprox-concepts` version.
Adding the reverse — updating only `poprox-concepts` without other
dependencies — is still blocking on conda/conda-lock#652.
Checklist
What happened?
I have a lock file that was created from several inputs, none of which are
environment.yml
. I want to update one dependency, so I run the following command:conda-lock lock --update dep-to-update
It exists with no error and prints the usage message. Tracing through the code, since no input files were specified, it looks for
environment.yml
, and it exits when it does not find it. It is my understanding that this should run to be able to just update the dependency.When I run with
--update
and the input files (with-f
), it is also updating other dependencies.Conda Info
Conda Config
Conda list
Additional Context
No response
The text was updated successfully, but these errors were encountered: