Skip to content

Commit

Permalink
fixed #12682 - deprecated support for Python 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
firewave committed May 1, 2024
1 parent 1f0ab48 commit 033e9b3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions cmake/findDependencies.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ else()
if(NOT PYTHONINTERP_FOUND AND NOT USE_MATCHCOMPILER_OPT STREQUAL "Off")
message(WARNING "No python interpreter found - disabling matchcompiler.")
set(USE_MATCHCOMPILER_OPT "Off")
else()
message(WARNING "Support for Python 2.7 is deprecated (it went EOL in January 2020) and will be removed in Cppcheck 2.16 - please use Python 3.x instead.")
endif()
endif()
if(PYTHONINTERP_FOUND)
Expand Down
1 change: 1 addition & 0 deletions releasenotes.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ Changed interface:
-

Deprecations:
- Support for Python 2.7 has been deprecated (it went EOL in January 2020) and will be removed in Cppcheck 2.16 - please use Python 3.x instead.
-

Other:
Expand Down

0 comments on commit 033e9b3

Please sign in to comment.