You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@beam.apache.org by "tvalentyn (via GitHub)" <gi...@apache.org> on 2024/04/12 18:20:58 UTC
[I] [Bug]: gradlew clean involves external transform generation and fails [beam]
tvalentyn opened a new issue, #30954:
URL: https://github.com/apache/beam/issues/30954
### What happened?
Repro:
```
gradlew :sdks:python:cleanPython
To honour the JVM settings for this build a single-use Daemon process will be forked. For more on this, please refer to https://docs.gradle.org/8.4/userguide/gradle_daemon.html#sec:disabling_the_daemon in the Gradle documentation.
Daemon will be stopped at the end of the build
Configuration on demand is an incubating feature.
> Task :sdks:python:cleanPython FAILED
b''
Traceback (most recent call last):
File "setup.py", line 260, in generate_external_transform_wrappers
subprocess.run([
File "/home/valentyn/.pyenv/versions/3.8.18/lib/python3.8/subprocess.py", line 516, in run
raise CalledProcessError(retcode, process.args,
subprocess.CalledProcessError: Command '['/home/valentyn/projects/beam/beam2/beam/build/gradleenv/1922375555/bin/python', '/home/valentyn/projects/beam/beam2/beam/sdks/python/gen_xlang_wrappers.py', '--cleanup', '--transforms-config-source', '/home/valentyn/projects/beam/beam2/beam/sdks/standard_external_transforms.yaml']' returned non-zero exit status 1.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "setup.py", line 300, in <module>
generate_external_transform_wrappers()
File "setup.py", line 269, in generate_external_transform_wrappers
raise RuntimeError(
RuntimeError: ('Could not generate external transform wrappers due to error: %s', b'Traceback (most recent call last):\n File "/home/valentyn/projects/beam/beam2/beam/sdks/python/gen_xlang_wrappers.py", line 35, in <module>\n import yaml\nModuleNotFoundError: No module named \'yaml\'\n')
FAILURE: Build failed with an exception.
```
### Issue Priority
Priority: 3 (minor)
### Issue Components
- [X] Component: Python SDK
- [ ] Component: Java SDK
- [ ] Component: Go SDK
- [ ] Component: Typescript SDK
- [ ] Component: IO connector
- [ ] Component: Beam YAML
- [ ] Component: Beam examples
- [ ] Component: Beam playground
- [ ] Component: Beam katas
- [ ] Component: Website
- [ ] Component: Spark Runner
- [ ] Component: Flink Runner
- [ ] Component: Samza Runner
- [ ] Component: Twister2 Runner
- [ ] Component: Hazelcast Jet Runner
- [ ] Component: Google Cloud Dataflow Runner
--
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: github-unsubscribe@beam.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug]: `gradlew clean` involves external transform generation and fails [beam]
Posted by "damccorm (via GitHub)" <gi...@apache.org>.
damccorm closed issue #30954: [Bug]: `gradlew clean` involves external transform generation and fails
URL: https://github.com/apache/beam/issues/30954
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] [Bug]: gradlew clean involves external transform generation and fails [beam]
Posted by "tvalentyn (via GitHub)" <gi...@apache.org>.
tvalentyn commented on issue #30954:
URL: https://github.com/apache/beam/issues/30954#issuecomment-2052253095
see also: https://github.com/apache/beam/blob/1a0591ea797440d2f4a6eb61fa7d87432856f872/buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy#L3025
--
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: github-unsubscribe@beam.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org