[Failing Test]: Pylint failed when hypothesis > 6.148.3 is used
What happened?
The workflow https://github.com/apache/beam/actions/workflows/beam_PreCommit_PythonLint.yml failed recently due to a recent update on hypothesis.
The first failure: https://github.com/apache/beam/actions/runs/19810292801
The last success: https://github.com/apache/beam/actions/runs/19804782905
The only difference of the above runs is the version hypothesis. The failure run was on 6.148.4, while the successful one was on 6.148.3.
Error message:
************* Module apache_beam.coders.coders_property_based_test
apache_beam/coders/coders_property_based_test.py:132:4: W0101: Unreachable code (unreachable)
apache_beam/coders/coders_property_based_test.py:133:4: W0101: Unreachable code (unreachable)
apache_beam/coders/coders_property_based_test.py:136:4: W0101: Unreachable code (unreachable)
Still unsure about if it is a hypothesis regression or a pylint bug yet.
Issue Failure
Failure: Test is failed
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
Shall we report this issue to https://github.com/HypothesisWorks/hypothesis/issues ?