Skip to content
Draft
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
8 changes: 6 additions & 2 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,11 @@ jobs:

- name: Install dependencies
run: |
uv sync --extra dev --extra spatiotemporal
# --compile-bytecode is needed to trigger the DeprecationWarning from
# https://github.com/pyro-ppl/pyro/issues/3450, which pytest can't
# intercept. If we don't trigger this now, then pytest will promote the
# warning to an error and CI will fail.
uv sync --extra dev --extra spatiotemporal --compile-bytecode

- name: Test with pytest
run: |
Expand Down Expand Up @@ -136,4 +140,4 @@ jobs:
# if: steps.coverage_comment.outputs.COMMENT_FILE_WRITTEN == 'true'
# with:
# name: python-coverage-comment-action
# path: python-coverage-comment-action.txt
# path: python-coverage-comment-action.txt
4 changes: 2 additions & 2 deletions pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -116,11 +116,11 @@ source = [".", "/tmp"]
addopts = "--ignore=v0"
# These suppress only test output; runtime warnings still reach users.
filterwarnings = [
# Promote all unfiltered warnings to errors
"error",
# Raised by PyTorch (via gpytorch) - not actionable here.
# Remove if dependencies no longer calling `torch.jit.script`.
"ignore:`torch\\.jit\\.script` is deprecated\\..*:DeprecationWarning",
# Raised by Pyro on Python 3.10 when parsing a dependency docstring.
"ignore:invalid escape sequence.*:DeprecationWarning:pyro\\.ops\\.stats",
# Raised when harmonic imports TensorFlow Probability's JAX backend.
"ignore:jax\\.interpreters\\.xla\\.pytype_aval_mappings is deprecated\\..*:DeprecationWarning:tensorflow_probability\\.python\\.internal\\.backend\\.jax\\.ops",
# PyTorch MPS backend capability fallbacks are backend noise in tests.
Expand Down
Loading