collerek

Results 113 comments of collerek

BTW it seems like a significant performance degradation over the previous version, we need to check if caching is working as described here: https://docs.sqlalchemy.org/en/20/faq/performance.html

sorry for the late answer, can you add a test that would fail before and this change fixes?

Hi, you didn't allow me to push to your fork, so can you please apply https://github.com/collerek/ormar/commit/b1d803a945687d37e6101e981615daaacbf859f5 on your pr (fixes test with default value)

> The missing coverage is due to a block that was not changed in this PR. Seems to be a preexisting issue. Yeah I know but since I cannot edit...

Please also add 3.12 to the test matrix in https://github.com/collerek/ormar/blob/1cd9204665767e05b480fc3fbfd9d820a340772b/.github/workflows/test-package.yml#L20

> Regarding the failed test, `distutils` was deprecated in Python 3.10 and removed in Python 3.12. The test job pins poetry to 1.4.2, but the first version of poetry that...

That's still installing `2.5.3` in tests, might be cross dependency with pydantic-extra or something else. As it mingles with pydantic internals each upper version should be checked. Edit: see that...

Pin bumped in #1388 will release soon