pandas-dev / pandas

Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
https://pandas.pydata.org
BSD 3-Clause "New" or "Revised" License
42.58k stars 17.57k forks source link

ENH: Python 3.13 free-threading support #59057

Open lysnikolaou opened 1 week ago

lysnikolaou commented 1 week ago

This aims to be a tracking issue for all work necessary to support the free-threaded build of Python 3.13. A very high-level list of steps is (more details to follow as I investigate more issues):

xbit18 commented 1 week ago

Hi! I'm currently writing a thesis on free-threading python and wonder if there's any estimate on how much time this would take

lysnikolaou commented 1 week ago

Hello! An initial investigation shows that it should be relatively straight-forward to get a passing test suite under the free-threaded build. However, if you're looking for a full release with support for it, it's still probably going to be a few weeks/months, since Python 3.13 is not final (not even in rc) yet.

Maybe a maintainer could answer this better than me as well.

xbit18 commented 1 week ago

Yeah I'm only in need of a "preliminary" implementation to run some really simple tests involving a dataframe with python 3.13.0b2 with the free threading build. Right now it's not even installing correctly.