Skip to content

Commit

Permalink
Support Python 3.12 in Dataflow.
Browse files Browse the repository at this point in the history
  • Loading branch information
tvalentyn committed May 23, 2024
1 parent 6486591 commit 42c8482
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@

_LOGGER = logging.getLogger(__name__)

_PYTHON_VERSIONS_SUPPORTED_BY_DATAFLOW = ['3.8', '3.9', '3.10', '3.11']
_PYTHON_VERSIONS_SUPPORTED_BY_DATAFLOW = ['3.8', '3.9', '3.10', '3.11', '3.12']


class Environment(object):
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -972,7 +972,7 @@ def test_interpreter_version_check_passes_py38(self):

@mock.patch(
'apache_beam.runners.dataflow.internal.apiclient.sys.version_info',
(3, 12, 0))
(3, 13, 0))
@mock.patch(
'apache_beam.runners.dataflow.internal.apiclient.'
'beam_version.__version__',
Expand Down

0 comments on commit 42c8482

Please sign in to comment.