pyFAI icon indicating copy to clipboard operation
pyFAI copied to clipboard

Update cython extensions to make them `free-threading` compatible

Open kif opened this issue 1 month ago • 0 comments

Resources: https://py-free-threading.github.io/porting-extensions/#__tabbed_1_2

  • Either comment with: cython: freethreading_compatible = True
  • Or patch the program globaly in meson:
cy = meson.get_compiler('cython')
if cy.version().version_compare('>=3.1.0')
    add_project_arguments('-Xfreethreading_compatible=true', language : 'cython')
endif

kif avatar Oct 26 '25 08:10 kif