Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
fengzch-das
multibuild
Commits
58a37d73
Commit
58a37d73
authored
Oct 03, 2023
by
Andrew Murray
Browse files
Updated Python versions
parent
39942997
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
7 deletions
+7
-7
osx_utils.sh
osx_utils.sh
+6
-6
tests/test_fill_pyver.sh
tests/test_fill_pyver.sh
+1
-1
No files found.
osx_utils.sh
View file @
58a37d73
...
...
@@ -10,7 +10,7 @@ MACPYTHON_URL=https://www.python.org/ftp/python
MACPYTHON_PY_PREFIX
=
/Library/Frameworks/Python.framework/Versions
WORKING_SDIR
=
working
# As of
21 Jun
2023 - latest Python of each version with binary download
# As of
3 Oct
2023 - latest Python of each version with binary download
# available.
# See: https://www.python.org/downloads/macos/
LATEST_2p7
=
2.7.18
...
...
@@ -20,8 +20,8 @@ LATEST_3p7=3.7.9
LATEST_3p8
=
3.8.10
LATEST_3p9
=
3.9.13
LATEST_3p10
=
3.10.11
LATEST_3p11
=
3.11.
4
LATEST_3p12
=
3.12.0
b3
LATEST_3p11
=
3.11.
6
LATEST_3p12
=
3.12.0
function
check_python
{
...
...
@@ -78,10 +78,10 @@ function fill_pyver {
echo
$ver
elif
[
$ver
==
2
]
||
[
$ver
==
"2.7"
]
;
then
echo
$LATEST_2p7
elif
[
$ver
==
3
]
||
[
$ver
==
"3.11"
]
;
then
echo
$LATEST_3p11
elif
[
$ver
==
"3.12"
]
;
then
elif
[
$ver
==
3
]
||
[
$ver
==
"3.12"
]
;
then
echo
$LATEST_3p12
elif
[
$ver
==
"3.11"
]
;
then
echo
$LATEST_3p11
elif
[
$ver
==
"3.10"
]
;
then
echo
$LATEST_3p10
elif
[
$ver
==
"3.9"
]
;
then
...
...
tests/test_fill_pyver.sh
View file @
58a37d73
...
...
@@ -2,7 +2,7 @@
[
"
$(
fill_pyver 2
)
"
==
$LATEST_2p7
]
||
ingest
[
"
$(
fill_pyver 2.7
)
"
==
$LATEST_2p7
]
||
ingest
[
"
$(
fill_pyver 2.7.8
)
"
==
"2.7.8"
]
||
ingest
[
"
$(
fill_pyver 3
)
"
==
$LATEST_3p1
1
]
||
ingest
[
"
$(
fill_pyver 3
)
"
==
$LATEST_3p1
2
]
||
ingest
[
"
$(
fill_pyver 3.12
)
"
==
$LATEST_3p12
]
||
ingest
[
"
$(
fill_pyver 3.12.0
)
"
==
"3.12.0"
]
||
ingest
[
"
$(
fill_pyver 3.11
)
"
==
$LATEST_3p11
]
||
ingest
...
...
Write
Preview
Markdown
is supported
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