Do not hardcode Python versions in test suites, instead make it configurable.
Open
core
P3
python
sub-task
- Dominant language
- Java
- Stars
- 8.7k
- Forks
- 4.7k
- Avg merge
- 1d 20h
- Merged PRs (30d)
- 196
Description
We have some tests that we run only under specific Python versions,
- FlinkValidatesRunner test runs using Python 3.5
- HDFS Python 3 tests are running only with Python 3.7
- Cross-language Py3 tests for Spark are running under Python 3.5
etc...
Python versions to run them under need to be switchable.
Imported from Jira [BEAM-9980](https://issues.apache.org/jira/browse/BEAM-9980). Original Jira may contain additional context.
Reported by: yoshiki.obata.
Subtask of issue #20207
Contributor guide
Assessment
This issue has not been assessed yet.