tvalentyn commented on code in PR #29834:
URL: https://github.com/apache/beam/pull/29834#discussion_r1483308067


##########
sdks/python/test-suites/xlang/build.gradle:
##########
@@ -67,22 +67,13 @@ def ioXlang = new CrossLanguageTask().tap {
 
 // This list should include all expansion service targets in 
sdks/python/standard_expansion_services.yaml
 def servicesToGenerateFrom = [ioExpansionPath, gcpExpansionPath]
-def lowestSupportedVersion = 
project.properties['cross_language_validates_py_versions'].split(',')[0]
-List<String> dependencies = new 
File(project(":sdks:python:container:py${getVersionSuffix(lowestSupportedVersion)}").projectDir,
 "base_image_requirements.txt").text.split('\n')
-List<String> xlangGenerationDeps = []
-for (dep in dependencies){
-    if (dep.containsIgnoreCase("jinja2")){
-        xlangGenerationDeps.add(dep)
-        break
-    }
-}
 def xlangWrapperValidation = new CrossLanguageTask().tap {
     name = "xlangWrapperValidation"
     expansionProjectPaths = servicesToGenerateFrom
     collectMarker = "xlang_wrapper_generation"
     startJobServer = setupTask
     cleanupJobServer = cleanupTask
-    additionalDeps = xlangGenerationDeps
+    additionalDeps = ['Jinja2']

Review Comment:
   i'd recommend using consistent versions with toml, either unpinned in both 
places or pinned in both places.



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

Reply via email to