dwavesystems / dwave-samplers

Classical algorithms for solving binary quadratic models
Apache License 2.0
11 stars 15 forks source link

Build fails on python3.11 #47

Closed BastianZim closed 2 years ago

BastianZim commented 2 years ago

Hi,

I added this package to conda-forge as well and am having trouble building it under python 3.11 and numpy 1.23.

Not sure if this is something you have seen before, as it could be due to conda-forge infrastructure, but I wanted to open the issue in case someone knows why this is happening. :)

Log: https://dev.azure.com/conda-forge/feedstock-builds/_build/results?buildId=619683&view=logs&jobId=e9afaa34-1a0f-534e-78fc-fae528ccd915&j=e9afaa34-1a0f-534e-78fc-fae528ccd915&t=48395e60-bc5f-5e45-7455-d404f0c95f3a

arcondello commented 2 years ago

I believe you need to update your Cython https://github.com/yaml/pyyaml/issues/630

BastianZim commented 2 years ago

Fixed it by building from GitHub and not from PyPI. Seems like the files on PyPI contain some compiled files that clash when re-compiling. Anyways, all working now. :)