-
-
Notifications
You must be signed in to change notification settings - Fork 17
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
Add PyPy 3.9 to the testing #2
Conversation
Well, I have zero ideas about what going on there. Actually, I know just a little bit about PyPy, and I know nothing about whoosh library and its tests. But, looking at the failing test, I can tell that a few hours of step-by-step debugging, comparing the behaviour between CPython and PyPy, will give you the answers. |
I'm looking into this, I think I have sort of found where one of the issues is tho. I think we have to look more closely at the tests we have. I fixed an issue with |
Fix GitHub Actions by Installing 'jieba' Module
Even the latest version of PyPy (v7.3.14) makes no difference, Add
|
Yeah, I tried debugging the |
https://downloads.python.org/pypy/ pypy-3.8-v7.3.6 is the earliest version that supports Py38 and it still fails in the same way. |
@cclauss I found a library called Pythomata which I think we can use to replace most if not all the code from the |
Solarlint does not support Python. Use ruff instead. https://docs.astral.sh/ruff |
I was testing it because it looks interesting. Anything that can help to improve our code is welcome. Their bot and website seem to do a pretty good job with Python tho, not sure about their VSCode extension tho. I will check ruff as well and see how they compare. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2 +/- ##
=======================================
Coverage 80.97% 80.97%
=======================================
Files 133 133
Lines 29496 29496
Branches 5066 5066
=======================================
Hits 23884 23884
Misses 4737 4737
Partials 875 875 ☔ View full report in Codecov by Sentry. |
Quality Gate passedIssues Measures |
Both currently supported versions of PyPy3 fail our tests. :-( https://www.pypy.org/download.html
@ddoroshev Do you have any ideas about how to fix?