From 6e2525aa00f15979ae035aa0a4b5d388e5b34bff Mon Sep 17 00:00:00 2001 From: Sebastian Rittau Date: Fri, 9 May 2025 20:26:16 +0200 Subject: [PATCH] [geopandas] Fix CI tests in some circumstances (#13978) Add "libproj-dev" and "proj-bin" to apt_dependencies. These packages are necessary to build the pyproj dependency if a pre-built wheel is not available. --- stubs/geopandas/METADATA.toml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/stubs/geopandas/METADATA.toml b/stubs/geopandas/METADATA.toml index 01330a7ed..43adce04a 100644 --- a/stubs/geopandas/METADATA.toml +++ b/stubs/geopandas/METADATA.toml @@ -2,3 +2,8 @@ version = "1.0.1" # Requires a version of numpy with a `py.typed` file requires = ["numpy>=1.20", "pandas-stubs", "types-shapely", "pyproj"] upstream_repository = "https://github.com/geopandas/geopandas" + +[tool.stubtest] +# libproj-dev and proj-bin are required to build pyproj if wheels for the +# target Python version are not available. +apt_dependencies = ["libproj-dev", "proj-bin"]