FS#70903 - [python-pyproj] add python-certifi as dependency

Attached to Project: Community Packages
Opened by Sergey Kolesov (cucullus) - Sunday, 16 May 2021, 11:46 GMT
Last edited by Antonio Rojas (arojas) - Saturday, 02 September 2023, 09:16 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Jaroslav Lichtblau (Dragonlord)
Bruno Pagani (ArchangeGabriel)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No



python-pyproj 3.x needs python-certifi as dependency.

File "/usr/lib/python3.9/site-packages/mpl_toolkits/basemap/__init__.py", line 46, in <module>
import pyproj
File "/usr/lib/python3.9/site-packages/pyproj/__init__.py", line 49, in <module>
import pyproj.network
File "/usr/lib/python3.9/site-packages/pyproj/network.py", line 8, in <module>
import certifi
ModuleNotFoundError: No module named 'certifi'

$ pacman -Q python-pyproj
python-pyproj 3.0.1-1
This task depends upon

Closed by  Antonio Rojas (arojas)
Saturday, 02 September 2023, 09:16 GMT
Reason for closing:  Fixed
Additional comments about closing:  python-pyproj 3.6.0-2
Comment by Eli Schwartz (eschwartz) - Sunday, 16 May 2021, 14:11 GMT
In fact, please can we patch this to rely on the system ca-certificates rather than certifi?
Comment by Repentinus (Repentinus) - Thursday, 24 June 2021, 16:46 GMT
That patch should be `sed -i '8d;48,51d' pyproj/network.py` once cd-ed into the source directory (for pyproj 3.1.0).
Comment by Buggy McBugFace (bugbot) - Tuesday, 08 August 2023, 19:11 GMT
This is an automated comment as this bug is open for more then 2 years. Please reply if you still experience this bug otherwise this issue will be closed after 1 month.