Ver código fonte

remove urllib3

Joachim M. Giæver 4 anos atrás
pai
commit
484ff16c56
2 arquivos alterados com 2 adições e 3 exclusões
  1. 1 2
      snap/plugins/python_wot_plugin.py
  2. 1 1
      snap/snapcraft.yaml

+ 1 - 2
snap/plugins/python_wot_plugin.py

@@ -16,8 +16,7 @@ for python >= 3.7, see:
 class PluginImpl(plugins.python.PythonPlugin):
     def get_build_commands(self) -> List[str]:
         cmds = super().get_build_commands()
-        cmds.insert(1, 'pip install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org --upgrade pip')
-        print(cmds)
+        # cmds.insert(1, 'pip install --trusted-host pypi.python.org --trusted-host files.pythonhosted.org --trusted-host pypi.org --upgrade pip')
         for idx, cmd in enumerate(cmds):
             # Find position where to inject pip uninstall
             if cmd.strip().startswith('[ -f setup.py ]'):

+ 1 - 1
snap/snapcraft.yaml

@@ -28,7 +28,7 @@ parts:
     source: https://github.com/home-assistant/core.git
     source-tag: ${SNAPCRAFT_PROJECT_VERSION}
     python-packages:
-      - urllib3[secure]
+      #- urllib3[secure]
       #- setuptools
       - wheel
       - Cython