Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Failing Test]: TypeError for EncodedFIle in Python SDF #33889

Open
1 of 17 tasks
apraga opened this issue Feb 5, 2025 · 2 comments
Open
1 of 17 tasks

[Failing Test]: TypeError for EncodedFIle in Python SDF #33889

apraga opened this issue Feb 5, 2025 · 2 comments

Comments

@apraga
Copy link

apraga commented Feb 5, 2025

What happened?

When packaging beam 2.62.0 in nix NixOS/nixpkgs#379201, 26 errors are due to Fails with TypeError: cannot pickle 'EncodedFile' instances. Here is the list

apache_beam/options/pipeline_options_validator_test.py
apache_beam/yaml/main_test.py
apache_beam/yaml/programming_guide_test.py
apache_beam/yaml/readme_test.py
apache_beam/yaml/yaml_combine_test.py
apache_beam/yaml/yaml_enrichment_test.py
apache_beam/yaml/yaml_io_test.py
apache_beam/yaml/yaml_join_test.py
apache_beam/yaml/yaml_mapping_test.py
apache_beam/yaml/yaml_ml_test.py
apache_beam/yaml/yaml_provider_unit_test.py

Any pointer would be great ,thanks !

Issue Failure

Failure: Test is flaky

Issue Priority

Priority: 1 (unhealthy code / failing or flaky postcommit so we cannot be sure the product is healthy)

Issue Components

  • 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: Infrastructure
  • Component: Spark Runner
  • Component: Flink Runner
  • Component: Samza Runner
  • Component: Twister2 Runner
  • Component: Hazelcast Jet Runner
  • Component: Google Cloud Dataflow Runner
@liferoad
Copy link
Contributor

How does nix install apache-beam? I saw you opened couple of issues, which are not seen when installing the beam with pip.

@apraga
Copy link
Author

apraga commented Feb 17, 2025

Thanks for the follow-up, it's been hard to get beam to fit into nix. It uses pypa to build a wheel and install from that.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants