|  | @@ -22,8 +22,8 @@ export PYTHON=${PYTHON:-python}
 | 
	
		
			
				|  |  |  export PIP=${PIP:-pip}
 | 
	
		
			
				|  |  |  export AUDITWHEEL=${AUDITWHEEL:-auditwheel}
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -# Install mandatory Python dependencies to avoid source wheel build failure.
 | 
	
		
			
				|  |  | -"${PIP}" install -rrequirements.txt --user
 | 
	
		
			
				|  |  | +# Install Cython to avoid source wheel build failure.
 | 
	
		
			
				|  |  | +"${PIP}" install --upgrade cython
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  # Allow build_ext to build C/C++ files in parallel
 | 
	
		
			
				|  |  |  # by enabling a monkeypatch. It speeds up the build a lot.
 | 
	
	
		
			
				|  | @@ -99,6 +99,8 @@ fi
 | 
	
		
			
				|  |  |  # are in a docker image or in a virtualenv.
 | 
	
		
			
				|  |  |  if [ "$GRPC_BUILD_GRPCIO_TOOLS_DEPENDENTS" != "" ]
 | 
	
		
			
				|  |  |  then
 | 
	
		
			
				|  |  | +  "${PIP}" install -rrequirements.txt
 | 
	
		
			
				|  |  | +
 | 
	
		
			
				|  |  |    if [ "$("$PYTHON" -c "import sys; print(sys.version_info[0])")" == "2" ]
 | 
	
		
			
				|  |  |    then
 | 
	
		
			
				|  |  |      "${PIP}" install futures>=2.2.0
 |