Add a one-command refresh against upstream MEOS - #23
Merged
Diviloper merged 2 commits intoAug 1, 2026
Conversation
tools/refresh-from-master.sh re-derives this binding against upstream MEOS in one command: it runs the shared MobilityDB/MEOS-API refresh-binding.sh over this repo, provisioning MEOS at the pinned stable-1.3 line and rebuilding the cdef header, the CFFI wrappers (from the catalog), and the compiled extension. tools/refresh.conf holds the last leg — the same wrapper and conf shape as GoMEOS, MEOS.NET and meos-rs. build_pymeos.py gains optional MEOS_PREFIX / MEOS_LIB_DIR / MEOS_INCLUDE_DIR so the extension can build against a MEOS install off the default system paths; unset, behaviour is unchanged. .gitignore excludes the .meos-chain scratch dir. Stacks on the catalog-driven codegen branch (refactor/codegen-meos-idl).
Diviloper
approved these changes
Aug 1, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
tools/refresh-from-master.shre-derives this binding against upstream MEOS in one command — it runs the sharedMobilityDB/MEOS-APIrefresh-binding.shover this repo, provisioning MEOS at the pinnedstable-1.3line (matchingpymeos_cffi/__init__.py__version__, the same rulepr_build.ymluses) and rebuilding the cdef header (build_header.py), the wrappers (build_pymeos_functions.py), and the compiled extension.tools/refresh.confholds the per-binding last leg — the same wrapper andrefresh.confshape as GoMEOS, MEOS.NET and meos-rs.build_pymeos.pygains an optionalMEOS_PREFIX/MEOS_LIB_DIR/MEOS_INCLUDE_DIRso the extension builds against a MEOS install off the default system paths (a scratch prefix); unset, the search paths are unchanged..gitignoreexcludes the.meos-chainscratch dir.The refresh invokes
build_pymeos_functions.pydirectly, so it tracks whichever codegen source that script reads. The change is purely additive tooling — the committed wrappers and catalog are untouched.