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
{{ message }}
This repository was archived by the owner on Sep 10, 2025. It is now read-only.
Describe the bug: The double-conversion dependency no longer builds under CMake 4.0 because it sets its minimum compatible version to 3.0. Thus, torchtext no longer builds, either.
To Reproduce:
Install cmake >= 4.0, perhaps via pip install cmake
python setup.py develop
Expected behavior: It should build.
Screenshots: Here's the exact error I see:
CMake Error at third_party/double-conversion/CMakeLists.txt:1 (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.