Skip to content

Commit

Permalink
bindings/python: Explicitly set cython language_level=3str
Browse files Browse the repository at this point in the history
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
  • Loading branch information
neuschaefer committed Jul 9, 2024
1 parent 5d0225c commit 73afd38
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions bindings/python/rgbmatrix/core.pxd
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# cython: language_level=3str
from . cimport cppinc

cdef class Canvas:
Expand Down
1 change: 1 addition & 0 deletions bindings/python/rgbmatrix/graphics.pxd
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
# cython: language_level=3str
from . cimport cppinc

cdef class Color:
Expand Down

0 comments on commit 73afd38

Please sign in to comment.