THIS IS A TEST INSTANCE. ALL YOUR CHANGES WILL BE LOST!!!!
Adding a Python version
- Add a Beam Python container for the new python version.
- Add a new Python version to different test-suites.
- Tox test suites - link
- All the required Gradle tasks such as pre-commits, post-commits etc.
- Make sure all the runners support the new Python version.
- Add the Github actions suite for the new Python version.
- Add the support for building wheels for the new Python version.
- Update any code that needs changes for the new Python version.
- If there is a new feature update or there is a regression when adding a new Python version, please file an issue.
- All the unit tests and Integration tests must pass before merging the new version.
- If you are a non-committer, please ask the committers to run a seed job on your PR to test all the new changes.
Pull request for adding python 3.9 to Apache Beam: https://github.com/apache/beam/pull/16008
Removing a Python version
- Bump the python version in setup.py and update the python version warning in __init__.py.
- Delete the unsupported Python version containers from sdks/python/container
- Remove the test-suites for the unsupported python version from
- Remove unsupported py{version} from the following files/directories
- sdks/python/test-suites/gradle.properties
- apache_beam/testing/tox
- apache_beam/testing/dataflow
- apache_beam/testing/direct
- apache_beam/testing/portable
- Remove the unsupported python version gradle tasks from
- beam/.test-infra/{DSL_SCRIPT}.groovy
- build.gradle.kts
- settings.gradle.kts
- buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
- Remove the support for building wheels and source distributions for the unsupported Python version from .github/workflows/build_wheels.yml
- Remove the unsupported Python version from GitHub actions unit tests at .github/workflows/python_tests.yml
- Remove the unsupported Python version from sdks/python/tox.ini
- Remove unsupported py{version} from the following files/directories
- Clean up any code that applies to unsupported Python version[Optional]
Pull request for removing Python 3.6 support from Apache Beam: https://github.com/apache/beam/pull/17252