diff --git a/.github/workflows/main_ci.yml b/.github/workflows/main_ci.yml index 0c8401dbb..2abc8b3c6 100644 --- a/.github/workflows/main_ci.yml +++ b/.github/workflows/main_ci.yml @@ -32,7 +32,7 @@ jobs: - name: Install dependencies run: | python -m pip install --upgrade pip - python -m pip install --upgrade pytest pyflakes asv pytest-cov codecov lxml matplotlib packaging "mypy<1.0.0" + python -m pip install --upgrade pytest pyflakes asv pytest-cov codecov lxml matplotlib packaging mypy - if: ${{matrix.platform == 'macos-latest'}} name: Install MacOS deps run: | diff --git a/darshan-util/pydarshan/darshan/log_utils.py b/darshan-util/pydarshan/darshan/log_utils.py index 1519ee980..f3bc68f6d 100644 --- a/darshan-util/pydarshan/darshan/log_utils.py +++ b/darshan-util/pydarshan/darshan/log_utils.py @@ -9,8 +9,7 @@ if int(python_version[1]) < 9 and int(python_version[0]) == 3: import importlib_resources else: - # see: https://github.com/python/mypy/issues/1153 - import importlib.resources as importlib_resources # type: ignore + import importlib.resources as importlib_resources import functools import sys diff --git a/darshan-util/pydarshan/darshan/tests/conftest.py b/darshan-util/pydarshan/darshan/tests/conftest.py index 8ac6dc8e1..c51ecad37 100644 --- a/darshan-util/pydarshan/darshan/tests/conftest.py +++ b/darshan-util/pydarshan/darshan/tests/conftest.py @@ -6,8 +6,7 @@ if int(python_version[1]) < 9 and int(python_version[0]) == 3: import importlib_resources else: - # see: https://github.com/python/mypy/issues/1153 - import importlib.resources as importlib_resources # type: ignore + import importlib.resources as importlib_resources import pytest