-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Support for Python 3.13's GIL-Free Mode #675
Comments
I don't know who maintains the conda-forge package. I'd be happy to do so, if someone wants to work with me to transfer that... two things stick out:
|
Regarding no-gil, we will have to see what that means for thread-safety. At the very least there are global settings that the C functions use. |
I wanted to provide an update regarding the installation of TA-Lib with Python 3.13. I encountered errors when trying to install TA-Lib using the GIL-free version of Python 3.13 (python3.13t.exe). However, the installation works correctly with the standard version of Python 3.13 (python.exe). Both versions were installed using the Windows installer from the official Python website. Here is the link to the release: Python 3.13.0 Release. This suggests that there may be compatibility issues specifically with the no-GIL mode. Your attention to this matter would be appreciated. |
I guess this is waiting for Cython 3.1 to be released? https://cython.readthedocs.io/en/latest/src/userguide/freethreading.html And we could start testing this with freethreading feature, but I haven't had time. |
I released current master branch as 0.5.0, so if you'd like to help with this feature, I'd suggest:
|
Didn't get the 2nd point. I tried but on import of talib the program exits without showing any error: |
Reading through this page: https://cython.readthedocs.io/en/latest/src/userguide/freethreading.html
There are perhaps other things on that page to be aware of also, but thats what I meant. |
Hello TA-Lib maintainers,
With the upcoming release of Python 3.13, there is an experimental feature allowing Python to run without the Global Interpreter Lock (GIL). This feature is described in PEP 703, which introduces the "free-threaded" mode for CPython.
You can find more details about this feature in the Free-threaded CPython documentation.
Since TA-Lib is a widely used library for technical analysis, especially in multithreaded environments, it would be beneficial to ensure compatibility with Python's GIL-free mode. This will allow users to fully utilize multi-core processors for parallel processing without the limitations of GIL.
Would it be possible to test and, if necessary, update TA-Lib to support this new mode? Your attention to this matter would be greatly appreciated by the community.
Thank you for your continuous support and development of TA-Lib!
The text was updated successfully, but these errors were encountered: