rust-geo-python 0.1.8__tar.gz → 0.1.9__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. {rust_geo_python-0.1.8 → rust_geo_python-0.1.9}/.github/workflows/CI.yml +19 -16
  2. rust_geo_python-0.1.9/Cargo.lock +1512 -0
  3. rust_geo_python-0.1.9/Cargo.toml +51 -0
  4. rust_geo_python-0.1.9/PKG-INFO +5 -0
  5. rust_geo_python-0.1.8/PKG-INFO → rust_geo_python-0.1.9/README.md +43 -8
  6. rust_geo_python-0.1.9/pyproject.toml +11 -0
  7. rust_geo_python-0.1.9/src/core/circle_intersection.rs +291 -0
  8. {rust_geo_python-0.1.8 → rust_geo_python-0.1.9}/src/core/mod.rs +1 -0
  9. {rust_geo_python-0.1.8 → rust_geo_python-0.1.9}/src/lib.rs +12 -1
  10. {rust_geo_python-0.1.8 → rust_geo_python-0.1.9}/src/macros.rs +17 -0
  11. rust_geo_python-0.1.9/src/py/closest_points.rs +229 -0
  12. rust_geo_python-0.1.9/src/py/closest_regions.rs +367 -0
  13. {rust_geo_python-0.1.8 → rust_geo_python-0.1.9}/src/py/enums.rs +142 -15
  14. rust_geo_python-0.1.9/src/py/geo_index.rs +70 -0
  15. rust_geo_python-0.1.9/src/py/geoarrow.rs +65 -0
  16. rust_geo_python-0.1.9/src/py/mod.rs +7 -0
  17. rust_geo_python-0.1.9/src/py/pyfunctions.rs +296 -0
  18. rust_geo_python-0.1.9/src/py/rtree.rs +27 -0
  19. rust_geo_python-0.1.9/tests/test_circle_intersection.py +132 -0
  20. {rust_geo_python-0.1.8 → rust_geo_python-0.1.9}/tests/test_predicates.py +33 -2
  21. rust_geo_python-0.1.8/Cargo.lock +0 -843
  22. rust_geo_python-0.1.8/Cargo.toml +0 -38
  23. rust_geo_python-0.1.8/README.md +0 -142
  24. rust_geo_python-0.1.8/pyproject.toml +0 -3
  25. rust_geo_python-0.1.8/src/py/mod.rs +0 -2
  26. rust_geo_python-0.1.8/src/py/pyfunctions.rs +0 -145
  27. {rust_geo_python-0.1.8 → rust_geo_python-0.1.9}/.gitignore +0 -0
  28. {rust_geo_python-0.1.8 → rust_geo_python-0.1.9}/LICENSE.txt +0 -0
  29. {rust_geo_python-0.1.8 → rust_geo_python-0.1.9}/src/core/functions.rs +0 -0
  30. {rust_geo_python-0.1.8 → rust_geo_python-0.1.9}/src/core/tiling.rs +0 -0
  31. {rust_geo_python-0.1.8 → rust_geo_python-0.1.9}/src/error.rs +0 -0
  32. {rust_geo_python-0.1.8 → rust_geo_python-0.1.9}/tests/test_geometry_creation.py +0 -0
  33. {rust_geo_python-0.1.8 → rust_geo_python-0.1.9}/tests/test_measurements.py +0 -0
  34. {rust_geo_python-0.1.8 → rust_geo_python-0.1.9}/tests/test_set_operations.py +0 -0
  35. {rust_geo_python-0.1.8 → rust_geo_python-0.1.9}/tests/test_stand-alone_functions.py +0 -0
  36. {rust_geo_python-0.1.8 → rust_geo_python-0.1.9}/tests/test_wkt_and_collections.py +0 -0
@@ -44,15 +44,15 @@ jobs:
44
44
  uses: PyO3/maturin-action@v1
45
45
  with:
46
46
  target: ${{ matrix.platform.target }}
47
- args: --release --out dist
48
- sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
47
+ args: --release --out dist --find-interpreter
48
+ sccache: true
49
49
  manylinux: auto
50
50
  - name: Build free-threaded wheels
51
51
  uses: PyO3/maturin-action@v1
52
52
  with:
53
53
  target: ${{ matrix.platform.target }}
54
- args: --release --out dist -i python3.13t
55
- sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
54
+ args: --release --out dist -i python3.14t
55
+ sccache: true
56
56
  manylinux: auto
57
57
  - name: Upload wheels
58
58
  uses: actions/upload-artifact@v5
@@ -82,15 +82,15 @@ jobs:
82
82
  uses: PyO3/maturin-action@v1
83
83
  with:
84
84
  target: ${{ matrix.platform.target }}
85
- args: --release --out dist
86
- sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
85
+ args: --release --out dist --find-interpreter
86
+ sccache: true
87
87
  manylinux: musllinux_1_2
88
88
  - name: Build free-threaded wheels
89
89
  uses: PyO3/maturin-action@v1
90
90
  with:
91
91
  target: ${{ matrix.platform.target }}
92
- args: --release --out dist -i python3.13t
93
- sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
92
+ args: --release --out dist -i python3.14t
93
+ sccache: true
94
94
  manylinux: musllinux_1_2
95
95
  - name: Upload wheels
96
96
  uses: actions/upload-artifact@v5
@@ -115,6 +115,7 @@ jobs:
115
115
  steps:
116
116
  - uses: actions/checkout@v6
117
117
  - uses: actions/setup-python@v6
118
+ id: python_setup
118
119
  with:
119
120
  python-version: 3.13
120
121
  architecture: ${{ matrix.platform.python_arch }}
@@ -122,18 +123,19 @@ jobs:
122
123
  uses: PyO3/maturin-action@v1
123
124
  with:
124
125
  target: ${{ matrix.platform.target }}
125
- args: --release --out dist
126
- sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
126
+ args: --release --out dist -i ${{ matrix.platform.target == 'aarch64' && '3.13' || steps.python_setup.outputs.python-path }}
127
+ sccache: true
127
128
  - uses: actions/setup-python@v6
129
+ id: free_threaded_python_setup
128
130
  with:
129
- python-version: 3.13t
131
+ python-version: 3.14t
130
132
  architecture: ${{ matrix.platform.python_arch }}
131
133
  - name: Build free-threaded wheels
132
134
  uses: PyO3/maturin-action@v1
133
135
  with:
134
136
  target: ${{ matrix.platform.target }}
135
- args: --release --out dist -i python3.13t
136
- sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
137
+ args: --release --out dist -i ${{ matrix.platform.target == 'aarch64' && '3.14t' || steps.free_threaded_python_setup.outputs.python-path }}
138
+ sccache: true
137
139
  - name: Upload wheels
138
140
  uses: actions/upload-artifact@v5
139
141
  with:
@@ -159,13 +161,13 @@ jobs:
159
161
  with:
160
162
  target: ${{ matrix.platform.target }}
161
163
  args: --release --out dist
162
- sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
164
+ sccache: true
163
165
  - name: Build free-threaded wheels
164
166
  uses: PyO3/maturin-action@v1
165
167
  with:
166
168
  target: ${{ matrix.platform.target }}
167
- args: --release --out dist -i python3.13t
168
- sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
169
+ args: --release --out dist -i python3.14t
170
+ sccache: true
169
171
  - name: Upload wheels
170
172
  uses: actions/upload-artifact@v5
171
173
  with:
@@ -215,6 +217,7 @@ jobs:
215
217
  if: ${{ startsWith(github.ref, 'refs/tags/') }}
216
218
  run: uv publish 'wheels-*/*'
217
219
  - name: Upload to GitHub Release
220
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
218
221
  uses: softprops/action-gh-release@v1
219
222
  with:
220
223
  files: |