Skip to content

Add a one-command refresh against upstream MEOS - #23

Merged
Diviloper merged 2 commits into
MobilityDB:masterfrom
estebanzimanyi:tooling/refresh-uniform
Aug 1, 2026
Merged

Add a one-command refresh against upstream MEOS#23
Diviloper merged 2 commits into
MobilityDB:masterfrom
estebanzimanyi:tooling/refresh-uniform

Conversation

@estebanzimanyi

Copy link
Copy Markdown
Member

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 (matching pymeos_cffi/__init__.py __version__, the same rule pr_build.yml uses) and rebuilding the cdef header (build_header.py), the wrappers (build_pymeos_functions.py), and the compiled extension. tools/refresh.conf holds the per-binding last leg — the same wrapper and refresh.conf shape as GoMEOS, MEOS.NET and meos-rs.

build_pymeos.py gains an optional MEOS_PREFIX / MEOS_LIB_DIR / MEOS_INCLUDE_DIR so the extension builds against a MEOS install off the default system paths (a scratch prefix); unset, the search paths are unchanged. .gitignore excludes the .meos-chain scratch dir.

The refresh invokes build_pymeos_functions.py directly, so it tracks whichever codegen source that script reads. The change is purely additive tooling — the committed wrappers and catalog are untouched.

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 Diviloper left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me, ignoring lint check failure since it's unrelated to this PR.

@Diviloper
Diviloper merged commit 48c3529 into MobilityDB:master Aug 1, 2026
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants