Discussion:
[conda] disallowed_packages unexpected behavior
Thomas Holder
2018-10-03 09:01:01 UTC
Permalink
Hi,

I was looking for something like the "exclude" feature of constructor [1], but for condarc. I found "disallowed_packages" (previously "disallow") [2], but it behaves very different from what I'd have expected. It resolves everything as usual, downloads packages, and then raises DisallowedPackageError at "Verifying transaction" step. I would have expected that conda either resolves to package version which don't have the disallowed dependency, or throw an UnsatisfiableError if no such versions exist, or to simply not install the dependency like constructor does with "exclude".

[1] https://github.com/conda/constructor/blob/master/CONSTRUCT.md#exclude
[2] https://github.com/conda/conda-docs/blob/master/docs/source/user-guide/configuration/use-condarc.rst#disallow-installation-of-specific-packages-disallow

Thomas
--
You received this message because you are subscribed to the Google Groups "conda - Public" group.
To unsubscribe from this group and stop receiving emails from it, send an email to conda+***@continuum.io.
To post to this group, send email to ***@continuum.io.
Visit this group at https://groups.google.com/a/continuum.io/group/conda/.
To view this discussion on the web visit https://groups.google.com/a/continuum.io/d/msgid/conda/E381A1E9-E66A-4CB3-9A35-AA72031ACEC5%40schrodinger.com.
For more options, visit https://groups.google.com/a/continuum.io/d/optout.
Loading...