- Python package CI build
- Built and activated Python environment with matrix.environment-file
- Specific required package (geopandas) is present within the testing environment
- But fails when the required package is not found when actually running the tests
In this project (libpysal) we have adopted GitHub Actions for CI and it initially worked perfectly, then suddenly began to fail. After careful review, it is unclear how the required package (geopandas) can be in the “test” environment, but unrecognized on import. I think perhaps I have been looking at this issue _ too _ long and maybe overlooked some obvious problem.
See this (potentially) related issue. This is also interesting because I uses nearly identical workflows (including geopandas requirements), but geopandas is not the problem there.