Wireshark mailing list archives
Dropping support for Python 2, requiring Python 3
From: Peter Wu <peter () lekensteyn nl>
Date: Tue, 16 Oct 2018 01:12:56 +0200
Hi, In order to improve the test suite without spending too much time on Python 2 compatibility, I would like to drop support for Python 2 and require at least Python 3.4 for Wireshark 3.0 (master). Windows developers should be fine, if you install Python via Chocolatey or grabbed the Python 3 installer you'll be OK. macOS developers using 'brew install python' or the Python 3 binary installers are also OK. For your convenience the tools/setup-macos*.sh scripts are also updated. About all Linux distributions have Python 3 available, some do not even install Python 2 by default (Ubuntu). Only with RHEL you'll have to enable EPEL for python3, but that's already required for CMake. Barring any objections, this change will land soon: https://code.wireshark.org/review/30192 Regarding the test suite, At the moment pytest is not required, but I wonder if there would be much pushback on converting the whole suite to using it. One possible issue is that older Linux distributions might not have a recent enough pytest version, effectively requiring them to install a newer one via pip or not running tests. -- Kind regards, Peter Wu https://lekensteyn.nl ___________________________________________________________________________ Sent via: Wireshark-dev mailing list <wireshark-dev () wireshark org> Archives: https://www.wireshark.org/lists/wireshark-dev Unsubscribe: https://www.wireshark.org/mailman/options/wireshark-dev mailto:wireshark-dev-request () wireshark org?subject=unsubscribe
Current thread:
- Dropping support for Python 2, requiring Python 3 Peter Wu (Oct 15)