{"record":{"id":"5d2784759ec02da6","repo":"apache/beam","slug":"this-version-of-apache-beam-has-not-been-sufficiently-tested-5d2784","errorCode":null,"errorMessage":"This version of Apache Beam has not been sufficiently tested on Python %s.%s. You may encounter bugs or missing features.","messagePattern":"This version of Apache Beam has not been sufficiently tested on Python (.+?)\\.(.+?)\\. You may encounter bugs or missing features\\.","errorType":"console","errorClass":null,"httpStatus":null,"severity":"warning","filePath":"sdks/python/setup.py","lineNumber":341,"sourceCode":"        'error: {}'.format(err.stderr))\n\n\ndef get_portability_package_data():\n  files = []\n  portability_dir = Path(__file__).parent / 'apache_beam' / \\\n                    'portability' / 'api'\n  for ext in ['*.pyi', '*.yaml']:\n    files.extend(\n        str(p.relative_to(portability_dir.parent.parent))\n        for p in portability_dir.rglob(ext))\n\n  return files\n\n\npython_requires = '>=3.10'\n\nif sys.version_info.major == 3 and sys.version_info.minor >= 15:\n  warnings.warn(\n      'This version of Apache Beam has not been sufficiently tested on '\n      'Python %s.%s. You may encounter bugs or missing features.' %\n      (sys.version_info.major, sys.version_info.minor))\n\nif __name__ == '__main__':\n  # In order to find the tree of proto packages, the directory\n  # structure must exist before the call to setuptools.find_packages()\n  # executes below.\n  generate_protos_first()\n\n  generate_external_transform_wrappers()\n\n  # These data files live elsewhere in the full Beam repository.\n  copy_tests_from_docs()\n\n  # generate cythonize extensions only if we are building a wheel or\n  # building an extension or running in editable mode.\n  cythonize_cmds = ('bdist_wheel', 'build_ext', 'editable_wheel')","sourceCodeStart":323,"sourceCodeEnd":359,"githubUrl":"https://github.com/apache/beam/blob/12126d8942aaf848030c478b4c6a28c6af861c66/sdks/python/setup.py#L323-L359","documentation":"Beam emits a warning at setup time when the running Python is 3.15 or newer, because that version has not been sufficiently tested with this Beam release (python_requires is >=3.10 and testing covers up to 3.14). The install proceeds but bugs or missing features are possible.","triggerScenarios":"Running pip install / python setup.py for Beam with sys.version_info.minor >= 15 (e.g. Python 3.15 pre-releases or new releases).","commonSituations":"Developers on the latest Python (3.15 alpha/beta or just-released) trying to install Beam; CI matrices that use 'python:latest' docker images.","solutions":["Use a supported Python version (>=3.10, <3.15), e.g. via pyenv, conda, or a pinned docker image like python:3.12.","If you must use 3.15, expect the warning and test thoroughly; consider installing from source with recent dependencies.","Pin CI images to a specific tested Python minor version instead of 'latest'."],"exampleFix":"// before\nFROM python:latest        # 3.15 -> warning\n// after\nFROM python:3.12-slim","handlingStrategy":"validation","validationCode":"import sys\nif sys.version_info >= (3, 15):\n    raise SystemExit('Use Python >=3.10,<3.15 (e.g. 3.12) for Apache Beam')","typeGuard":null,"tryCatchPattern":null,"preventionTips":["Pin Python 3.10–3.14 in pyenv/.python-version, conda env, or CI matrix","Avoid python:latest docker images; use a pinned tag like python:3.12-slim","Check Beam's supported Python versions in release notes before upgrading Python"],"tags":["python","compatibility","version-check","installation"],"backgroundTag":"unsupported-platform","analyzedSha":"12126d8942aaf848030c478b4c6a28c6af861c66","analyzedAt":"2026-09-13T01:50:10.254Z","contentChangedAt":"2026-09-13T01:50:10.254Z","schemaVersion":2},"datasetVersion":"2026-09-20T03:17:13.778Z"}