Skip to content

Commit

Permalink
pw_env_setup: Relax Python version requirements
Browse files Browse the repository at this point in the history
Bug: project-chip/connectedhomeip#16664
Change-Id: I6ea98e40269f357f2ce16e39bc21b9a294cfb1c8
Reviewed-on: https://pigweed-review.googlesource.com/c/pigweed/pigweed/+/93722
Commit-Queue: Auto-Submit <auto-submit@pigweed.google.com.iam.gserviceaccount.com>
Pigweed-Auto-Submit: Rob Mohr <mohrr@google.com>
Reviewed-by: Anthony DiGirolamo <tonymd@google.com>
  • Loading branch information
mohrr authored and CQ Bot Account committed Jun 29, 2022
1 parent 63b83f7 commit 813fb53
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pw_env_setup/py/pw_env_setup/virtualenv_setup/install.py
Original file line number Diff line number Diff line change
Expand Up @@ -166,9 +166,7 @@ def install( # pylint: disable=too-many-arguments

version = subprocess.check_output(
(python, '--version'), stderr=subprocess.STDOUT).strip().decode()
# We expect Python 3.8, but if it came from CIPD let it pass anyway.
if ('3.8' not in version and '3.9' not in version
and 'chromium' not in version):
if ' 3.' not in version:
print('=' * 60, file=sys.stderr)
print('Unexpected Python version:', version, file=sys.stderr)
print('=' * 60, file=sys.stderr)
Expand Down

0 comments on commit 813fb53

Please sign in to comment.