Not Compatible w/ Python 3.14
| F´ Version | v4.1.0 |
| Affected Component | fprime-util |
Problem Description
Attempted to run the led-blinker tutorial with python 3.14. When running the command fprime-bootstrap project it would complete with some build issues but the output was indicative of a success so I continued (see output below). Then I activated the virtual environment and attempted to run fprime-util generate and that gave an error -bash: fprime-util: command not found. After talking to Michael he said the install went wrong and had me attempt to instal the reuirements.txt. This resulted in the same build errors as the output below. He then suggested I uninstall python 3.14 and try python 3.13 which did work.
CMake Error at /var/folders/77/q_ryk3kx2jvd708d4n6rl53r0000gq/T/tmp5d4z1cos/build/_deps/bundled_libzmq-src/CMakeLists.txt:5 (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.
-- Configuring incomplete, errors occurred!
*** CMake configuration failed
[end of output]
note: This error originates from a subprocess, and is likely not a problem with pip.
ERROR: Failed building wheel for pyzmq
Failed to build pydantic_core pyzmq
error: failed-wheel-build-for-install
× Failed to build installable wheels for some pyproject.toml based projects
╰─> pydantic_core, pyzmq
################################################################
Congratulations! You have successfully created a new F´ project.
A git repository has been initialized and F´ has been added as a
submodule, you can now create your first commit.
Get started with your F´ project:
-- Remember to always activate the virtual environment --
cd led-blinker
. fprime-venv/bin/activate
-- Create a new component --
fprime-util new --component
-- Create a new deployment --
fprime-util new --deployment
################################################################
Context / Environment
Execute fprime-util version-check and share the output.
Writing this ticket after I switched python versions so I don't have an output for this step.
How to Reproduce
- Attempt to make a project with python 3.14
Expected Behavior
Fail to fprime-util generate
It is likely that pyzmq hasn't published binary images for 3.14 yet. Once this is done the problem should go away.....but this is great to know about.