python3Packages.python-telegram-bot: set --with-upstream-urllib3 properly, add workaround
This commit is contained in:
		
							parent
							
								
									5cb3501a37
								
							
						
					
					
						commit
						cc97e9d7f0
					
				@ -23,7 +23,11 @@ buildPythonPackage rec {
 | 
			
		||||
  checkInputs = [ pytest ];
 | 
			
		||||
  propagatedBuildInputs = [ certifi future urllib3 tornado decorator ];
 | 
			
		||||
 | 
			
		||||
  pipInstallFlags = "--install-option '--with-upstream-urllib3'";
 | 
			
		||||
  # --with-upstream-urllib3 is not working properly
 | 
			
		||||
  postPatch = ''
 | 
			
		||||
    rm -rf telegram/vendor
 | 
			
		||||
  '';
 | 
			
		||||
  setupPyGlobalFlags = "--with-upstream-urllib3";
 | 
			
		||||
 | 
			
		||||
  # tests not included with release
 | 
			
		||||
  doCheck = false;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user