Skip to content

Releases: electronstudio/raylib-python-cffi

6.0.1.0rc6

01 Jun 17:17

Choose a tag to compare

6.0.1.0rc6 Pre-release
Pre-release

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_sdl package changed from SDL2 to SDL3. (still using X11 though, not Wayland.) I recommend using raylib_sdl rather than raylib now, 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_software so 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)

11 Dec 15:33

Choose a tag to compare

  • 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

03 Sep 16:10

Choose a tag to compare

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() or Texture() 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:

https://github.com/blep/pyray_examples

5.5.0.2

24 Nov 13:57

Choose a tag to compare

  • fix raylib_dynamic (again)

5.5.0.1

24 Nov 12:18

Choose a tag to compare

  • Update DLLs in raylib_dynamic package (although I still don't recommend anyone use this package)
  • Fix for audio in web backend by @pmp-p

5.5.0.0

19 Nov 14:48
bf6d5d4

Choose a tag to compare

  • Raylib version 5.5
  • New backends! Install raylib package for standard, raylib_sdl package for SDL backend or raylib_drm for 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

17 Nov 03:53

Choose a tag to compare

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

17 Oct 17:54

Choose a tag to compare

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 raylib package for standard, raylib_sdl package for SDL backend with better controller support, or raylib_drm for 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

01 Oct 00:07

Choose a tag to compare

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

02 Jul 14:40

Choose a tag to compare

  • pyray functions optimised to be almost as fast as raylib functions. 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.