cubed icon indicating copy to clipboard operation
cubed copied to clipboard

Pickling error in Python 3.11: `TypeError: code() argument 13 must be str, not int`

Open alxmrs opened this issue 9 months ago • 2 comments

I've noticed this line causes an error on my machine: https://github.com/cubed-dev/cubed/blob/1ac50612e48882554f08951e0072559ead6b2e71/cubed/tests/test_core.py#L592

Looking around, I think this is a problem in Python 3.11, see https://github.com/python/cpython/issues/100316.

My developer environment specs
(cubed) (base) alxrsngrtn@alexanders-air cubed % python --version
Python 3.11.9
(cubed) (base) alxrsngrtn@alexanders-air cubed % arch
arm64
(cubed) (base) alxrsngrtn@alexanders-air cubed % uname -r
23.6.0
(cubed) (base) alxrsngrtn@alexanders-air cubed % sw_vers
ProductName:            macOS
ProductVersion:         14.6.1
BuildVersion:           23G93

alxmrs avatar Jan 13 '25 19:01 alxmrs