Conversation
gravel-fragility is a C++ library with Python bindings for road network fragility analysis — computing how isolated a location (or region) becomes when some fraction of its roads fail. Useful for transportation researchers and disaster-resilience planning. v2.2.1 is the initial conda-forge release. Available on PyPI under the same name. The conda-forge build additionally enables OSM loaders (load_osm_graph, OSMConfig, SpeedProfile) via the conda-forge libosmium package; PyPI wheels ship with OSM disabled because libosmium is not distributed on PyPI. Upstream is at https://github.com/rhoekstr/gravel; docs at https://rhoekstr.github.io/gravel/.
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Minor release that ships OSM loaders enabled in every PyPI wheel (see github.com/rhoekstr/gravel release notes). conda-forge recipe stays structurally identical — still applies the same single pybind11 find_package patch. Dependencies.cmake is unchanged between v2.2.1 and v2.2.2, so the existing patch applies cleanly. Only deltas in the recipe: - version: 2.2.1 -> 2.2.2 - sha256: refreshed for the v2.2.2 GitHub release tarball.
|
Bumped recipe to v2.2.2 — released to PyPI earlier today. Release notes: https://github.com/rhoekstr/gravel/releases/tag/v2.2.2 Key change in v2.2.2 (relevant to this recipe): OSM loaders are now enabled in every PyPI wheel, which was previously the headline reason to prefer conda-forge over PyPI. The conda-forge build still has value for environments that want conda-managed C++ dependencies and stdlib ABI pinning — plus conda-forge maintains its own libosmium which means OSM support was never build-time network-gated there anyway. Recipe diff from the v2.2.1 version: version bump + fresh sha256 for the v2.2.2 tarball. |
Checklist
url) rather than a repo (e.g.git_url) is used in your recipe (see here for more details).About the package
gravel-fragility is a C++20 library with Python bindings for road network fragility analysis — computing how isolated a location (or region) becomes when some fraction of its roads fail. Target users: transportation researchers, GIS analysts, disaster-resilience planners.
Why conda-forge
The conda-forge build additionally enables OSM loaders (
load_osm_graph,OSMConfig,SpeedProfile) via the conda-forgelibosmiumpackage. PyPI wheels ship with OSM disabled because libosmium isn't distributed on PyPI — so for users who want to load OpenStreetMap road networks (the primary use case), conda-forge is the proper channel.Recipe notes
01-pybind11-find-package.patch) to swappybind11from FetchContent tofind_package(required for the network-blocked conda-forge build sandbox). All other C++ deps in upstream (nlohmann_json,Catch2,Eigen3,Spectra) already haveFIND_PACKAGE_ARGSin theirFetchContent_Declarecalls, so they resolve to the conda-forge host deps directly.GRAVEL_USE_OSMIUM=ONis set viapip install ... -C cmake.define.GRAVEL_USE_OSMIUM=ON.conda-smithy recipe-lint.I am the upstream maintainer
I am @rhoekstr, the author of gravel. Happy to be pinged for future version-bump PRs.