Skip to content
Merged
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
14 changes: 12 additions & 2 deletions .github/workflows/test-stubs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,11 @@ jobs:
- name: Install Python ${{ matrix.ver }} dependencies
run: |
python3 -m pip install --upgrade pip setuptools
python3 -m pip install pytest build "mypy<1.9" pytest-mypy-plugins
if python3 -c "import sys; exit(0 if sys.version_info >= (3,10) else 1)"; then
python3 -m pip install pytest build "mypy<1.9" "pytest-mypy-plugins>=4"
else
python3 -m pip install pytest build "mypy<1.9" "pytest-mypy-plugins<4"
fi

- name: Install metaflow
run: pip install .
Expand All @@ -66,4 +70,10 @@ jobs:
max_attempts: 2
timeout_minutes: 3
retry_on: error
command: cd ./stubs && pytest --mypy-ini-file test/mypy_${{ matrix.ver }}.cfg --mypy-only-local-stub && cd -
command: |
cd ./stubs
if python3 -c "import sys; exit(0 if sys.version_info >= (3,10) else 1)"; then
pytest --mypy-ini-file test/mypy_${{ matrix.ver }}.cfg
else
pytest --mypy-ini-file test/mypy_${{ matrix.ver }}.cfg --mypy-only-local-stub
fi
2 changes: 1 addition & 1 deletion metaflow/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
metaflow_version = "2.19.21"
metaflow_version = "2.19.22"
Loading