Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAINT: unpin mypy #900

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/main_ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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: |
Expand Down
3 changes: 1 addition & 2 deletions darshan-util/pydarshan/darshan/log_utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
3 changes: 1 addition & 2 deletions darshan-util/pydarshan/darshan/tests/conftest.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down