beam icon indicating copy to clipboard operation
beam copied to clipboard

[Feature Request]: Beam compat test suites should create compatible environments that installs Beam and Test environment dependencies

Open tvalentyn opened this issue 1 year ago • 0 comments

What would you like to happen?

Current compat test suites first install test environment dependencies https://github.com/apache/beam/blob/76710e8e7345a37191b5c7498ec1eb91195748a6/sdks/python/tox.ini#L406, then install Beam, then run tests.

This can create incompatible environments, since pip doesn't resolve dependencies for all packages that are installed simultaneously, see: https://github.com/apache/beam/issues/30852 and https://github.com/tox-dev/tox/issues/2386#issuecomment-2040435212

We should see if we can install dependencies and Beam in the same command, that would reflect how people install beam together with other dependencies, withing the same requriements file or same pip install command.

Issue Priority

Priority: 3 (nice-to-have improvement)

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

tvalentyn avatar Apr 09 '24 19:04 tvalentyn