macOS-only failures in CI with RDKit visualization
See original GitHub issueLog: https://github.com/openforcefield/openff-toolkit/runs/5504391595?check_suite_focus=true
Traceback:
________________ TestMoleculeVisualization.test_visualize_rdkit ________________
openff/toolkit/tests/test_molecule.py:3797: in test_visualize_rdkit
assert isinstance(mol.visualize(backend="rdkit"), IPython.core.display.SVG)
openff/toolkit/topology/molecule.py:6479: in visualize
from rdkit.Chem.Draw import ( # type: ignore[import]
../../../miniconda3/envs/test/lib/python3.9/site-packages/rdkit/Chem/Draw/__init__.py:14: in <module>
from rdkit.Chem.Draw import rdMolDraw2D
E ImportError: dlopen(/Users/runner/miniconda3/envs/test/lib/python3.9/site-packages/rdkit/Chem/Draw/rdMolDraw2D.so, 2): Library not loaded: @rpath/libfontconfig.1.dylib
E Referenced from: /Users/runner/miniconda3/envs/test/lib/libcairo.2.dylib
E Reason: Incompatible library version: libcairo.2.dylib requires version 14.0.0 or later, but libfontconfig.1.dylib provides version 13.0.0
I can’t reproduce this locally (macOS, Python 3.9) with the same versions of cairo
, pycairo
, and rdkit
, the latter of which was recently bumped to 2021.09.5. I checked the RDKit and its feedstock’s issue tracker and nobody else has reported it yet.
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (5 by maintainers)
Top Results From Across the Web
macOS dylib version changed despite fontconfig ... - GitHub
I am trying to debug a CI error where a dependency of ours (RDKit) is failing to import since the fontconfig build number...
Read more >Getting Started with the RDKit in Python
If you find mistakes, or have suggestions for improvements, please either fix ... Similarity maps are a way to visualize the atomic contributions...
Read more >RDKit Cookbook — The RDKit 2022.09.1 documentation
This document provides example recipes of how to carry out particular tasks using the RDKit functionality from Python. The contents have been contributed...
Read more >The RDKit Book — The RDKit 2022.09.1 documentation
The RDKit Aromaticity Model Notice that exocyclic bonds to electronegative atoms “steal” the valence electron from the ring atom and that dummy atoms ......
Read more >rdkit.Chem.Draw package
rdkit.Chem.Draw. DrawMorganEnv (mol, atomId, radius, molSize=150, 150, baseRad=0.3, useSVG=True, aromaticColor=0.9, 0.9, 0.2, ringColor=0.8, 0.8, 0.8, ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I somehow did not have the thought of looking as far as the
fontconfig
feedstock, where I found a familiar face already tracked this down and reported it! https://github.com/conda-forge/fontconfig-feedstock/issues/54Seems to actually be fixed after https://github.com/conda-forge/conda-forge-repodata-patches-feedstock/pull/248