Subject: Test failures with Python 3 (Re: PMCs: any Hackathon requests? (deadline 11 October))


On Wed, Oct 16, 2019 at 9:55 AM Daniel Shahaf <[EMAIL PROTECTED]> wrote:

Python 3 for the build and test process is only supported on *nix, not
on Windows.

[[[
Traceback (most recent call last):
  File "win-tests.py", line 134, in <module>
    cp.items('options'))
  File "build\generator\gen_win_dependencies.py", line 306, in __init__
    self.find_libraries(False)
  File "build\generator\gen_win_dependencies.py", line 327, in find_libraries
    self._find_jdk(show_warnings)
  File "build\generator\gen_win_dependencies.py", line 1085, in _find_jdk
    vermatch = re.search(r'(([0-9]+(\.[0-9]+)+)(_[._0-9]+)?)', line, re.M)
  File "C:\Python37\lib\re.py", line 183, in search
    return _compile(pattern, flags).search(string)
TypeError: cannot use a string pattern on a bytes-like object
]]]

The fix is probably easy, but I'm just noting it here so we don't get
ahead of ourselves.

--
Johan