You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TLDR is in the title, the package does not install with the most recent cmake, and trying to do so produces the following error:
[...]
-- Detecting CXX compile features - done
CMake Error at build/temp.linux-x86_64-cpython-38/samplerate/_deps/pybind11-src/CMakeLists.txt:8 (cmake_minimum_required):
Compatibility with CMake < 3.5 has been removed from CMake.
Update the VERSION argument <min> value. Or, use the <min>...<max> syntax
to tell CMake that the project requires at least <min> but has been updated
to work with policies introduced by <max> or earlier.
Or, add -DCMAKE_POLICY_VERSION_MINIMUM=3.5 to try configuring anyway.
I'm seeing this a lot now that the github actions runners updated to cmake 4.0 yesterday, and everything is now failing.
Note: this is likely inherited from pybind11, but it's not clear to me that this is limited to pybind11, so I'm raising it here. In case pybind11 cuts a new release and that fixes the problem entirely, we can close this out.
Activity
fakufaku commentedon May 23, 2025
Thanks for the heads up. I'll try to look into it when I get a bit of time.
Updates pybind11 to 3.0.1. Fixes issue #28.
fakufaku commentedon Sep 27, 2025
@bmcfee Sorry it took me so long to fix this. Fix in PR #29
Updates pybind11 to v3.0.1 and adds -fPIC flag for compilation.
lmachineone commentedon Oct 10, 2025
Is it possible to update pypi with latest changes?
fakufaku commentedon Oct 11, 2025
@perinm Done!
fakufaku commentedon Oct 11, 2025
@bmcfee Fixed in v0.2.2