Question: Can I install a library without also installing dependencies?

Is there a way to install a library without installing it’s dependencies, similar to the --no-deps option available on pip?

In a similar vein, is it possible to force the library manager to see dependencies already installed at the global level when installing a new library at the local level?

My current use case is for continuous integration with GitHub actions. In the CI tests, I install the my library from the current commit hash and then build all of the examples I’m downloading and caching the dependent libraries “globally” (-g) to speed up runs. But during my test steps when installing the tested library locally from the lib_deps, it re-installs all of the dependencies at the local level. So caching the dependencies didn’t save anything. Downloading all of the libraries again doesn’t take much time, and it’s GitHub’s time not mine, but it still seems like a waste.