modsim / hopsy

Python interface to C++ sampling library HOPS
MIT License
12 stars 3 forks source link

Wheels/Hopsy not compatible with python 3.12.2, when installing it as part of CADET-process #6

Open hannahlanzrath opened 7 months ago

hannahlanzrath commented 7 months ago

I tried to install CADET-process on an environment only with python 3.12.2 installed, and got

ERROR: Could not build wheels for hopsy, which is required to install pyproject.toml-based projects .

Downgrading Python to 3.9. or installing CADET-process on a fresh environment which will then install Python 3.8.12 fixed the issue for me. Still one might want to look at why there are issues with compatibility at higher python versions.

qacwnfq commented 7 months ago

Version 1.5 is coming soon with official Python3.12 support. Right now it is still possible to build the wheel yourself from sources (available as source dist on PyPI).

See also: Milestones for v1.5: https://jugit.fz-juelich.de/IBG-1/ModSim/hopsy/-/milestones/6#tab-issues and https://jugit.fz-juelich.de/IBG-1/ModSim/hopsy/-/issues/106