Skip to content

Commit

Permalink
build: relax typeguard constraints following TensorFlow release (#440)
Browse files Browse the repository at this point in the history
* relax version constraint on typeguard as latest TensorFlow release no longer causes dependency clash
* upgrade typing-extensions version in Python 3.8 CI to circumvent dependency clash
  • Loading branch information
alexander-held authored Jan 15, 2024
1 parent d5e2241 commit e6ac3e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
]
)
Expand Down

0 comments on commit e6ac3e1

Please sign in to comment.