From 966cb8a60becb962b94682539d11a58d4c4675d6 Mon Sep 17 00:00:00 2001 From: Ting-Hong Shieh <32212900+ting-hong-shieh@users.noreply.github.com> Date: Mon, 17 Aug 2026 01:47:55 +0800 Subject: [PATCH] MNT: install contextily with the other optional requirements contextily is declared in the monte-carlo extra in pyproject.toml but not in requirements-optional.txt, and the Makefile's install target reads the requirements files. test_monte_carlo_plots_background.py opens with pytest.importorskip("contextily"), so anyone who sets up with `make install` skips that file: 18 tests, and 53 statements that Codecov counts as covered. The workflow installs .[all], so CI already has it and is unaffected. What this fixes is the local suite silently disagreeing with CI, with a skip reason as the only clue. Same specifier as pyproject.toml, including the 3.14 marker. --- requirements-optional.txt | 1 + 1 file changed, 1 insertion(+) diff --git a/requirements-optional.txt b/requirements-optional.txt index a79ed6b13..d1d95b2e6 100644 --- a/requirements-optional.txt +++ b/requirements-optional.txt @@ -7,5 +7,6 @@ imageio multiprocess>=0.70 statsmodels prettytable +contextily>=1.0.0; python_version < '3.14' pyvista>=0.45 imageio-ffmpeg>=0.5 \ No newline at end of file