You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello Ponyorm team! I am running into an interesting issue, and its one that I suspect I am just missing something on.
Below is a test python script to replicate what I am seeing, but basically I cannot perform date time comparisons with ponyorm. I get an exception (included below the snippet)
Note, I did try just using integers instead (as I was able to do that in sqlite directly, and as called out in their documentation, sqlite3 doesn't have a concept of datetime anyway), but trying to save seconds after epoch gave me a different error (saying my integer was too big), even after setting the maximum to 32 (the biggest sqlite allows I guess?) and making it unsigned.
Edit:
Some potentially useful information
Python Version: 3.13.1
OS: Arch Linux
Ponyorm version: 0.7.19
The text was updated successfully, but these errors were encountered:
Update: this issue is specific to python version 3.13.1. I tested with python 3.12.8 and its working just fine.
According to #729 python 3.13 is currently not supported so this makes sense. I am not going to close this out (feel free if you would like), as this issue does exist in 3.13.
Hello Ponyorm team! I am running into an interesting issue, and its one that I suspect I am just missing something on.
Below is a test python script to replicate what I am seeing, but basically I cannot perform date time comparisons with ponyorm. I get an exception (included below the snippet)
What am I missing here?
Note, I did try just using integers instead (as I was able to do that in sqlite directly, and as called out in their documentation, sqlite3 doesn't have a concept of datetime anyway), but trying to save seconds after epoch gave me a different error (saying my integer was too big), even after setting the maximum to 32 (the biggest sqlite allows I guess?) and making it unsigned.
Edit:
Some potentially useful information
Python Version: 3.13.1
OS: Arch Linux
Ponyorm version: 0.7.19
The text was updated successfully, but these errors were encountered: