Closed j-wags closed 5 years ago
I think pull request #24 fixed this segfaulting issue on Mac. So v2018.09.1 build 1000 is the last 'broken' release and v2018.09.1 build 1001 and all later versions of RDKit are fixed. Looks like that pull request also coincided with the conda-forge ecosystem going from cairo 1.14 to 1.16, so yes, unfortunately if something is pinning cairo to the old 1.14 version, conda will also give you the old broken RDKit.
For the omnia channel, you might want to use the conda-forge-pinning
package in your CI scripts to make sure the versions of the dependencies are compatible with conda-forge packages. Take a look at https://github.com/mcs07/conda-recipes/ for an example of a multi-recipe CI setup that was inspired by the conda-forge staged-recipes setup. It also uses a couple of python scripts as an alternative to the old conda-build-all
tool that isn't compatible with newer conda/conda-build versions.
Thanks for the helpful reply, @mcs07! I'll check out conda-forge-pinning
.
Hopefully, we'll be moving our toolkit off omnia and into conda-forge soon. The open force field project is really looking forward to making the jump!
Issue: While working on builds of the open force field toolkit yesterday, we found that our combination of dependencies produced a build where RDKit segfaults upon being imported (
from rdkit import Chem
). Subsequently runningconda install rdkit
would fix it. With some trial and error, we were able to make functional builds by pinning tocairo==1.16
in ourmeta.yaml
.I'm providing code to reproduce this problem using conda-forge. Right now I'm not able to reproduce it using the rdkit channel, but I will open an issue on the rdkit github if that changes.
Running on Mac OSX 10.14.4
Code to reproduce:
returns
The full environment is below, but I noticed that this segfaulting build resolves to
When we pin to
cairo=1.16
, we get a working build.I haven't been able to track down what was adding a dependency on cairo 1.14. Pinning it to 1.16 in our builds doesn't seem to have broken anything important or raised an incompatibility error.
Environment (
conda list
):Details about
conda
and system (conda info
):