rust-geo-python 0.1.5__tar.gz → 0.1.7__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.
@@ -1,7 +1,7 @@
1
- # This file is autogenerated by maturin v1.9.4
1
+ # This file is autogenerated by maturin v1.11.5
2
2
  # To update, run
3
3
  #
4
- # maturin generate-ci github
4
+ # maturin generate-ci github --manifest-path Cargo.toml --platform all
5
5
  #
6
6
  name: CI
7
7
 
@@ -36,8 +36,8 @@ jobs:
36
36
  - runner: ubuntu-22.04
37
37
  target: ppc64le
38
38
  steps:
39
- - uses: actions/checkout@v4
40
- - uses: actions/setup-python@v5
39
+ - uses: actions/checkout@v6
40
+ - uses: actions/setup-python@v6
41
41
  with:
42
42
  python-version: 3.x
43
43
  - name: Build wheels
@@ -55,7 +55,7 @@ jobs:
55
55
  sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
56
56
  manylinux: auto
57
57
  - name: Upload wheels
58
- uses: actions/upload-artifact@v4
58
+ uses: actions/upload-artifact@v5
59
59
  with:
60
60
  name: wheels-linux-${{ matrix.platform.target }}
61
61
  path: dist
@@ -74,8 +74,8 @@ jobs:
74
74
  - runner: ubuntu-22.04
75
75
  target: armv7
76
76
  steps:
77
- - uses: actions/checkout@v4
78
- - uses: actions/setup-python@v5
77
+ - uses: actions/checkout@v6
78
+ - uses: actions/setup-python@v6
79
79
  with:
80
80
  python-version: 3.x
81
81
  - name: Build wheels
@@ -93,7 +93,7 @@ jobs:
93
93
  sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
94
94
  manylinux: musllinux_1_2
95
95
  - name: Upload wheels
96
- uses: actions/upload-artifact@v4
96
+ uses: actions/upload-artifact@v5
97
97
  with:
98
98
  name: wheels-musllinux-${{ matrix.platform.target }}
99
99
  path: dist
@@ -105,24 +105,29 @@ jobs:
105
105
  platform:
106
106
  - runner: windows-latest
107
107
  target: x64
108
+ python_arch: x64
108
109
  - runner: windows-latest
109
110
  target: x86
111
+ python_arch: x86
112
+ - runner: windows-latest
113
+ target: aarch64
114
+ python_arch: x64
110
115
  steps:
111
- - uses: actions/checkout@v4
112
- - uses: actions/setup-python@v5
116
+ - uses: actions/checkout@v6
117
+ - uses: actions/setup-python@v6
113
118
  with:
114
- python-version: 3.x
115
- architecture: ${{ matrix.platform.target }}
119
+ python-version: 3.13
120
+ architecture: ${{ matrix.platform.python_arch }}
116
121
  - name: Build wheels
117
122
  uses: PyO3/maturin-action@v1
118
123
  with:
119
124
  target: ${{ matrix.platform.target }}
120
125
  args: --release --out dist
121
126
  sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
122
- - uses: actions/setup-python@v5
127
+ - uses: actions/setup-python@v6
123
128
  with:
124
129
  python-version: 3.13t
125
- architecture: ${{ matrix.platform.target }}
130
+ architecture: ${{ matrix.platform.python_arch }}
126
131
  - name: Build free-threaded wheels
127
132
  uses: PyO3/maturin-action@v1
128
133
  with:
@@ -130,7 +135,7 @@ jobs:
130
135
  args: --release --out dist -i python3.13t
131
136
  sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
132
137
  - name: Upload wheels
133
- uses: actions/upload-artifact@v4
138
+ uses: actions/upload-artifact@v5
134
139
  with:
135
140
  name: wheels-windows-${{ matrix.platform.target }}
136
141
  path: dist
@@ -140,13 +145,13 @@ jobs:
140
145
  strategy:
141
146
  matrix:
142
147
  platform:
143
- - runner: macos-15
148
+ - runner: macos-15-intel
144
149
  target: x86_64
145
- - runner: macos-14
150
+ - runner: macos-latest
146
151
  target: aarch64
147
152
  steps:
148
- - uses: actions/checkout@v4
149
- - uses: actions/setup-python@v5
153
+ - uses: actions/checkout@v6
154
+ - uses: actions/setup-python@v6
150
155
  with:
151
156
  python-version: 3.x
152
157
  - name: Build wheels
@@ -162,7 +167,7 @@ jobs:
162
167
  args: --release --out dist -i python3.13t
163
168
  sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
164
169
  - name: Upload wheels
165
- uses: actions/upload-artifact@v4
170
+ uses: actions/upload-artifact@v5
166
171
  with:
167
172
  name: wheels-macos-${{ matrix.platform.target }}
168
173
  path: dist
@@ -170,14 +175,14 @@ jobs:
170
175
  sdist:
171
176
  runs-on: ubuntu-latest
172
177
  steps:
173
- - uses: actions/checkout@v4
178
+ - uses: actions/checkout@v6
174
179
  - name: Build sdist
175
180
  uses: PyO3/maturin-action@v1
176
181
  with:
177
182
  command: sdist
178
183
  args: --out dist
179
184
  - name: Upload sdist
180
- uses: actions/upload-artifact@v4
185
+ uses: actions/upload-artifact@v5
181
186
  with:
182
187
  name: wheels-sdist
183
188
  path: dist
@@ -185,20 +190,33 @@ jobs:
185
190
  release:
186
191
  name: Release
187
192
  runs-on: ubuntu-latest
188
- environment: release
189
- #if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
193
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
190
194
  needs: [linux, musllinux, windows, macos, sdist]
195
+ environment:
196
+ # Create this environment in the GitHub repository under Settings -> Environments
197
+ name: release
191
198
  permissions:
192
199
  # Use to sign the release artifacts
193
200
  id-token: write
194
201
  # Used to upload release artifacts
195
202
  contents: write
203
+ # Used to generate artifact attestation
204
+ attestations: write
196
205
  steps:
197
- - uses: actions/download-artifact@v4
206
+ - uses: actions/download-artifact@v6
207
+ - name: Generate artifact attestation
208
+ uses: actions/attest-build-provenance@v3
209
+ with:
210
+ subject-path: 'wheels-*/*'
211
+ - name: Install uv
212
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
213
+ uses: astral-sh/setup-uv@v7
198
214
  - name: Publish to PyPI
199
- #if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
200
- uses: PyO3/maturin-action@v1
201
- with:
202
- command: upload
203
- args: --non-interactive --skip-existing wheels-*/*
204
-
215
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
216
+ run: uv publish 'wheels-*/*'
217
+ - name: Upload to GitHub Release
218
+ uses: softprops/action-gh-release@v1
219
+ with:
220
+ files: |
221
+ wasm-wheels/*.whl
222
+ prerelease: ${{ contains(github.ref, 'alpha') || contains(github.ref, 'beta') }}
@@ -0,0 +1,7 @@
1
+ *
2
+ !Cargo.toml
3
+ !src
4
+ !src/*
5
+ !pyproject.toml
6
+ !README.md
7
+ !LICENSE.txt
@@ -29,6 +29,16 @@ version = "1.5.0"
29
29
  source = "registry+https://github.com/rust-lang/crates.io-index"
30
30
  checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b"
31
31
 
32
+ [[package]]
33
+ name = "cc"
34
+ version = "1.2.53"
35
+ source = "registry+https://github.com/rust-lang/crates.io-index"
36
+ checksum = "755d2fce177175ffca841e9a06afdb2c4ab0f593d53b4dee48147dfaade85932"
37
+ dependencies = [
38
+ "find-msvc-tools",
39
+ "shlex",
40
+ ]
41
+
32
42
  [[package]]
33
43
  name = "cfg-if"
34
44
  version = "1.0.4"
@@ -82,6 +92,12 @@ version = "1.0.2"
82
92
  source = "registry+https://github.com/rust-lang/crates.io-index"
83
93
  checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
84
94
 
95
+ [[package]]
96
+ name = "find-msvc-tools"
97
+ version = "0.1.8"
98
+ source = "registry+https://github.com/rust-lang/crates.io-index"
99
+ checksum = "8591b0bcc8a98a64310a2fae1bb3e9b8564dd10e381e6e28010fde8e8e8568db"
100
+
85
101
  [[package]]
86
102
  name = "float_next_after"
87
103
  version = "1.0.0"
@@ -147,9 +163,9 @@ dependencies = [
147
163
 
148
164
  [[package]]
149
165
  name = "getrandom"
150
- version = "0.2.16"
166
+ version = "0.2.17"
151
167
  source = "registry+https://github.com/rust-lang/crates.io-index"
152
- checksum = "335ff9f135e4384c8150d6f27c6daed433577f86b4750418338c01a1a2528592"
168
+ checksum = "ff2abc00be7fca6ebc474524697ae276ad847ad0a6b3faa4bcb027e9a4614ad0"
153
169
  dependencies = [
154
170
  "cfg-if",
155
171
  "libc",
@@ -243,9 +259,9 @@ checksum = "35e6d558e6d4c7b82bc51d9c771e7a927862a161a7d87bf2b0541450e0e20915"
243
259
 
244
260
  [[package]]
245
261
  name = "indexmap"
246
- version = "2.12.1"
262
+ version = "2.13.0"
247
263
  source = "registry+https://github.com/rust-lang/crates.io-index"
248
- checksum = "0ad4bb2b565bca0645f4d68c5c9af97fba094e9791da685bf83cb5f3ce74acf2"
264
+ checksum = "7714e70437a7dc3ac8eb7e6f8df75fd8eb422675fc7678aff7364301092b1017"
249
265
  dependencies = [
250
266
  "equivalent",
251
267
  "hashbrown 0.16.1",
@@ -271,9 +287,9 @@ dependencies = [
271
287
 
272
288
  [[package]]
273
289
  name = "libc"
274
- version = "0.2.178"
290
+ version = "0.2.180"
275
291
  source = "registry+https://github.com/rust-lang/crates.io-index"
276
- checksum = "37c93d8daa9d8a012fd8ab92f088405fb202ea0b6ab73ee2482ae66af4f42091"
292
+ checksum = "bcc35a38544a891a5f7c865aca548a982ccb3b8650a5b06d0fd33a10283c56fc"
277
293
 
278
294
  [[package]]
279
295
  name = "libm"
@@ -314,9 +330,9 @@ dependencies = [
314
330
 
315
331
  [[package]]
316
332
  name = "ndarray"
317
- version = "0.17.1"
333
+ version = "0.17.2"
318
334
  source = "registry+https://github.com/rust-lang/crates.io-index"
319
- checksum = "0c7c9125e8f6f10c9da3aad044cc918cf8784fa34de857b1aa68038eb05a50a9"
335
+ checksum = "520080814a7a6b4a6e9070823bb24b4531daac8c4627e08ba5de8c5ef2f2752d"
320
336
  dependencies = [
321
337
  "matrixmultiply",
322
338
  "num-complex",
@@ -402,9 +418,9 @@ checksum = "42f5e15c9953c5e4ccceeb2e7382a716482c34515315f7b03532b8b4e8393d2d"
402
418
 
403
419
  [[package]]
404
420
  name = "portable-atomic"
405
- version = "1.11.1"
421
+ version = "1.13.0"
406
422
  source = "registry+https://github.com/rust-lang/crates.io-index"
407
- checksum = "f84267b20a16ea918e43c6a88433c2d54fa145c92a811b5b047ccbe153674483"
423
+ checksum = "f89776e4d69bb58bc6993e99ffa1d11f228b839984854c7daeb5d37f87cbe950"
408
424
 
409
425
  [[package]]
410
426
  name = "portable-atomic-util"
@@ -435,9 +451,9 @@ dependencies = [
435
451
 
436
452
  [[package]]
437
453
  name = "proc-macro2"
438
- version = "1.0.103"
454
+ version = "1.0.105"
439
455
  source = "registry+https://github.com/rust-lang/crates.io-index"
440
- checksum = "5ee95bc4ef87b8d5ba32e8b7714ccc834865276eab0aed5c9958d00ec45f49e8"
456
+ checksum = "535d180e0ecab6268a3e718bb9fd44db66bbbc256257165fc699dadf70d16fe7"
441
457
  dependencies = [
442
458
  "unicode-ident",
443
459
  ]
@@ -465,6 +481,7 @@ version = "0.27.2"
465
481
  source = "registry+https://github.com/rust-lang/crates.io-index"
466
482
  checksum = "b455933107de8642b4487ed26d912c2d899dec6114884214a0b3bb3be9261ea6"
467
483
  dependencies = [
484
+ "python3-dll-a",
468
485
  "target-lexicon",
469
486
  ]
470
487
 
@@ -503,11 +520,20 @@ dependencies = [
503
520
  "syn",
504
521
  ]
505
522
 
523
+ [[package]]
524
+ name = "python3-dll-a"
525
+ version = "0.2.14"
526
+ source = "registry+https://github.com/rust-lang/crates.io-index"
527
+ checksum = "d381ef313ae70b4da5f95f8a4de773c6aa5cd28f73adec4b4a31df70b66780d8"
528
+ dependencies = [
529
+ "cc",
530
+ ]
531
+
506
532
  [[package]]
507
533
  name = "quote"
508
- version = "1.0.42"
534
+ version = "1.0.43"
509
535
  source = "registry+https://github.com/rust-lang/crates.io-index"
510
- checksum = "a338cc41d27e6cc6dce6cefc13a0729dfbb81c262b1f519331575dd80ef3067f"
536
+ checksum = "dc74d9a594b72ae6656596548f56f667211f8a97b3d4c3d467150794690dc40a"
511
537
  dependencies = [
512
538
  "proc-macro2",
513
539
  ]
@@ -587,7 +613,7 @@ dependencies = [
587
613
 
588
614
  [[package]]
589
615
  name = "rust-geo-python"
590
- version = "0.1.5"
616
+ version = "0.1.7"
591
617
  dependencies = [
592
618
  "geo",
593
619
  "ndarray",
@@ -639,6 +665,12 @@ dependencies = [
639
665
  "syn",
640
666
  ]
641
667
 
668
+ [[package]]
669
+ name = "shlex"
670
+ version = "1.3.0"
671
+ source = "registry+https://github.com/rust-lang/crates.io-index"
672
+ checksum = "0fda2ff0d084019ba4d7c6f371c95d8fd75ce3524c3cb8fb653a3023f6323e64"
673
+
642
674
  [[package]]
643
675
  name = "sif-itree"
644
676
  version = "0.4.0"
@@ -671,9 +703,9 @@ checksum = "6ce2be8dc25455e1f91df71bfa12ad37d7af1092ae736f3a6cd0e37bc7810596"
671
703
 
672
704
  [[package]]
673
705
  name = "syn"
674
- version = "2.0.111"
706
+ version = "2.0.114"
675
707
  source = "registry+https://github.com/rust-lang/crates.io-index"
676
- checksum = "390cc9a294ab71bdb1aa2e99d13be9c753cd2d7bd6560c77118597410c4d2e87"
708
+ checksum = "d4d107df263a3013ef9b1879b0df87d706ff80f65a86ea879bd9c31f9b307c2a"
677
709
  dependencies = [
678
710
  "proc-macro2",
679
711
  "quote",
@@ -682,9 +714,9 @@ dependencies = [
682
714
 
683
715
  [[package]]
684
716
  name = "target-lexicon"
685
- version = "0.13.3"
717
+ version = "0.13.4"
686
718
  source = "registry+https://github.com/rust-lang/crates.io-index"
687
- checksum = "df7f62577c25e07834649fc3b39fafdc597c0a3527dc1c60129201ccfcbaa50c"
719
+ checksum = "b1dd07eb858a2067e2f3c7155d54e929265c264e6f37efe3ee7a8d1b5a1dd0ba"
688
720
 
689
721
  [[package]]
690
722
  name = "thiserror"
@@ -708,18 +740,18 @@ dependencies = [
708
740
 
709
741
  [[package]]
710
742
  name = "toml_datetime"
711
- version = "0.7.3"
743
+ version = "0.7.5+spec-1.1.0"
712
744
  source = "registry+https://github.com/rust-lang/crates.io-index"
713
- checksum = "f2cdb639ebbc97961c51720f858597f7f24c4fc295327923af55b74c3c724533"
745
+ checksum = "92e1cfed4a3038bc5a127e35a2d360f145e1f4b971b551a2ba5fd7aedf7e1347"
714
746
  dependencies = [
715
747
  "serde_core",
716
748
  ]
717
749
 
718
750
  [[package]]
719
751
  name = "toml_edit"
720
- version = "0.23.9"
752
+ version = "0.23.10+spec-1.0.0"
721
753
  source = "registry+https://github.com/rust-lang/crates.io-index"
722
- checksum = "5d7cbc3b4b49633d57a0509303158ca50de80ae32c265093b24c414705807832"
754
+ checksum = "84c8b9f757e028cee9fa244aea147aab2a9ec09d5325a9b01e0a49730c2b5269"
723
755
  dependencies = [
724
756
  "indexmap",
725
757
  "toml_datetime",
@@ -729,9 +761,9 @@ dependencies = [
729
761
 
730
762
  [[package]]
731
763
  name = "toml_parser"
732
- version = "1.0.4"
764
+ version = "1.0.6+spec-1.1.0"
733
765
  source = "registry+https://github.com/rust-lang/crates.io-index"
734
- checksum = "c0cbe268d35bdb4bb5a56a2de88d0ad0eb70af5384a99d648cd4b3d04039800e"
766
+ checksum = "a3198b4b0a8e11f09dd03e133c0280504d0801269e9afa46362ffde1cbeebf44"
735
767
  dependencies = [
736
768
  "winnow",
737
769
  ]
@@ -790,18 +822,18 @@ dependencies = [
790
822
 
791
823
  [[package]]
792
824
  name = "zerocopy"
793
- version = "0.8.31"
825
+ version = "0.8.33"
794
826
  source = "registry+https://github.com/rust-lang/crates.io-index"
795
- checksum = "fd74ec98b9250adb3ca554bdde269adf631549f51d8a8f8f0a10b50f1cb298c3"
827
+ checksum = "668f5168d10b9ee831de31933dc111a459c97ec93225beb307aed970d1372dfd"
796
828
  dependencies = [
797
829
  "zerocopy-derive",
798
830
  ]
799
831
 
800
832
  [[package]]
801
833
  name = "zerocopy-derive"
802
- version = "0.8.31"
834
+ version = "0.8.33"
803
835
  source = "registry+https://github.com/rust-lang/crates.io-index"
804
- checksum = "d8a8d209fdf45cf5138cbb5a506f6b52522a25afccc534d1475dad8e31105c6a"
836
+ checksum = "2c7962b26b0a8685668b671ee4b54d007a67d4eaf05fda79ac0ecf41e32270f1"
805
837
  dependencies = [
806
838
  "proc-macro2",
807
839
  "quote",
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "rust-geo-python"
3
- version = "0.1.5"
3
+ version = "0.1.7"
4
4
  authors = ["plooney"]
5
5
  edition = "2024"
6
6
  readme = "README.md"
@@ -10,14 +10,17 @@ name = "rust_geo_python"
10
10
  crate-type = ["cdylib"]
11
11
 
12
12
  [dependencies]
13
- pyo3 = { version = "0.27.1", features = ["extension-module", "abi3-py37"] }
14
- ndarray = {version="0.17.1", features = ["rayon"]}
13
+ pyo3 = { version = "0.27.2", features = ["extension-module", "abi3-py37", "generate-import-lib"] }
14
+ ndarray = {version="0.17.2", features = ["rayon"]}
15
15
  numpy = "0.27.1"
16
16
  geo = { version = "0.32.0" }
17
17
  wkt = "0.14.0"
18
- wkb = "0.9.1"
18
+ wkb = "0.9.2"
19
19
 
20
- [workspace]
20
+ [profile.release]
21
+ lto = true
22
+ codegen-units = 1
23
+ opt-level = 3
21
24
 
22
25
  [tool.cibuildwheel.macos.environment]
23
26
  MACOSX_DEPLOYMENT_TARGET = "10.12"
@@ -27,6 +30,7 @@ skip = ["*-musllinux_i686"]
27
30
 
28
31
  [target.x86_64-apple-darwin]
29
32
  rustflags = [
30
- "-C", "link-arg=-undefined",
31
- "-C", "link-arg=dynamic_lookup",
33
+ "-C", "link-arg=-undefined",
34
+ "-C", "link-arg=dynamic_lookup",
32
35
  ]
36
+
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: rust-geo-python
3
- Version: 0.1.5
3
+ Version: 0.1.7
4
4
  Author: plooney
5
5
  Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
6
6