8000 ENH: Globally enable Cython free-threading directive by lysnikolaou · Pull Request #59248 · pandas-dev/pandas · GitHub
[go: up one dir, main page]

Skip to content

ENH: Globally enable Cython free-threading directive #59248

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

Merged
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Use add_project_arguments
  • Loading branch information
lysnikolaou committed Jul 16, 2024
commit 4363dc34a9c99edbfaedf8ede0c4907eb6e996da
2 changes: 1 addition & 1 deletion meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ endif

cy = meson.get_compiler('cython')
if cy.version().version_compare('>=3.1.0')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We may have to bump Cython first for this to get hit. Our build dependency is currently ~=3.0.5

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Cython 3.1.0 has not been released yet. However, in #59136 we install Cython nightly to build 3.13 and free-threading wheels which supports this.

add_global_arguments('-Xfreethreading_compatible=true', language : 'cython')
add_project_arguments('-Xfreethreading_compatible=true', language : 'cython')
endif

# Needed by pandas.test() when it looks for the pytest ini options
Expand Down
Loading
0