Conversation
|
The CI tests still failed. |
This will also remove support for python2
|
There are a lot of warnings: This may be useful: https://stackoverflow.com/questions/69884878/replacing-imp-with-importlib-maintaining-old-behavior |
|
In CI Windows:
Saw some encoding errors in CI Linux too. |
- On windows, error EACCESS when binding/opening socket - Fix UnicodeEncodeError/UnicodeDecodeError
nanangizz
left a comment
There was a problem hiding this comment.
pjsua tests in CI Windows produce about 6x errors (out of 2xx tests), mostly about failure in starting pjsua and FileNotFoundError: [WinError 2] The system cannot find the file specified. But as it seems to also happens before this Python version upgrade, I think it is not within the scope of this PR.
The failure related to sipp tests and AMRNB codec use. sipp tests will fail because it needs cygwin to run on windows. AMRNB build fails in windows. |
* Support Python3 for github CI * Fix runtime error due to changes in telnetlib for python3 This will also remove support for python2 * Fix runtime error due to changes in socket lib * Fix runtime error * Fix error * Replace imp to importlib to fix warning * Fix some error - On windows, error EACCESS when binding/opening socket - Fix UnicodeEncodeError/UnicodeDecodeError
Github CI no longer support Python2.7 (ref), making some tests failing.
This PR will update the unit tests using Python3, it will no longer work on Python2.