0
Fork 0
mirror of https://github.com/uber/h3-py.git synced 2026-11-16 07:44:46 +00:00
Commit graph

271 commits

Author SHA1 Message Date
Jongbin Jung
2929a97ddd
Merge pull request #514 from uber/jb/4.5.1 v4.5.1
Prep for v4.5.1 release
2026-11-13 15:23:41 -08:00
Jongbin Jung
0ae4515b6b Prep for v4.5.1 release
Co-Authored-By: Claude Code <noreply@anthropic.com>
2026-11-13 14:30:35 -08:00
Jongbin Jung
7c24f20689 Merge pull request #511 from sebxt/fix/geo-empty-polygon-typeerror
Handle empty GeoJSON Polygon in geo_to_h3shape

(cherry picked from commit 87d1ccb8c4)
2026-11-13 14:29:37 -08:00
Jongbin Jung
1634ad5f06 Merge pull request #512 from kwy404/fix-multipoly-experimental-duplicates
fix: don't return a cell twice from h3shape_to_cells_experimental for a LatLngMultiPoly
(cherry picked from commit cc6f8825ca)
2026-11-13 14:29:36 -08:00
Jongbin Jung
c7626b0603 Merge pull request #506 from shaan-forks/ci/python-3.15
Add CI test and build for Python 3.15 and 3.15t

(cherry picked from commit f9e35e3944)
2026-11-13 14:29:35 -08:00
Jongbin Jung
2d55d6ea6b Merge pull request #507 from kwy404/fix-is-valid-out-of-range-index
fix: return False from is_valid_* for indexes outside the uint64 range
(cherry picked from commit 83fac55493)
2026-11-13 14:29:34 -08:00
Jongbin Jung
1aba69c2af Merge pull request #505 from kwy404/fix-latlngpoly-closed-ring-validation
fix: validate LatLngPoly loop length after dropping the closing point
(cherry picked from commit 169035d81d)
2026-11-13 14:29:33 -08:00
Jongbin Jung
ffa9c44621 Merge pull request #502 from dyrpsf/fix-geo-type-validation
fix: replace geo input assert with ValueError and add test
(cherry picked from commit c38c1e42c3)
2026-11-13 14:29:32 -08:00
Jongbin Jung
1d6b00e614 Merge pull request #499 from jongbinjung/jongbin/freethreading
Add CI test and build for python3.14t

(cherry picked from commit 871841452f)
2026-11-13 14:29:31 -08:00
Jongbin Jung
44fdd920ac Merge pull request #500 from Hashim1999164/fix/geo-to-h3shape-replace-assert
Raise ValueError instead of assert in geo_to_h3shape

(cherry picked from commit 51dbbeb74f)
2026-11-13 14:29:30 -08:00
Jongbin Jung
fbd46cca34 Merge pull request #493 from aureliobarbosa/test_python3.14_freethreaded
Fix wheels for python 3.14 free thread

(cherry picked from commit 65f85a58a3)
2026-11-13 14:29:29 -08:00
Jongbin Jung
8261356313 Merge pull request #494 from dyrpsf/fix-android-cross-compile
Fix: Resolve Android cross-compilation failure (Issue #458)
(cherry picked from commit 6fd9eff86b)
2026-11-13 14:29:28 -08:00
Jongbin Jung
2883945e34
Merge pull request #492 from uber/jb/4.5.0 v4.5.0
Prep for v4.5.0 release
2026-05-29 17:47:53 -07:00
Jongbin Jung
a663439e0e
Prep for v4.5.0 release 2026-05-29 09:15:58 -07:00
AJ Friend
40910c1291
prep for v4.5.0a3 (#491) v4.5.0a3
* bump C lib to v4.5.0

* add (#491)
2026-05-28 12:36:48 -07:00
Marco Barbosa
f175d06282
updates readme.md clone instructions (#489) 2026-04-19 22:24:41 -07:00
zabop
13c17b5067
make docstring reflect what the function does (#486) 2026-03-26 13:59:38 -07:00
AJ Friend
adba976e22
v4.5.0a2 (#484) v4.5.0a2
* first pass

* helper

* better tests

* changelog

* better comments

* be robust against os-specific floating point behavior
2026-02-27 19:28:16 -08:00
AJ Friend
9a7d6dfd6f
v4.5a (alpha version) (#483) v4.5.0a1
* bump h3lib to unreleased a9c0a2e (cellsToMultiPolygon)

* initial changes

* move around dependencies

* update CI

* ci separation

* h3.pc.in

* clean up .gitignore

* changelog

* better changelog

* add cellsToMultiPolygon to h3-py in separate release

* sdist exclude and coverage for version test

* warn that changing some justfile rules will affect CI

* try to silence some CI warnings

* one more warning
2026-02-26 14:12:54 -08:00
Salman Chishti
4d0c33241b
Upgrade GitHub Actions to latest versions (#480)
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
2026-02-15 13:25:25 -08:00
Salman Chishti
3355f53aa6
Upgrade GitHub Actions for Node 24 compatibility (#479)
Signed-off-by: Salman Muin Kayser Chishti <13schishti@gmail.com>
2026-02-11 12:51:02 -08:00
AJ Friend
26084144a2
prep for v4.4.2 release (#478) v4.4.2 2026-01-29 10:20:16 -08:00
AJ Friend
44dd11fd10
check for error from cellsToLinkedMultiPolygon; add test (#477) 2026-01-29 09:35:34 -08:00
AJ Friend
486f6efd39
Prep for v4.4.1 release (#475) v4.4.1 2025-12-15 13:44:12 -08:00
AJ Friend
7d6d37945d
Avoid building duplicate wheels (#474)
* avoid building duplicate wheels

* add additional CI twine check

* add back macos-14 (should fail)

* remove macos-14 (should pass)
2025-12-15 10:56:09 -08:00
AJ Friend
b70122a20e
Update version badge for h3 to v4.4.1 (#473) 2025-12-15 10:44:10 -08:00
AJ Friend
9f52d74458
attempt to fix docs publishing (#472) v4.4.0 2025-12-14 14:17:09 -08:00
AJ Friend
73cd306f07
Prep for release of v4.4.0 (#471) 2025-12-12 13:10:22 -08:00
AJ Friend
f9c1a944d1
Bump h3lib to v4.4.1 and add new functions/errors (#470)
* bump h3lib to v4.4.0

* bump h3lib to v4.4.1

* tests pass with new version

* add new error codes and some helper functions around error codes

* jupyter-book<2

* is_valid_index

* tests for is_valid_index and get_index_digit

* linting

* good set of tests

* lint

* thank you, coverage tests for tests!

* int api test

* function docstrings

* maybe not

* changelog. don't expose error code helper functions (yet)

* ticks

* don't even mention 'em

* `list` rather than `tuple`, since users are likely to mutate result

* remove justfile

* failing tests

* tests should be passing

* more tests

* swap docs order
2025-11-22 08:17:21 -08:00
AJ Friend
23bef19c74
remove macOS13 from wheels. add macOS15 (#468)
* remove macOS13 from wheels. add macOS15

* bump to pypa/cibuildwheel@v3.2.1

* bump actions/setup-python@v6.0.0

* bump actions/upload-artifact@v5.0.0

* bump actions/checkout@v5.0.0

* bump actions/download-artifact@v6.0.0

* bump docker/setup-qemu-action@v3.6.0

* run tests on Python 3.14

* Add a few wheels for Python 3.14

* bump python-version: 3.13

* Revert "bump python-version: 3.13"

This reverts commit 8119c62cb6.
2025-11-02 08:23:06 -08:00
dependabot[bot]
99b62102b0
Bump pypa/gh-action-pypi-publish in /.github/workflows (#466)
Bumps [pypa/gh-action-pypi-publish](https://github.com/pypa/gh-action-pypi-publish) from 1.10.3 to 1.13.0.
- [Release notes](https://github.com/pypa/gh-action-pypi-publish/releases)
- [Commits](https://github.com/pypa/gh-action-pypi-publish/compare/v1.10.3...v1.13.0)

---
updated-dependencies:
- dependency-name: pypa/gh-action-pypi-publish
  dependency-version: 1.13.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-06 16:46:17 -07:00
AJ Friend
bd455be975
prep for v4.3.1 release (#464) v4.3.1 2025-08-10 12:30:56 -07:00
newyork_loki
4fc8ec9ca6
Add support for building h3-py wheel on WoA (#463)
* Add support for building h3-py wheel on WoA

* Use official MSVC reusable action for Win-builds
2025-08-10 11:34:06 -07:00
AJ Friend
ce0638d7ce
prep for 4.3.0 release (#462) v4.3.0 2025-06-18 09:20:22 -07:00
Isaac Brodsky
cc07b58240
Merge pull request #461 from isaacbrodsky/bump-4.3.0 2025-06-17 20:41:03 -05:00
Isaac Brodsky
a8c5ae7b27 fix version 2025-06-17 17:52:00 -05:00
Isaac Brodsky
45d9c3f482 fix 2025-06-17 17:50:19 -05:00
Isaac Brodsky
f82581f512 pr number 2025-06-17 16:58:26 -05:00
Isaac Brodsky
e80494c8ea readme 2025-06-17 16:57:55 -05:00
Isaac Brodsky
e2744ccbcf update for h3 4.3.0 2025-06-17 16:57:21 -05:00
AJ Friend
856d481de3
prep for v4.2.2 release (#451) v4.2.2 2025-03-10 11:30:25 -07:00
Isaac Brodsky
5b6382d120
bump to h3 4.2.1 (#450) 2025-03-10 09:27:55 -07:00
Sukhdeep Gill
b40bc47f77
reducing width for the H3 Logo so that it comes before the horizontal line (#447) 2025-02-22 09:16:42 -08:00
AJ Friend
ae375a987c
fix links (#444) v4.2.1 2025-01-31 14:32:21 -08:00
Isaac Brodsky
259a915cdd
Merge pull request #443 from uber/isaacbrodsky-patch-1
Update coverage badge in readme.md
2025-01-31 12:05:12 -08:00
Isaac Brodsky
e02cd4f4f9
Update coverage badge in readme.md
Fixes #439
2025-01-30 20:49:51 -08:00
Isaac Brodsky
554aceef60
Merge pull request #441 from isaacbrodsky/update-pyproject-links
Fix pyproject.toml links
2025-01-30 15:30:32 -08:00
Isaac Brodsky
ea05321c1d Fix pyproject.toml links 2025-01-30 13:41:06 -08:00
AJ Friend
e054120e1b
Prep for v4.2.0 release (#438) v4.2.0
* prep for v4.2.0 release

* ensure you update the badge on the readme
2025-01-27 11:38:18 -08:00
AJ Friend
1ac484a8db
h3shape_to_cells_experimental takes string containment modes (#436)
* polygon to cells just takes string arguments

* don't need enum

* docstrings

* have tests use h3shape_to_cells_experimental

* clean up tests

* don't repeat tests

* experimental warning

* Being experimental, try `contain` instead of `containment` in params

* try typing with literal

* add polygon_to_cells_experimental.

Contains coverage and lint errors -- just checking that they raise in CI

* ruff fix

* docs and changelog

* add test_polygon_to_cells_experimental for full coverage

* test notes
2025-01-26 16:57:31 -08:00