I've found that conda build fails with dependency errors when building for multiple versions of Python. The error goes away when running conda build for a single version of Python (either via the --python flag or by editing conda_build_config.yaml.
Ideally we'd figure out how to get this working for multiple versions of Python, and/or file an upstream bug report with conda. But due to limited bandwidth I'm taking the easy route and restricting the conda-build recipe to python=3.7 only.
Only supporting a single version of Python has other benefits anyways, like shorter build times and reducing the maintenance burden.
I've found that
conda build
fails with dependency errors when building for multiple versions of Python. The error goes away when runningconda build
for a single version of Python (either via the--python
flag or by editingconda_build_config.yaml
.Ideally we'd figure out how to get this working for multiple versions of Python, and/or file an upstream bug report with conda. But due to limited bandwidth I'm taking the easy route and restricting the conda-build recipe to python=3.7 only.
Only supporting a single version of Python has other benefits anyways, like shorter build times and reducing the maintenance burden.
For an example of the error that occurs when building for multiple Python versions, see the attached log file, and also: https://travis-ci.com/popgenmethods/momi2/jobs/249321284
momi2-conda-build.log