-
Notifications
You must be signed in to change notification settings - Fork 719
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
tests/pytesseract_test.py::test_image_to_data_common_output[dict] FAILED #406
Comments
Release Notes: https://github.com/madmaze/pytesseract/releases/tag/v0.3.9 * bump minimal Python requirement to 3.7, upstream de-supports EOL 3.6 * upstream made build tweaks Packager Notes: * test_image_to_data_common_output[dict] is failing for me, => madmaze/pytesseract#406 * if your tox package complains it cannot find py-filelock, update the latter to 3.4.2_1 (commit 97cae4a by yuri@ 2022-01-19)
Release Notes: https://github.com/madmaze/pytesseract/releases/tag/v0.3.9 * bump minimal Python requirement to 3.7, upstream de-supports EOL 3.6 * upstream made build tweaks Packager Notes: * test_image_to_data_common_output[dict] is failing for me, => madmaze/pytesseract#406 * if your tox package complains it cannot find py-filelock, update the latter to 3.4.2_1 (commit 97cae4a by yuri@ 2022-01-19)
This is so weird actually. How the hell those tests pass under Linux then? PS: I will have to create dev env for myself, so this might take some time. PS2: This should be resolved now if the value was just a negative number. |
Account for negative values. Fixes #406
Account for negative values. Fixes #406
The patch in 06e7f80 is insufficient. confidence_values is So I am trying this, in the try: block, I have changed val = int(...) to val=int(float(...)) - and then it succeeds on Python 3.7...3.9. I cannot currently test 3.10, this needs more work on FreeBSD since it sees distutils stuff and barfs.
|
...via tsv file; this was the one failing self-test, now passes. madmaze/pytesseract#406
Release Notes: https://github.com/madmaze/pytesseract/releases/tag/v0.3.9 * bump minimal Python requirement to 3.7, upstream de-supports EOL 3.6 * upstream made build tweaks Packager Notes: * test_image_to_data_common_output[dict] is failing for me, => madmaze/pytesseract#406 * if your tox package complains it cannot find py-filelock, update the latter to 3.4.2_1 (commit 97cae4a by yuri@ 2022-01-19) (cherry picked from commit ee92f58)
...via tsv file; this was the one failing self-test, now passes. madmaze/pytesseract#406 (cherry picked from commit fb684ee)
distutils is axed already in the latest release. For the |
Account for negative values. Fixes #406
Yup, I'd seen that but not investigated in more detail since that might have looked like infrastructure work, and also for successful tests on Python 3.10 I think we should also have Pandas/NumPy, which hinges on FreeBSD not providing NumPy 1.22 yet (the first version to formally support Python 3.10).
Thanks. |
Hello namesake,
the self-test suite fails on FreeBSD for pytesseract 0.3.8 and 0.3.9 with various Python 3.x versions,
Full story:
The text was updated successfully, but these errors were encountered: