Skip to content

Expect the hashes and the geodetic instants MEOS states - #119

Merged
estebanzimanyi merged 2 commits into
MobilityDB:masterfrom
estebanzimanyi:fix/tests-follow-meos-master
Nov 20, 2026
Merged

estebanzimanyi merged 2 commits into
MobilityDB:masterfrom
estebanzimanyi:fix/tests-follow-meos-master

Conversation

@estebanzimanyi

@estebanzimanyi estebanzimanyi commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Expect the hashes and the geodetic instants MEOS states

The temporal points hash a point by its coordinates, so the four hashes of tgeompoint_test.py and tgeogpoint_test.py are the ones MEOS states, the same for a geometry and a geography point. A geography sequence drops a middle instant only where MEOS proves it on the great-circle path, so the normalization tests of tgeogpoint_test.py take their points on the equator, the great circle the doubles prove a middle instant on: [Point(0 0), Point(0.25 0), Point(1 0)] normalizes to its two ends. temporal_sample of a geography sequence every twelve hours keeps the instant it samples at noon. speed and cumulative_length of tgeompoint_test.py compare their derived doubles at 12 decimals, as MobilityDB's tests bound a derived float, since the GitHub runners state them a unit in the last place away from the value the expected text spells.

Why: MobilityDB master hashes a point by its coordinates since c970ec2d1c, which moved the hashes of every temporal point, and decides the redundant instants of a geodetic sequence exactly since 23819c336f, which keeps an instant floating trigonometry only places near the arc, as the point a quarter of the way from Point(1 1) to Point(2 2) the tests used; 15 tests of tgeompoint_test.py and tgeogpoint_test.py failed against it.

Measured: over libmeos and the catalog of MobilityDB master f11d71b43a, the suite passes, 5091 tests, and ruff check and ruff format report nothing.

Build on macOS the H3 release the MobilityDB checkout names

MobilityDB supports one H3 release, H3_REQUIRED_VERSION of its top-level CMakeLists.txt, and its configure refuses any other. The macOS jobs build that release with the checkout's own .github/scripts/install-h3.sh into the prefix MEOS is installed into, as PyMEOS-CFFI's macOS job builds it, and state the library and its header directory to the MEOS configure; the library is not one of the Homebrew tools.

Why: Homebrew's h3 is 4.5.0 and MobilityDB master requires 4.6.0, so both macOS jobs stopped at "CMake Error at CMakeLists.txt:357", the version check (run 44708317742).

The temporal points hash a point by its coordinates, so the four hashes of tgeompoint_test.py and tgeogpoint_test.py are the ones MEOS states, the same for a geometry and a geography point. A geography sequence drops a middle instant only where MEOS proves it on the great-circle path, so the normalization tests of tgeogpoint_test.py take their points on the equator, the great circle the doubles prove a middle instant on: [Point(0 0), Point(0.25 0), Point(1 0)] normalizes to its two ends. temporal_sample of a geography sequence every twelve hours keeps the instant it samples at noon. speed and cumulative_length of tgeompoint_test.py compare their derived doubles at 12 decimals, as MobilityDB's tests bound a derived float, since the GitHub runners state them a unit in the last place away from the value the expected text spells.

Why: MobilityDB master hashes a point by its coordinates since c970ec2d1c, which moved the hashes of every temporal point, and decides the redundant instants of a geodetic sequence exactly since 23819c336f, which keeps an instant floating trigonometry only places near the arc, as the point a quarter of the way from Point(1 1) to Point(2 2) the tests used; 15 tests of tgeompoint_test.py and tgeogpoint_test.py failed against it.

Measured: over libmeos and the catalog of MobilityDB master f11d71b43a, the suite passes, 5091 tests, and ruff check and ruff format report nothing.
@estebanzimanyi
estebanzimanyi force-pushed the fix/tests-follow-meos-master branch from 36d84dd to 1c76419 Compare November 20, 2026 09:09
MobilityDB supports one H3 release, H3_REQUIRED_VERSION of its top-level CMakeLists.txt, and its configure refuses any other. The macOS jobs build that release with the checkout's own .github/scripts/install-h3.sh into the prefix MEOS is installed into, as PyMEOS-CFFI's macOS job builds it, and state the library and its header directory to the MEOS configure; the library is not one of the Homebrew tools.

Why: Homebrew's h3 is 4.5.0 and MobilityDB master requires 4.6.0, so both macOS jobs stopped at "CMake Error at CMakeLists.txt:357", the version check (run 44708317742).
@estebanzimanyi
estebanzimanyi merged commit 7986f65 into MobilityDB:master Nov 20, 2026
8 checks passed
@estebanzimanyi
estebanzimanyi deleted the fix/tests-follow-meos-master branch November 20, 2026 09:54
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.

1 participant