Joachim M. Giæver преди 1 година
родител
ревизия
ac7bdb6426
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  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