[ 
https://issues.apache.org/jira/browse/BEAM-12621?focusedWorklogId=708949&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-708949
 ]

ASF GitHub Bot logged work on BEAM-12621:
-----------------------------------------

                Author: ASF GitHub Bot
            Created on: 14/Jan/22 09:42
            Start Date: 14/Jan/22 09:42
    Worklog Time Spent: 10m 
      Work Description: tvalentyn commented on a change in pull request #16457:
URL: https://github.com/apache/beam/pull/16457#discussion_r784676692



##########
File path: .test-infra/tools/python_installer.sh
##########
@@ -0,0 +1,92 @@
+#!/usr/bin/env bash
+#
+#    Licensed to the Apache Software Foundation (ASF) under one or more
+#    contributor license agreements.  See the NOTICE file distributed with
+#    this work for additional information regarding copyright ownership.
+#    The ASF licenses this file to You under the Apache License, Version 2.0
+#    (the "License"); you may not use this file except in compliance with
+#    the License.  You may obtain a copy of the License at
+#
+#       http://www.apache.org/licenses/LICENSE-2.0
+#
+#    Unless required by applicable law or agreed to in writing, software
+#    distributed under the License is distributed on an "AS IS" BASIS,
+#    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+#    See the License for the spefic language governing permissions and
+#    limitations under the License.
+#
+#    Python version 3.6.13-3.7.10-3.8.9-3.9.4 installer via pyenv.
+#
+set -euo pipefail
+
+# Variable containing the python versions to install
+python_versions_arr=("3.6.13" "3.7.10" "3.8.9" "3.9.4")

Review comment:
       ```suggestion
   python_versions_arr=("3.8.9" "3.6.13" "3.7.10" "3.9.4" "3.10.1")
   ```
   
   Explanation: 
   1) the first version in the list will be the default alias for python, 
python3 commands. We can also add a comment about it. Python 3.8 seems like a 
good choice atm since Python 3.6 is already EOL and Python 3.9 is not yet 
supported by Beam
   2) Let's add Python 3.10.1 - looks like it's already supported by pyenv. 
this may be helpful in later this year when we start working on Python 3.10 
support. Might as well add it now since we are rebuilding the image anyway.
   




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Issue Time Tracking
-------------------

    Worklog Id:     (was: 708949)
    Time Spent: 40m  (was: 0.5h)

> Update Jenkins VMs to modern Ubuntu version
> -------------------------------------------
>
>                 Key: BEAM-12621
>                 URL: https://issues.apache.org/jira/browse/BEAM-12621
>             Project: Beam
>          Issue Type: Improvement
>          Components: build-system
>            Reporter: Kiley Sok
>            Assignee: Daniela Martín
>            Priority: P1
>              Labels: infra, infrastructure, jenkins
>          Time Spent: 40m
>  Remaining Estimate: 0h
>
> Update Jenkins VMs to modern Ubuntu version. Document/automate the process
> https://cwiki.apache.org/confluence/display/BEAM/Jenkins+Tips#JenkinsTips-HowtoinstallandupgradesoftwareonJenkinsworkers



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to