Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Tests not compatible with python3 #3289
This does not affect end-users of curl/libcurl. It is relevant only to people who build from source and run the regression tests.
Python2 is slated for end-of-life in January 2020 - see PEP 373. Python is used by the test suite to provide a few servers against which curl is tested. Of these, dictserver.py and negtelnetserver.py are already compatible with python2 and python3. However, smbserver is still python2 only, due to its dependency on (a locally latched subset of) the impacket package for which there is not yet a python3-compatible version released.
Porting of impacket to python3 is being actively being worked on, but it looks like there is a way to go yet. So yes, let's leave things as they are in curl for the time being.
To aid a future update, I'll note here that when pulling in the impacket modules, the following modifications were/should be made:
Note also that smb3.py is not currently used.