Browse Source

Remove local resolver

Joachim M. Giæver 10 months ago
parent
commit
ac7bdb6426
2 changed files with 2 additions and 2 deletions
  1. 1 1
      snap/plugins/python_wot_plugin.py
  2. 1 1
      snap/snapcraft.yaml

+ 1 - 1
snap/plugins/python_wot_plugin.py

@@ -19,7 +19,7 @@ class PluginImpl(plugins.python.PythonPlugin):
         cmds = super().get_build_commands()
         for idx, cmd in enumerate(cmds):
             if cmd.strip().startswith('pip install -c') and "requirements_all" in cmd:
-                cmds[idx] = f"{cmd.strip()} --use-deprecated=legacy-resolver"
+                cmds[idx] = f"{cmd.strip()}" # --use-deprecated=legacy-resolver"
             elif "[ -f setup.py ]" in cmd:
                 # Use cfg instead of py
                 cmds[idx] = cmd.replace('[ -f setup.py ]', '"${SNAPCRAFT_PYTHON_INTERPRETER}" -m build')

+ 1 - 1
snap/snapcraft.yaml

@@ -235,7 +235,7 @@ parts:
     stage:
       - -lib/python3.11/site-packages/homeassistant/components/updater
       - -lib/python3.11/site-packages/aiogithubapi*
-      - -lib/python3.11/site-packages/icalendar
+      - -lib/python3.11/site-packages/icalendar*
     requirements:
       - requirements.txt
       #- requirements_all.txt