packages icon indicating copy to clipboard operation
packages copied to clipboard

python-certifi: bump to 2022.9.24

Open cotequeiroz opened this issue 3 years ago • 0 comments

Maintainer: me Compile tested: aarch64, mediatek/mt7622, Linksys E8450 Run tested: same as above. Tested with python3 -m certifi

Description: This version updates the CA bundle, and needs urllib as dependency.

Signed-off-by: Eneas U de Queiroz [email protected]


As for the urllib dependency, it is not used directly in the code, but appears to be an importlib dependency, installed by python3-light. When I first tried to run it, it failed:

# python3 -m certifi
Traceback (most recent call last):
  File "/usr/lib/python3.10/runpy.py", line 187, in _run_module_as_main
  File "/usr/lib/python3.10/runpy.py", line 146, in _get_module_details
  File "/usr/lib/python3.10/runpy.py", line 110, in _get_module_details
  File "/usr/lib/python3.10/site-packages/certifi/__init__.py", line 1, in <module>
  File "/usr/lib/python3.10/site-packages/certifi/core.py", line 46, in <module>
  File "/usr/lib/python3.10/importlib/resources.py", line 4, in <module>
  File "/usr/lib/python3.10/importlib/_common.py", line 2, in <module>
  File "/usr/lib/python3.10/pathlib.py", line 14, in <module>
ModuleNotFoundError: No module named 'urllib'

python3-light, by definition, can't handle everything. I just want to make sure this behavior is by design before I add a redundant dependency. Ping @jefferyto

cotequeiroz avatar Oct 07 '22 14:10 cotequeiroz