Repository navigation
Expect the hashes and the geodetic instants MEOS states - #119
Merged
estebanzimanyi merged 2 commits intoNov 20, 2026
Merged
estebanzimanyi merged 2 commits into
estebanzimanyi merged 2 commits into
Conversation
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
force-pushed
the
fix/tests-follow-meos-master
branch
from
November 20, 2026 09:09
36d84dd to
1c76419
Compare
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).
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.
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).