Huge thanks to our Platinum Members Endace and LiveAction,
and our Silver Member Veeam, for supporting the Wireshark Foundation and project.

Wireshark-commits: [Wireshark-commits] master e9f7bb5: Require Python 3, drop Python 2 support

From: Wireshark code review <code-review-do-not-reply@xxxxxxxxxxxxx>
Date: Wed, 07 Nov 2018 20:47:05 +0000
URL: https://code.wireshark.org/review/gitweb?p=wireshark.git;a=commit;h=e9f7bb512735aeb91a7a3a5fc05840fb2ee27d9e
Submitter: "Anders Broman <a.broman58@xxxxxxxxx>"
Changed: branch: master
Repository: wireshark

Commits:

e9f7bb5 by Peter Wu (peter@xxxxxxxxxxxxx):

    Require Python 3, drop Python 2 support
    
    Python 3 is widely available. All major Linux distributions support it.
    RHEL is covered via EPEL (which is already required for cmake3). Drop
    support for Python 2 in order to reduce maintenance costs. The main
    motivation is being able to simplify the tests.
    
    CMake is updated to search for Python >= 3.4 and will fail if
    unavailable (generating dissectors.c requires Python, so it is quite an
    important piece to have).
    
    The documentation is updated to reflect the Python 3.7 paths used by
    Chocolatey. Tested the git-review installation instructions in Windows 7
    x64 without a previous Chocolatey installation.
    
    macOS brew now installs Python 3 (its dependencies are already installed
    by python@2 for libxml2). The macOS (non-brew variant) is updated to use
    the official 64-bit installer to install Python 3.
    
    Change-Id: I80b1e36957f338e0dad1bfcc173b6418682cddba
    Reviewed-on: https://code.wireshark.org/review/30192
    Petri-Dish: Peter Wu <peter@xxxxxxxxxxxxx>
    Tested-by: Petri Dish Buildbot
    Reviewed-by: Alexis La Goutte <alexis.lagoutte@xxxxxxxxx>
    Reviewed-by: Anders Broman <a.broman58@xxxxxxxxx>
    

Actions performed:

    from  77114b7   gsm_abis_oml: Decode Primary OML IP Address as big endian
     add  e9f7bb5   Require Python 3, drop Python 2 support


Summary of changes:
 CMakeLists.txt                                     |  4 +-
 README.bsd                                         |  2 +-
 cmake/modules/LocatePythonExecutable.cmake         |  3 +-
 cmake/modules/UseAsn2Wrs.cmake                     |  8 +--
 debian/control                                     |  4 +-
 debian/rules                                       |  2 +-
 docbook/wsdg_src/WSDG_chapter_dissection.asciidoc  |  5 +-
 docbook/wsdg_src/WSDG_chapter_quick_setup.asciidoc | 12 ++---
 docbook/wsdg_src/WSDG_chapter_sources.asciidoc     | 12 +++--
 docbook/wsdg_src/WSDG_chapter_tests.asciidoc       | 24 ++++-----
 docbook/wsdg_src/WSDG_chapter_tools.asciidoc       | 24 +++------
 packaging/rpm/wireshark.spec.in                    |  2 +-
 tools/debian-setup.sh                              |  4 +-
 tools/macos-setup-brew.sh                          |  2 +-
 tools/macos-setup.sh                               | 60 ++++++++++++++++++++++
 15 files changed, 109 insertions(+), 59 deletions(-)