-
Notifications
You must be signed in to change notification settings - Fork 22
feat(arro3): Freethreading - module markers + CI #275
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
Changes from 5 commits
8e030ba
13f5bc2
3e4d851
9f7ef44
fd1726b
a1a904d
e4a6f49
0c01ce7
728a8d2
37b9f69
e78f219
12abd0f
bd0fe7a
9708633
d55c441
b146b39
20e59e8
711724e
ea1bb3f
5457247
1876172
b489b0a
97e4b97
1db2474
1125fff
154b9f6
4739800
9c4ddbc
b692107
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -33,7 +33,7 @@ fn check_debug_build(py: Python) -> PyResult<()> { | |
| Ok(()) | ||
| } | ||
|
|
||
| #[pymodule] | ||
| #[pymodule(gil_used = false)] | ||
|
Owner
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not sure this will always be true for the IO module. E.g. I might want to allow a Python HTTP library like aiohttp to be used for making the
Contributor
Author
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. True, if unmodified (as in, rust locking structures cfg-gated on I should definitely take a crack at pytest-freethread in general before this is merged (at the very least CI for a single test in pyo3-arrow or core). Thinking about it, pretty much all users of the freethreading build at the moment are other library maintainers porting their package to freethreading - this is probably a rare instance (especially given the main dependant is geoarrow.rust.io) where hard concurrency errors are preferred over |
||
| fn _io(py: Python, m: &Bound<PyModule>) -> PyResult<()> { | ||
| check_debug_build(py)?; | ||
|
|
||
|
|
||
Uh oh!
There was an error while loading. Please reload this page.