-
Notifications
You must be signed in to change notification settings - Fork 519
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
Error importing with PyPy 3.8.15/3.9.15 #688
Error importing with PyPy 3.8.15/3.9.15 #688
Comments
Verified on pypy3.8.16/3.9.16. Interesting that it seems only limited to PyPy, since according to cython/cython#1720, the underlying issue is Cython's legacy default to py2 relative import semantics (even on py3), which isn't a pypy-specific issue, but I don't see this warning on any CPython version I tried. The recommended fix on the Cython issue does fix the problem, and at a glance, I don't think there's any relative/absolute import stuff happening in there. I've opened a PR with the fix, but no idea when we'll actually release it (or when GHA will pick up the fix in their runner toolcache). Short-term, you probably need to just disable Python's warnings-as-errors for |
Thanks a lot @nitzmahone, I will just ignore the warning for now. |
See yaml/pyyaml#688 (and possibly cython/cython#1720), doesn't look like there's really a better way to fix it than ignore the issue, but that's simple enough, as it's just an additional `-W` flag on the pytest invocation. While at it, add pypy-3.9 and convert versions array to a yaml list for better readability and diff-ability.
There seems to be an issue with PyPy v3.8.15 and PyPy v3.9.15:
The text was updated successfully, but these errors were encountered: