Skip to content

Commit 0b28696

Browse files
committed
fixed #13758 - removed support for Python 3.6
1 parent b9ee645 commit 0b28696

4 files changed

Lines changed: 7 additions & 8 deletions

File tree

.github/workflows/scriptcheck.yml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ jobs:
4848
runs-on: ubuntu-22.04
4949
strategy:
5050
matrix:
51-
python-version: [3.6, 3.7, 3.8, 3.9, '3.10', '3.11', '3.12', '3.13']
51+
python-version: [3.7, 3.8, 3.9, '3.10', '3.11', '3.12', '3.13']
5252
include:
5353
- python-version: '3.13'
5454
python-latest: true
@@ -105,7 +105,7 @@ jobs:
105105
if: matrix.python-latest
106106
run: |
107107
shopt -s globstar
108-
pylint --jobs $(nproc) --py-version 3.6 addons/**/*.py htmlreport/cppcheck-htmlreport htmlreport/**/*.py test/**/*.py tools/**/*.py
108+
pylint --jobs $(nproc) --py-version 3.7 addons/**/*.py htmlreport/cppcheck-htmlreport htmlreport/**/*.py test/**/*.py tools/**/*.py
109109
110110
- name: check .json files
111111
if: matrix.python-latest
@@ -156,9 +156,7 @@ jobs:
156156
test/tools/htmlreport/test_htmlreport.py
157157
test/tools/htmlreport/check.sh
158158
159-
# Python 3.6 is excluded as it is not supported by setuptools-scm package for getting package version
160159
- name: test htmlreport (pip)
161-
if: matrix.python-version != '3.6'
162160
run: |
163161
python -m venv venv
164162
source venv/bin/activate

cmake/findDependencies.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,8 @@ if(NOT Python_Interpreter_FOUND)
6161
set(USE_MATCHCOMPILER_OPT "Off")
6262
endif()
6363
else()
64-
if(${Python_VERSION} VERSION_LESS 3.6)
65-
message(FATAL_ERROR "The minimum supported Python version is 3.6 - found ${Python_VERSION}")
64+
if(${Python_VERSION} VERSION_LESS 3.7)
65+
message(FATAL_ERROR "The minimum supported Python version is 3.7 - found ${Python_VERSION}")
6666
endif()
6767
endif()
6868

releasenotes.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,4 +21,5 @@ Other:
2121
- added CMake target `run-clang-tidy-csa` to run Clang Static Analyzer
2222
- added CMake option `ENABLE_CSA_ALPHA` to enable the Clang Static Analyzer alpha checkers
2323
- Updated TinyXML-2 to v11.0.0
24+
- The minimum supported Python version has been bumped to 3.7.
2425
-

tools/donate-cpu.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,10 +125,10 @@
125125
print('Unhandled argument: ' + arg)
126126
sys.exit(1)
127127

128-
if sys.version_info.major < 3 or (sys.version_info.major == 3 and sys.version_info.minor < 6):
128+
if sys.version_info.major < 3 or (sys.version_info.major == 3 and sys.version_info.minor < 7):
129129
print("#" * 80)
130130
print("IMPORTANT")
131-
print("Please run the client with at least Python 3.6, thanks!")
131+
print("Please run the client with at least Python 3.7, thanks!")
132132
print("#" * 80)
133133
time.sleep(2)
134134
sys.exit(1)

0 commit comments

Comments
 (0)