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
636a541f
Commit
636a541f
authored
May 24, 2023
by
Andrew Murray
Browse files
Added Python 3.12 beta
parent
cc12df8a
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
osx_utils.sh
osx_utils.sh
+6
-3
tests/test_fill_pyver.sh
tests/test_fill_pyver.sh
+2
-0
No files found.
osx_utils.sh
View file @
636a541f
...
...
@@ -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 2
8
Ma
r
2023 - latest Python of each version with binary download
# As of 2
4
Ma
y
2023 - latest Python of each version with binary download
# available.
# See: https://www.python.org/downloads/macos/
LATEST_2p7
=
2.7.18
...
...
@@ -19,8 +19,9 @@ LATEST_3p6=3.6.8
LATEST_3p7
=
3.7.9
LATEST_3p8
=
3.8.10
LATEST_3p9
=
3.9.13
LATEST_3p10
=
3.10.10
LATEST_3p11
=
3.11.2
LATEST_3p10
=
3.10.11
LATEST_3p11
=
3.11.3
LATEST_3p12
=
3.12.0b1
function
check_python
{
...
...
@@ -79,6 +80,8 @@ function fill_pyver {
echo
$LATEST_2p7
elif
[
$ver
==
3
]
||
[
$ver
==
"3.11"
]
;
then
echo
$LATEST_3p11
elif
[
$ver
==
"3.12"
]
;
then
echo
$LATEST_3p12
elif
[
$ver
==
"3.10"
]
;
then
echo
$LATEST_3p10
elif
[
$ver
==
"3.9"
]
;
then
...
...
tests/test_fill_pyver.sh
View file @
636a541f
...
...
@@ -3,6 +3,8 @@
[
"
$(
fill_pyver 2.7
)
"
==
$LATEST_2p7
]
||
ingest
[
"
$(
fill_pyver 2.7.8
)
"
==
"2.7.8"
]
||
ingest
[
"
$(
fill_pyver 3
)
"
==
$LATEST_3p11
]
||
ingest
[
"
$(
fill_pyver 3.12
)
"
==
$LATEST_3p12
]
||
ingest
[
"
$(
fill_pyver 3.12.0
)
"
==
"3.12.0"
]
||
ingest
[
"
$(
fill_pyver 3.11
)
"
==
$LATEST_3p11
]
||
ingest
[
"
$(
fill_pyver 3.11.0
)
"
==
"3.11.0"
]
||
ingest
[
"
$(
fill_pyver 3.10
)
"
==
$LATEST_3p10
]
||
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