Skip to content

Fix CI breakage caused by newer CMake, Rust, and numpy - #269

Merged
VeaaC merged 2 commits into
heremaps:masterfrom
VeaaC:fix-ci-26
Nov 24, 2026
Merged

VeaaC merged 2 commits into
heremaps:masterfrom
VeaaC:fix-ci-26

Conversation

@VeaaC

@VeaaC VeaaC commented Nov 24, 2026

Copy link
Copy Markdown
Collaborator
  • flatdata-cpp: raise cmake_minimum_required to 3.10. CMake 4 removed compatibility with versions < 3.5 and warns for < 3.10.
  • flatdata-rs: replace deprecated u64::max_value() with u64::MAX. Newer Rust deprecates it, which is an error under #![deny(warnings)].
  • flatdata-py: bind the 1-bit field result to an annotated local before returning it. numpy 2.5 stubs type the expression as Any, triggering mypy's no-any-return; a cast would be flagged as redundant with older numpy on Python 3.10.

- flatdata-cpp: raise cmake_minimum_required to 3.10. CMake 4 removed
  compatibility with versions < 3.5 and warns for < 3.10.
- flatdata-rs: replace deprecated u64::max_value() with u64::MAX. Newer
  Rust deprecates it, which is an error under #![deny(warnings)].
- flatdata-py: bind the 1-bit field result to an annotated local before
  returning it. numpy 2.5 stubs type the expression as Any, triggering
  mypy's no-any-return; a cast would be flagged as redundant with older
  numpy on Python 3.10.

Signed-off-by: Christian Vetter <christian.vetter@here.com>
…lculations

Signed-off-by: Christian Vetter <christian.vetter@here.com>
@VeaaC
VeaaC merged commit 2424dae into heremaps:master Nov 24, 2026
17 checks passed
@VeaaC
VeaaC deleted the fix-ci-26 branch November 24, 2026 08:51
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