You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 2 Next »

Remove Python version by following the below steps

  1. Bump the python version in setup.py and update the python version warning in __init__.py
  2. Delete the unsupported Python version containers from sdks/python/container
  3. Remove the test-suites for the unsupported python version from
    1. Remove unsupported py{version} from the following files/directories
      1. sdks/python/test-suites/gradle.properties
      2. apache_beam/testing/tox
      3. apache_beam/testing/dataflow
      4. apache_beam/testing/direct
      5. apache_beam/testing/portable
    2. Remove the unsupported python version gradle tasks from
      1. beam/.test-infra/{DSL_SCRIPT}.groovy
      2. build.gradle.kts
      3. settings.gradle.kts
      4. buildSrc/src/main/groovy/org/apache/beam/gradle/BeamModulePlugin.groovy
    3. Remove the support for building wheels and source distributions for the unsupported Python version from .github/workflows/build_wheels.yml
    4. Remove the unsupported Python version from GitHub actions unit tests at .github/workflows/python_tests.yml
    5. Remove the unsupported Python version from sdks/python/tox.ini
  4. 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

  • No labels