|  | @@ -1,4 +1,4 @@
 | 
	
		
			
				|  |  | -#!/bin/sh
 | 
	
		
			
				|  |  | +#! /bin/bash
 | 
	
		
			
				|  |  |  # Copyright 2015 gRPC authors.
 | 
	
		
			
				|  |  |  #
 | 
	
		
			
				|  |  |  # Licensed under the Apache License, Version 2.0 (the "License");
 | 
	
	
		
			
				|  | @@ -21,7 +21,9 @@ export TEST=${TEST:-false}
 | 
	
		
			
				|  |  |  YAML_OK=$(python3 -c "import yaml; print(yaml.__version__.split('.') >= ['5', '4', '1'])")
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  if [[ "${YAML_OK}" != "True" ]]; then
 | 
	
		
			
				|  |  | -  python3 -m pip install --upgrade --ignore-installed PyYAML==5.4.1 --user
 | 
	
		
			
				|  |  | +  # PyYAML dropped 3.5 support at 5.4.1, which makes 5.3.1 the latest version we
 | 
	
		
			
				|  |  | +  # can use.
 | 
	
		
			
				|  |  | +  python3 -m pip install --upgrade --ignore-installed PyYAML==5.3.1 --user
 | 
	
		
			
				|  |  |  fi
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  echo "Generating build_autogenerated.yaml from bazel BUILD file"
 |