-
Notifications
You must be signed in to change notification settings - Fork 1.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Port python bindings to cython 3.0.x #1676
Commits on Jul 9, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 8a2c2fd - Browse repository at this point
Copy the full SHA 8a2c2fdView commit details -
GitHub Actions: Don't limit workflow runs to particular branches
There's no harm in running workflows on every branch/PR. It is, in fact useful, because contributors can see early when something is wrong.
Configuration menu - View commit details
-
Copy full SHA for edce418 - Browse repository at this point
Copy the full SHA edce418View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7ec6401 - Browse repository at this point
Copy the full SHA 7ec6401View commit details -
bindings/python: Make imports more compatible
cython 3.0 behaves a bit differently with regards to imports. It looks in bindings/python/ to find cppinc, but not in bindings/python/rgbmatrix. Fix this by importing directly from the current directory.
Configuration menu - View commit details
-
Copy full SHA for c754fb4 - Browse repository at this point
Copy the full SHA c754fb4View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3b877bb - Browse repository at this point
Copy the full SHA 3b877bbView commit details -
bindings/python: Rename __getCanvas to _getCanvas for cython 3.0 compat
In cython 3.0, names with two underscores can't be used in derived classes. For more details refer to the Cython 3.0 migration guide: https://cython.readthedocs.io/en/latest/src/userguide/migrating_to_cy30.html
Configuration menu - View commit details
-
Copy full SHA for a53b420 - Browse repository at this point
Copy the full SHA a53b420View commit details -
bindings/python: Fix exception specifier
This fixes the following warning: warning: core.pyx:8:9: Only extern functions can throw C++ exceptions.
Configuration menu - View commit details
-
Copy full SHA for 5d0225c - Browse repository at this point
Copy the full SHA 5d0225cView commit details -
bindings/python: Explicitly set cython language_level=3str
This fixes the following warning: FutureWarning: Cython directive 'language_level' not set, using 2 for now (Py2). This will change in a later release! File: /home/runner/work/rpi-rgb-led-matrix/rpi-rgb-led-matrix/bindings/python/rgbmatrix/core.pxd
Configuration menu - View commit details
-
Copy full SHA for 73afd38 - Browse repository at this point
Copy the full SHA 73afd38View commit details