]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
ci: pin mypy version until python/mypy#8962 is resolved 389/head
authorJoerg Behrmann <behrmann@physik.fu-berlin.de>
Mon, 6 Jul 2020 10:10:51 +0000 (12:10 +0200)
committerJoerg Behrmann <behrmann@physik.fu-berlin.de>
Fri, 17 Jul 2020 16:43:36 +0000 (18:43 +0200)
Starting with 0.780 (including current 0.782) the type arguments for
shutil.copyfileobj cannot be infered.

.github/workflows/ci-mypy.yml
ci/semaphore.sh

index d261f39c8e4698bc470b13bf749c083cd875cec7..9dabc97b618b5a7c9a80edca96af9b4c0d5d6768 100644 (file)
@@ -9,6 +9,6 @@ jobs:
       with:
         python-version: '3.x'
     - name: install mypy via pip
-      run: python3 -m pip install mypy
+      run: python3 -m pip install 'mypy==0.770'
     - name: run mypy on mkosi with settings from setup.cfg
       run: python3 -m mypy mkosi
index 608c64799c2d4b960ada393a07282e9e01d892d1..e874614c00d1404b346385f5eb16e9675ab0b682 100755 (executable)
@@ -36,5 +36,5 @@ sudo python3.6 -m pip install pytest
 sudo python3.6 -m pytest
 
 # Run mypy check
-sudo python3.6 -m pip install mypy
+sudo python3.6 -m pip install 'mypy==0.770'
 sudo python3.6 -m mypy mkosi