Tox fails for Python 3.11
envgap__madmaze__pytesseract-484
01 / FAILURE SIGNATURE
As reported upstream
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 38: invalid start byte
Not a benchmark task.
- The project already builds and runs before the fix, so there is nothing to repair.
02 / ENVIRONMENT RECIPE
- Base commit
6232e977e8676b6dfb0dd705c909d17854a8edd1- Manifest
setup.cfg- Reproduce
Awaiting issue-specific recipe- Run under trace
Awaiting a meaningful runtime command
03 / ORIGINAL ISSUE TEXT
madmaze/pytesseract #484 · read the original issue
After [installing pytesseract *from source*](https://github.com/madmaze/pytesseract#installation) & running `tox`, I get the following response:
```
Exception in thread Thread-3 (_readerthread):
Traceback (most recent call last):
File "C:\Users\Name\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "C:\Users\Name\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Name\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1552, in _readerthread
buffer.append(fh.read())
^^^^^^^^^
File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 38: invalid start byte
Exception in thread Thread-5 (_readerthread):
Traceback (most recent call last):
File "C:\Users\Name\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "C:\Users\Name\AppData\Local\Programs\Python\Python311\Lib\threading.py", line 975, in run
self._target(*self._args, **self._kwargs)
File "C:\Users\Name\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1552, in _readerthread
buffer.append(fh.read())
^^^^^^^^^
File "<frozen codecs>", line 322, in decode
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 38: invalid start byte
py37: skipped because could not find python interpreter with spec(s): py37
py37: SKIP ⚠ in 0.38 seconds
py38: skipped because could not find python interpreter with spec(s): py38
py38: SKIP ⚠ in 0.02 seconds
py39: skipped because could not find python interpreter with spec(s): py39
py39: SKIP ⚠ in 0.03 seconds
py310: skipped because could not find python interpreter with spec(s): py310
py37: SKIP (0.38 seconds)
py38: SKIP (0.02 seconds)
py39: SKIP (0.03 seconds)
py310: SKIP (0.05 seconds)
evaluation failed :( (0.61 seconds)
```
Since the documentation doesn't determine which Python versions are supported, ChatGPT told me to *try contacting the package maintainers to ask about compatibility with Python 3.11.*.😄
I guess the tox tests are simply outdated, right?04 / LABELS
Labels from the report text only; not yet run
No supported category has been assigned.
Label rules and the text that matched
[]