popgenmethods / momi2

Infer demographic history with the Moran model
GNU General Public License v3.0
47 stars 11 forks source link

Only build for Python 3.7 #32

Closed jackkamm closed 4 years ago

jackkamm commented 4 years ago

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.

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