Skip to content

Commit

Permalink
Support Python 3.12 in Beam.
Browse files Browse the repository at this point in the history
  • Loading branch information
tvalentyn committed May 16, 2024
1 parent f4417e1 commit 4859131
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion sdks/python/apache_beam/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
import warnings

if sys.version_info.major == 3:
if sys.version_info.minor <= 6 or sys.version_info.minor >= 12:
if sys.version_info.minor <= 7 or sys.version_info.minor >= 13:
warnings.warn(
'This version of Apache Beam has not been sufficiently tested on '
'Python %s.%s. You may encounter bugs or missing features.' %
Expand Down
1 change: 1 addition & 0 deletions sdks/python/setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -523,6 +523,7 @@ def get_portability_package_data():
'Programming Language :: Python :: 3.9',
'Programming Language :: Python :: 3.10',
'Programming Language :: Python :: 3.11',
'Programming Language :: Python :: 3.12',
# When updating version classifiers, also update version warnings
# above and in apache_beam/__init__.py.
'Topic :: Software Development :: Libraries',
Expand Down

0 comments on commit 4859131

Please sign in to comment.