Releases: electronstudio/raylib-python-cffi
6.0.1.0rc6
Raylib Python CFFI 6.0
Development version, so must be manually installed like this:
python3 -m pip install --pre raylib==6.0.1.0rc6 --break-system-packages
Testing
Currently the only thing blocking release is a very weird issue where the library wont even install on Macos 26. All platform testing is welcome but in particular if you have a Mac please test and report.
Install as above and then run this test command and then report in the discussion below whether it works and what platform you are on:
python3 -m raylib
What's new
-
Linux GLFW builds default to Wayland (but fallback to X11 if Wayland not found). Please report any problems with this because we can change it back. You can force it to use Xwayland with
pyray.glfw_init_hint(pyray.GLFW_PLATFORM, pyray.GLFW_PLATFORM_X11); -
All the improvements from Raylib 6.0.
-
Some of the fixes from Raylib 6.1-dev that didn't make into the broken Raylib 6.0 release.
-
raylib_sdlpackage changed from SDL2 to SDL3. (still using X11 though, not Wayland.) I recommend usingraylib_sdlrather thanraylibnow, unless you really need Wayland. Please try it and report in the discussion below if you think it should become the default over GLFW:python3 -m pip uninstall raylib python3 -m pip install --pre raylib_sdl==6.0.1.0rc6 --break-system-packages -
new package
raylib_softwareso you can use software rendering and be as slow as pygame!python3 -m pip uninstall raylib python3 -m pip install --pre raylib_software==6.0.1.0rc6 --break-system-packages -
The web examples have been (mostly) fixed and updated to 5.5 Remember we still need more example!
-
Users have made some cool new videos.
-
dont forget to join us on Discord
Hall of shame!
Apparently comma.ai are now using raylib-python-cffi commercially and so have begun donating money to raylib but have chosen not to give anything to raylib-python-cffi. Yes it's perfectly legal usage, but it's not very nice behaviour. 😔
5.5.0.4 (updated)
- BREAKING CHANGE: Fixes color_to_int() so it produces signed ints rather than unsigned. However if you were previously using color_to_int() you must have worked around this bug, so you will need to change your code. #186
- Adds many many binary builds: Python 3.7 - 3.14, x86, x64, arm64, ancient Linux.
UPDATE 15/1/26: Some of the arm64 builds didn't work on Raspberry Pi. These have been deleted, so you should now only get working ones.
5.5.0.3
updated: Python 3.14 builds added. Build process has changed again so please report if they work.
- add a bunch of env variables to configure build paths (requested by Nix but may be useful to others) (@Sigmanificient @3demax )
- switch Linux builds to use very old glibc for universal compatibility
- patch a bug in Raygui GuiGetStyle()
- make it easier to build yourself on windows (@blep )
- can now suppress startup message by doing
logging.basicConfig(level=logging.ERROR)(@incognitojam ) - fix struct typedefs so you can now do
Texture2D()orTexture()if you prefer - update Physac to newer version by @victorfisac
- make the build pep517 compliant so it wont break next month when they remove support
Don't forget to check out the new examples from @blep:
5.5.0.2
- fix
raylib_dynamic(again)
5.5.0.1
5.5.0.0
- Raylib version 5.5
- New backends! Install
raylibpackage for standard,raylib_sdlpackage for SDL backend orraylib_drmfor Linux framebuffer. Do not install more than one package. SDL is recommended because it handles fullscreen mode and controllers better. - Fixed typo in vector2 function names
5.0.0.5
The type stubs are now compatible with mypy type checking. All of the examples validate, but there's probably some usecases not covered so please report if you find a type that should be valid but isn't.
5.5.0.0.dev3
This is a dev release, so to install it you must specify the exact version:
pip3 install raylib==5.5.0.0.dev3
- Raylib version 5.5-dev
- New backends! Install
raylibpackage for standard,raylib_sdlpackage for SDL backend with better controller support, orraylib_drmfor Linux framebuffer. Do not install more than one package.
Please report in the comments whether these packages work for you and what system you are using!
5.0.0.4
Fixes a couple of build issues and improves error messages for users of the source distribution. (No changes if you're using the binary wheels.)
5.0.0.3
pyrayfunctions optimised to be almost as fast asraylibfunctions. Please report any breakage!- Fixed some red underlines in type hints. Improved some error messages.
- Python 3.13 support.
- Raspberry Pi binaries (tested on Pi4).
- MacOS builds are now MacOS 12 x86 and Macos 14 ARM because CI doesn't support older versions. You'll have to compile from source if you are on older MacOS.