Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Main Repositories
otb
Commits
74e2f7ea
Commit
74e2f7ea
authored
Apr 21, 2022
by
Julien Osman
Browse files
BUG: Change test to python 3.8 instead of 3.5
parent
cc78a2c2
Pipeline
#10405
passed with stages
in 120 minutes and 13 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Packaging/Files/setup_python.sh
View file @
74e2f7ea
...
...
@@ -61,12 +61,12 @@ python_version_check
if
[
!
$CUSTOM_PYTHON
]
then
if
[
!
"
$python_major_version
"
-eq
3
]
&&
[
!
"
$python_minor_version
"
-eq
5
]
if
[
!
"
$python_major_version
"
-eq
3
]
&&
[
!
"
$python_minor_version
"
-eq
8
]
then
python_check_failed
fi
else
# case where user provides an OTB_PYTHON_EXE
if
[
!
"
$python_major_version
"
-eq
3
]
||
[
!
"
$python_minor_version
"
-eq
5
]
if
[
!
"
$python_major_version
"
-eq
3
]
||
[
!
"
$python_minor_version
"
-eq
8
]
then
printf
%s
\\
n
"*****Warning******"
printf
%s
\\
n
"OTB python bindings normally require python3.8 on Linux and MacOS and 3.7 on Microsoft Windows."
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment