Skip to content

Commit

Permalink
fix: properly handle python versions (#2779)
Browse files Browse the repository at this point in the history
  • Loading branch information
gericdong authored Mar 15, 2024
1 parent 39466fe commit c5d48c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .cloud-build/execute_changed_notebooks_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ def _get_notebook_python_version(notebook_path: str) -> str:

# Look for the python version specification pattern
re_match = re.search(
"python version = (\d\.\d)", markdown, flags=re.IGNORECASE
"python version = (\d+\.\d+)", markdown, flags=re.IGNORECASE
)
if re_match:
# get the version number
Expand Down

0 comments on commit c5d48c8

Please sign in to comment.