Skip to content

Commit

Permalink
TEST: Peform GitHub testing with Pythons 3.8-3.11
Browse files Browse the repository at this point in the history
Also, run `pip install --upgrade typing-extensions` on GitHub after
installing the tensorflow dependency of histomics_stream because
tensorflow under Python 3.8 inappropriately downgrades
typing-extensions and that breaks a dependency of large_image.
  • Loading branch information
Leengit committed Sep 17, 2024
1 parent 0c31090 commit a69556e
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/build-test-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
strategy:
max-parallel: 2
matrix:
python-version: ["3.6", "3.7", "3.8", "3.9"]
python-version: ["3.8", "3.9", "3.10", "3.11"]

include:
- flake8-python-git-tag: ""
Expand Down Expand Up @@ -42,6 +42,10 @@ jobs:
- name: Install histomics_stream
run: |
pip install .[tensorflow,torch,zarr]
# With Python 3.8, tensorflow downgrades typing-extensions, which appears to
# be unnecessary and breaks a dependency of large_image, so we overrule that
# next.
pip install --upgrade typing-extensions
- name: Lint with flake8
run: |
Expand Down

0 comments on commit a69556e

Please sign in to comment.