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'm trying to lock my dependencies for a docker image build. I've got a package already installed in my base image which is not present in any package index, so I need the dependency resolver to consider installed packages.
I've found that BacktrackingResolver has an option ignore_installed to consider (or ignore) installed packages and that seems to be the solution, pip-compile works fine for me if I set ignore_installed to Falsehere.
That would really help managing dependencies when some packages in a docker build are inherited from a base image.
The text was updated successfully, but these errors were encountered:
this runs a container with torch==2.3.0a0+ebedce2 pre-installed and I'm trying to add timm on top of an existing environment. This fails because there's no torch==2.3.0a0+ebedce2 in any index.
If ingore_installed is set to False in resolve.py it seems to work fine
What's the problem this feature will solve?
I'm trying to lock my dependencies for a docker image build. I've got a package already installed in my base image which is not present in any package index, so I need the dependency resolver to consider installed packages.
My setup seems to be similar to #1596
Describe the solution you'd like
I've found that
BacktrackingResolver
has an optionignore_installed
to consider (or ignore) installed packages and that seems to be the solution,pip-compile
works fine for me if I setignore_installed
toFalse
here.That would really help managing dependencies when some packages in a docker build are inherited from a base image.
The text was updated successfully, but these errors were encountered: