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

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

                Author: ASF GitHub Bot
            Created on: 24/Dec/20 04:37
            Start Date: 24/Dec/20 04:37
    Worklog Time Spent: 10m 
      Work Description: tvalentyn commented on a change in pull request #13461:
URL: https://github.com/apache/beam/pull/13461#discussion_r548378480



##########
File path: .test-infra/jenkins/job_PostCommit_Python.groovy
##########
@@ -0,0 +1,51 @@
+/*
+ * 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 specific language governing permissions and
+ * limitations under the License.
+ */
+
+import CommonJobProperties as commonJobProperties
+import PostcommitJobBuilder
+
+import static PythonTestProperties.ALL_SUPPORTED_VERSIONS
+
+// This job defines the Python postcommit tests.
+ALL_SUPPORTED_VERSIONS.each { pythonVersion ->
+  def versionSuffix = pythonVersion.replace('.', '')
+  PostcommitJobBuilder.postCommitJob("beam_PostCommit_Python${versionSuffix}",
+      "Run Python ${pythonVersion} PostCommit",
+      "Python${versionSuffix}_PC(\"Run Python ${pythonVersion} PostCommit\")", 
this) {
+        description('Runs Python postcommit tests using Python 
${pythonVersion}.')
+
+        previousNames('/beam_PostCommit_Python3_Verify/')

Review comment:
       nit: I think this is a no longer necessary leftover, I'll remove it. 




----------------------------------------------------------------
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.

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


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

    Worklog Id:     (was: 527974)
    Time Spent: 20.5h  (was: 20h 20m)

> Do not hardcode Python versions in test suites, instead make it configurable.
> -----------------------------------------------------------------------------
>
>                 Key: BEAM-9980
>                 URL: https://issues.apache.org/jira/browse/BEAM-9980
>             Project: Beam
>          Issue Type: Sub-task
>          Components: sdk-py-core
>            Reporter: yoshiki obata
>            Priority: P2
>          Time Spent: 20.5h
>  Remaining Estimate: 0h
>
> We have some tests that we run only under specific Python versions,
> - FlinkValidatesRunner test runs using Python 3.5
> - HDFS Python 3 tests are running only with Python 3.7
> - Cross-language Py3 tests for Spark are running under Python 3.5
>     etc...
> Python versions to run them under need to be switchable.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to