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

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

                Author: ASF GitHub Bot
            Created on: 17/Nov/21 17:41
            Start Date: 17/Nov/21 17:41
    Worklog Time Spent: 10m 
      Work Description: tvalentyn commented on a change in pull request #15819:
URL: https://github.com/apache/beam/pull/15819#discussion_r751481066



##########
File path: .test-infra/jenkins/dependency_check/generate_report.sh
##########
@@ -20,6 +20,9 @@
 set -e
 set -v
 
+# Get currently used Python version from args or assume a default.
+PYTHON=${1:-python3}

Review comment:
       verified that symlinks work and aliases don't




-- 
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: 682823)
    Time Spent: 15h 40m  (was: 15.5h)

> Provide a way to better control minor+patch versions of Python 3.x 
> interpreters used to run Beam tests locally and on Jenkins.
> ------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: BEAM-8152
>                 URL: https://issues.apache.org/jira/browse/BEAM-8152
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-py-core, testing
>            Reporter: Valentyn Tymofieiev
>            Priority: P3
>          Time Spent: 15h 40m
>  Remaining Estimate: 0h
>
> Currently, Beam Python test infrastructure does not provide fine-grained way 
> to control Python interpreter version. The major+minor version are typically 
> selected by virtual environment, and the patch version of interpreter is 
> defined by the version of python package available on machine that is running 
> the tests. 
> For example, Jenkins ubuntu-based machines, use Python 3.5.2 for python 3.5 
> test suites, while debian-based SDK harness containers for Python 3.5 come 
> with Python 3.5.6, and the python3.5 package available on my dev machine is 
> Python 3.5.4. 
> Throughout development of Python 3.5.x, Cpython implementation details that 
> have changed in and these changes affect certain codepaths in Beam, such as 
> type inference. 
>  
> When we encounter such issues, it is difficult for Beam developers to test 
> their changes against a particular patch version of Python interpreter both 
> remotely and locally. Opening this issue to make it simpler.
> cc: [~markflyhigh] [~yifanzou] [~udim] [~altay] who may have opinions and 
> ideas about how to make this simpler.
> Note that there are separate questions: 
>   1) which patch versions of Python we should test against on Jenkins  
>   2) which patch versions of Python Beam should claim to support. 
> Regardless of the answers to those questions, we may want to make it easier 
> for an engineer to run a test suite against a particular patch version of 
> Python, and/or make it easier to switch which patch version is used by 
> Jenkins. 



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

Reply via email to