Open penguinpee opened 5 months ago
The attempt to call copy()
on frame.f_locals
(which is, in Python 3.13, a FrameLocalsProxy
), is in Pandas code, so this is some sense a Pandas bug.
However, based on https://github.com/python/cpython/issues/118921 and the associated (merged) PR https://github.com/python/cpython/pull/118933, it looks like the fix will be in CPython itself.
Interesting. This comes from the use of pandas.eval (via DataFrame.query()), which would presumably affect a lot of pandas code in the wild.
Fedora is preparing for the next Python release and currently testing packages with Python 3.13.0b1. It turns out one of the tests is failing with Python 3.13. I'm not entirely sure if this is an issue with
bioframe
or withpandas
. I'm reporting it here as a starting point and for awareness. We are using version 2.2.1 ofpandas
.