Skip to content
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

Compatibility with Python 3.13 #729

Open
commongeek opened this issue Oct 13, 2024 · 0 comments
Open

Compatibility with Python 3.13 #729

commongeek opened this issue Oct 13, 2024 · 0 comments

Comments

@commongeek
Copy link

I use PonyPRM with Python 3.12 on Windows without problem. However after upgrading to 3.13 I got the following error:

File "C:\Users\Administrator\Python313\Lib\site-packages\pony\orm\core.py", line 3578, in select
query = reverse.entity._select_all()
File "C:\Users\Administrator\Python313\Lib\site-packages\pony\orm\core.py", line 4371, in _select_all
return Query(entity.default_iter_name, entity.default_genexpr, {}, { '.0' : entity })
File "C:\Users\Administrator\Python313\Lib\site-packages\pony\orm\core.py", line 5713, in init
pickled_tree = pickle_ast(tree)
File "C:\Users\Administrator\Python313\Lib\site-packages\pony\utils\utils.py", line 383, in pickle_ast
pickler.persistent_id = _persistent_id
^^^^^^^^^^^^^^^^^^^^^
AttributeError: '_pickle.Pickler' object attribute 'persistent_id' is read-only

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant