Browse Source

Update workflows' dependencies

Valentin Niess 7 months ago
parent
commit
ad647e0ece

+ 3 - 1
.github/workflows/appimage.yml

@@ -23,7 +23,9 @@ jobs:
     - uses: actions/checkout@v4
 
     - name: Install Dependencies
-      run: pip install PyGithub
+      run: |
+        sudo apt install -y desktop-file-utils
+        pip install PyGithub requests
 
     - name: Run updater
       run: |

+ 8 - 3
.github/workflows/applications.yml

@@ -21,17 +21,22 @@ on:
 
 jobs:
   Test:
-    runs-on: ubuntu-20.04
+    runs-on: ubuntu-latest
     strategy:
       matrix:
-        version: ['2.7', '3.7', '3.9']
+        version: ['3.9']
 
     steps:
     - uses: actions/checkout@v4
-    - uses: actions/setup-python@v4
+    - uses: actions/setup-python@v5
       with:
         python-version: ${{ matrix.version }}
 
+    - name: Install Dependencies
+      run: |
+        sudo apt install -y desktop-file-utils
+        pip install requests
+
     - name: Test scipy
       if: ${{ inputs.scipy }}
       run: |

+ 5 - 0
.github/workflows/pypi.yml

@@ -25,6 +25,11 @@ jobs:
       with:
         python-version: ${{ matrix.version }}
 
+    - name: Install Dependencies
+      run: |
+        sudo apt install -y desktop-file-utils
+        pip install requests
+
     - name: Test local builder
       run: |
         python -m python_appimage build local -p $(which python) \

+ 1 - 1
python_appimage/commands/build/local.py

@@ -12,7 +12,7 @@ __all__ = ['execute']
 def _unpack_args(args):
     '''Unpack command line arguments
     '''
-    return args.python, args.destination, args.no_packaging
+    return args.python, args.destination
 
 
 def execute(python=None, destination=None):