-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
ImportWarning on PooledPostgresqlExtDatabase #2296
Comments
That's odd. The line you're referencing, 305, is wrapped in a try/except on The |
Okay so for more context the error only happens when |
I think this may be the related issue cython/cython#1720 - I'm not sure why this occurs only for 3.14 but not 3.13.3, though? |
Probably? What should be a workaround for this? |
I don't see anything in the diff that seems relevant to this issue: 3.13.3...3.14.0 Also, as far as I can tell this isn't a bug, but rather you're receiving a warning during testing. You might try recompiling, or upgrading cython and rebuilding? |
Hmm. This happens on a fresh install/run on a CI though. Still a cython issue? |
I don't know, honestly. I don't see the issue running the peewee tests https://travis-ci.org/github/coleifer/peewee and I really don't see anything between versions 3.13.3 and 3.14.0 that seems relevant. |
@coleifer found an issue related to this: pytest-dev/pytest#4423 and it seems like it is Cython issue that and he ended up building it with a newer version of Cython to get it working. Might help. |
@coleifer more info: when I install peewee 3.14.0 from source, it works no problem. So maybe something else happened when 3.14.0 was released in pypi? |
Final context to those who might stumble upon this: [email protected] works in Python 3.9 and not on 3.8. I haven't tested for lower versions. However, 3.14.1 and 3.14.2 works on both 3.9 and 3.8. I still think that there was something wrong with how 3.14.0 was built. |
Hi all so we're using the query builder feature (not the ORM at all) of peewee and it's been great so far. Been using it with fastapi and it's been working great until the 3.14.0 update. Now we're getting the following issue:
Can anyone shed light on this? Rolling back to 3.13 fixes the issue.
The text was updated successfully, but these errors were encountered: