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
10d9a4c9
Unverified
Commit
10d9a4c9
authored
Jun 25, 2022
by
Matthew Brett
Committed by
GitHub
Jun 25, 2022
Browse files
Merge pull request #477 from radarhere/python
Added Python 3.11 beta
parents
ba77cbda
e939d3e6
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
4 deletions
+9
-4
osx_utils.sh
osx_utils.sh
+6
-3
tests/test_fill_pyver.sh
tests/test_fill_pyver.sh
+3
-1
No files found.
osx_utils.sh
View file @
10d9a4c9
...
...
@@ -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 1
7 May
2022 - latest Python of each version with binary download
# As of 1
9 Jun
2022 - latest Python of each version with binary download
# available.
# See: https://www.python.org/downloads/macos/
LATEST_2p7
=
2.7.18
...
...
@@ -18,8 +18,9 @@ LATEST_3p5=3.5.4
LATEST_3p6
=
3.6.8
LATEST_3p7
=
3.7.9
LATEST_3p8
=
3.8.10
LATEST_3p9
=
3.9.12
LATEST_3p10
=
3.10.4
LATEST_3p9
=
3.9.13
LATEST_3p10
=
3.10.5
LATEST_3p11
=
3.11.0b3
function
check_python
{
...
...
@@ -78,6 +79,8 @@ function fill_pyver {
echo
$LATEST_2p7
elif
[
$ver
==
3
]
||
[
$ver
==
"3.10"
]
;
then
echo
$LATEST_3p10
elif
[
$ver
==
"3.11"
]
;
then
echo
$LATEST_3p11
elif
[
$ver
==
"3.9"
]
;
then
echo
$LATEST_3p9
elif
[
$ver
==
"3.8"
]
;
then
...
...
tests/test_fill_pyver.sh
View file @
10d9a4c9
...
...
@@ -3,8 +3,10 @@
[
"
$(
fill_pyver 2.7
)
"
==
$LATEST_2p7
]
||
ingest
[
"
$(
fill_pyver 2.7.8
)
"
==
"2.7.8"
]
||
ingest
[
"
$(
fill_pyver 3
)
"
==
$LATEST_3p10
]
||
ingest
[
"
$(
fill_pyver 3.11
)
"
==
$LATEST_3p11
]
||
ingest
[
"
$(
fill_pyver 3.11.0
)
"
==
"3.11.0"
]
||
ingest
[
"
$(
fill_pyver 3.10
)
"
==
$LATEST_3p10
]
||
ingest
[
"
$(
fill_pyver 3.10.0
)
"
==
"3.10.0
rc1
"
]
||
ingest
[
"
$(
fill_pyver 3.10.0
)
"
==
"3.10.0"
]
||
ingest
[
"
$(
fill_pyver 3.9
)
"
==
$LATEST_3p9
]
||
ingest
[
"
$(
fill_pyver 3.9.0
)
"
==
"3.9.0"
]
||
ingest
[
"
$(
fill_pyver 3.8
)
"
==
$LATEST_3p8
]
||
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