GeoIP module unnecessarily requires GDAL
    
    
    
      
      
      
        
The commit https://github.com/django/django/commit/31bef51d8ea5e3bf650de1495ae1f0566670b8f3 (in versions 4.1a1 forward) moved the import of django.contrib.gis.geos.Point from the def geos() function to top-level, with the unfortunate side-effect that importing the GeoIP module now requires working GDAL libraries.
The GeoIP module should be usable without GDAL; naturally, returning a GDAL geometry would require GDAL.
My suggested fix would be to revert the above commit; a late import should be fine here.
       
     
   
 
      
        
        
          Change History
          (6)
        
          
          
  
  
  
    
      | Triage Stage: | 
      
        Unreviewed → Accepted
       | 
    
  
 
           
          
  
  
  
    
      | Severity: | 
      
        Normal → Release blocker
       | 
    
  
 
           
          
  
  
  
    
      | Triage Stage: | 
      
        Accepted → Ready for checkin
       | 
    
  
 
           
          
  
  
  
    
      | Resolution: | 
      
        → fixed
       | 
    
    
      | Status: | 
      
        assigned → closed
       | 
    
  
 
           
          
          
         
       
     
        
    
    
Patch: https://github.com/django/django/pull/15906