Skip to content

feat(python): Add geoarrow-types integration - #182

Merged
paleolimbot merged 4 commits into
geoarrow:mainfrom
paleolimbot:types-backend
Sep 28, 2026
Merged

paleolimbot merged 4 commits into
geoarrow:mainfrom
paleolimbot:types-backend

Conversation

@paleolimbot

Copy link
Copy Markdown
Contributor

The geoarrow-types package was introduced some time ago to replace the enums that were previously provided by Cython here. This replaces that interface with two functions: type_spec_to_arrow() and arrow_to_type_spec(). Currently the CVectorType is used as a backend but I'd like to remove that in a future release.

The idea is that geoarrow.types is the way to work with types and geoarrow-c is way to resolve that into a concrete type.

@codecov

codecov Bot commented Sep 28, 2026

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 95.12195% with 2 lines in your changes missing coverage. Please review.
✅ Project coverage is 96.72%. Comparing base (5943736) to head (908eb8a).

Files with missing lines Patch % Lines
python/geoarrow-c/src/geoarrow/c/types.py 94.59% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main     #182       +/-   ##
===========================================
+ Coverage   85.36%   96.72%   +11.35%     
===========================================
  Files          59        4       -55     
  Lines        9673       61     -9612     
  Branches      957        0      -957     
===========================================
- Hits         8257       59     -8198     
+ Misses       1335        2     -1333     
+ Partials       81        0       -81     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@paleolimbot
paleolimbot marked this pull request as ready for review September 28, 2026 15:30
@paleolimbot
paleolimbot merged commit e51e739 into geoarrow:main Sep 28, 2026
9 checks passed
@paleolimbot
paleolimbot deleted the types-backend branch September 28, 2026 15:32
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