summarylogtreecommitdiffstats
path: root/strip-python-pip-system-certs.patch
blob: 4b6cd4b09f61551084a84d384358873f0a7880ed (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Remove pip_system_certs import as Arch provides this in python-requests
--- a/qt/aqt/__init__.py	2024-04-15 20:34:08.000000000 +0200
+++ b/qt/aqt/__init__.py	2024-04-15 20:34:58.526822612 +0200
@@ -6,13 +6,6 @@
 import logging
 import sys

-try:
-    import pip_system_certs.wrapt_requests
-except ModuleNotFoundError:
-    print(
-        "Python module pip_system_certs is not installed. System certificate store and custom SSL certificates may not work. See: https://github.com/ankitects/anki/issues/3016"
-    )
-
 if sys.version_info[0] < 3 or sys.version_info[1] < 9:
     raise Exception("Anki requires Python 3.9+")