20 May 2023
	
		
		02:21 PM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 - last edited on 
    
	
		
		
		20 Aug 2024
	
		
		11:22 AM
	
	
	
	
	
	
	
	
	
	
	
	
	
	
 by 
				
		 Michal_Gebacki
		
			Michal_Gebacki
		
		
		
		
		
		
		
		
	
			
		
For historical reasons, I have been adding
"install_requires": ["requests>=2.6.0"],
in the plugin.json file of extensions.
Now, this inclusion inflates the extension more than 600 KB. A simple extension can have a few KBs, but with the "install_requires" above, it goes above 610 KB...
I believe this requirement has been supported for a very long time, so I'm taking it out from my extensions. But does anyone know of any associated risk?
Solved! Go to Solution.
20 May 2023 02:43 PM
In Extensions Framework 1.0 the requests library is included with the plugin agent and is automatically added to the sys.path. Unless you need a specific version, you can get rid of it and just use the one that comes with the plugin agent.
20 May 2023 03:23 PM
I was a little afraid that older ActiveGates would still have older versions of requests. But I have just checked AG 1.237, and it comes with requests 2.25.1. So I agree there is no risk 🙂
