Skip to content

Releases: electronstudio/raylib-python-cffi

6.0.1.0

Choose a tag to compare

@electronstudio electronstudio released this 05 Jun 16:33
9bd709c

Raylib 6.0

Testing

We had very few responses to our request for users to test the pre-releases, so this release has only been lightly tested compared to 5.5.0.4. All platform testing is welcome but in particular if you have a Mac please test and report.

For a quick test just install, e.g.

python3 -m pip install raylib==6.0.1.0 --break-system-packages

Then run the test module:

python3 -m raylib

Then report in the discussion below whether it works and what platform you are on.

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 (hence the 6.0.1 tag)

  • 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 raylib_sdl==6.0.1.0 --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 raylib_software==6.0.1.0 --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)

Choose a tag to compare

@electronstudio electronstudio released this 11 Dec 15:33
  • 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

Choose a tag to compare

@electronstudio electronstudio released this 03 Sep 16:10

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

Choose a tag to compare

@electronstudio electronstudio released this 24 Nov 13:57
  • fix raylib_dynamic (again)

5.5.0.1

Choose a tag to compare

@electronstudio electronstudio released this 24 Nov 12:18
  • 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

Choose a tag to compare

@electronstudio electronstudio released this 19 Nov 14:48
bf6d5d4
  • 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

Choose a tag to compare

@electronstudio electronstudio released this 17 Nov 03:53

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

Choose a tag to compare

@electronstudio electronstudio released this 17 Oct 17:54

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

Choose a tag to compare

@electronstudio electronstudio released this 01 Oct 00:07

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

Choose a tag to compare

@electronstudio electronstudio released this 02 Jul 14:40
  • 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.