aIbrahiim commented on code in PR #37685:
URL: https://github.com/apache/beam/pull/37685#discussion_r2843547705


##########
buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy:
##########
@@ -3169,9 +3170,21 @@ class BeamModulePlugin implements Plugin<Project> {
             packages += ",${extra}"
           }
 
+          def pythonSdkDir = project.project(":sdks:python").projectDir
+          // Python 3.13 requires numpy>=2.1.0; constraints.txt pins numpy<2 
for py310-312.
+          def constraintsName = "3.13".equals(project.ext.pythonVersion) ? 
"constraints_py313.txt" : "constraints.txt"

Review Comment:
   Tried switching namex/optree to version ranges (>=0.0.9,<0.2.0 and 
>=0.16.0,<0.19.0) but that caused installGcpTest to fail in the 
Yaml_Xlang_Direct workflow so Im reverting to exact pins (namex==0.0.9, 
optree==0.16.0) so the ML stack installs reliably and  we can revisit ranges 
once keras pins these dependencies



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