diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index ab420951..fe01ee60 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -55,6 +55,8 @@ jobs: - name: Test with pytest, generate coverage report (skipping typeguard) if: matrix.python-version == '3.8' run: | + # https://github.com/scikit-hep/cabinetry/issues/428 + pip install --upgrade typing_extensions # skip typeguard for coverage https://github.com/agronholm/typeguard/issues/356 pytest --runslow --cov-report=xml --typeguard-packages="" - name: Test with pytest diff --git a/setup.py b/setup.py index b42d8be1..8f2af5d9 100644 --- a/setup.py +++ b/setup.py @@ -16,7 +16,7 @@ "mypy", "types-tabulate", "types-PyYAML", - "typeguard>=4.0.0,!=4.0.1,!=4.1.*", # cabinetry#391, cabinetry#428 + "typeguard>=4.0.0", # cabinetry#391 "black", ] )