promql-parser 0.4.2__tar.gz → 0.5.0__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.
@@ -0,0 +1,182 @@
1
+ # This file is autogenerated by maturin v1.8.2
2
+ # To update, run
3
+ #
4
+ # maturin generate-ci github
5
+ #
6
+ name: CI
7
+
8
+ on:
9
+ push:
10
+ branches:
11
+ - main
12
+ tags:
13
+ - "*"
14
+ pull_request:
15
+ workflow_dispatch:
16
+
17
+ permissions:
18
+ contents: read
19
+
20
+ jobs:
21
+ linux:
22
+ runs-on: ${{ matrix.platform.runner }}
23
+ strategy:
24
+ matrix:
25
+ platform:
26
+ - runner: ubuntu-22.04
27
+ target: x86_64
28
+ - runner: ubuntu-22.04
29
+ target: x86
30
+ - runner: ubuntu-22.04
31
+ target: aarch64
32
+ - runner: ubuntu-22.04
33
+ target: armv7
34
+ - runner: ubuntu-22.04
35
+ target: s390x
36
+ - runner: ubuntu-22.04
37
+ target: ppc64le
38
+ steps:
39
+ - uses: actions/checkout@v4
40
+ - uses: actions/setup-python@v5
41
+ with:
42
+ python-version: 3.x
43
+ - name: Build wheels
44
+ uses: PyO3/maturin-action@v1
45
+ with:
46
+ target: ${{ matrix.platform.target }}
47
+ args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 3.13 3.13t pypy3.10 pypy3.11
48
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
49
+ manylinux: auto
50
+ - name: Upload wheels
51
+ uses: actions/upload-artifact@v4
52
+ with:
53
+ name: wheels-linux-${{ matrix.platform.target }}
54
+ path: dist
55
+
56
+ musllinux:
57
+ runs-on: ${{ matrix.platform.runner }}
58
+ strategy:
59
+ matrix:
60
+ platform:
61
+ - runner: ubuntu-22.04
62
+ target: x86_64
63
+ - runner: ubuntu-22.04
64
+ target: x86
65
+ - runner: ubuntu-22.04
66
+ target: aarch64
67
+ - runner: ubuntu-22.04
68
+ target: armv7
69
+ steps:
70
+ - uses: actions/checkout@v4
71
+ - uses: actions/setup-python@v5
72
+ with:
73
+ python-version: 3.x
74
+ - name: Build wheels
75
+ uses: PyO3/maturin-action@v1
76
+ with:
77
+ target: ${{ matrix.platform.target }}
78
+ args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 3.13 3.13t pypy3.10 pypy3.11
79
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
80
+ manylinux: musllinux_1_2
81
+ - name: Upload wheels
82
+ uses: actions/upload-artifact@v4
83
+ with:
84
+ name: wheels-musllinux-${{ matrix.platform.target }}
85
+ path: dist
86
+
87
+ windows:
88
+ runs-on: ${{ matrix.platform.runner }}
89
+ strategy:
90
+ matrix:
91
+ platform:
92
+ - runner: windows-latest
93
+ target: x64
94
+ interpreter: 3.8 3.9 3.10 3.11 3.12 3.13 3.13t pypy3.10 pypy3.11
95
+ - runner: windows-latest
96
+ target: x86
97
+ interpreter: 3.8 3.9 3.10 3.11 3.12 3.13 3.13t
98
+ steps:
99
+ - uses: actions/checkout@v4
100
+ - uses: actions/setup-python@v5
101
+ with:
102
+ python-version: 3.x
103
+ architecture: ${{ matrix.platform.target }}
104
+ - name: Build wheels
105
+ uses: PyO3/maturin-action@v1
106
+ with:
107
+ target: ${{ matrix.platform.target }}
108
+ args: --release --out dist -i ${{ matrix.platform.interpreter }}
109
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
110
+ - name: Upload wheels
111
+ uses: actions/upload-artifact@v4
112
+ with:
113
+ name: wheels-windows-${{ matrix.platform.target }}
114
+ path: dist
115
+
116
+ macos:
117
+ runs-on: ${{ matrix.platform.runner }}
118
+ strategy:
119
+ matrix:
120
+ platform:
121
+ - runner: macos-13
122
+ target: x86_64
123
+ - runner: macos-14
124
+ target: aarch64
125
+ steps:
126
+ - uses: actions/checkout@v4
127
+ - uses: actions/setup-python@v5
128
+ with:
129
+ python-version: 3.x
130
+ - name: Build wheels
131
+ uses: PyO3/maturin-action@v1
132
+ with:
133
+ target: ${{ matrix.platform.target }}
134
+ args: --release --out dist -i 3.8 3.9 3.10 3.11 3.12 3.13 3.13t pypy3.10 pypy3.11
135
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
136
+ - name: Upload wheels
137
+ uses: actions/upload-artifact@v4
138
+ with:
139
+ name: wheels-macos-${{ matrix.platform.target }}
140
+ path: dist
141
+
142
+ sdist:
143
+ runs-on: ubuntu-latest
144
+ steps:
145
+ - uses: actions/checkout@v4
146
+ - name: Build sdist
147
+ uses: PyO3/maturin-action@v1
148
+ with:
149
+ command: sdist
150
+ args: --out dist
151
+ - name: Upload sdist
152
+ uses: actions/upload-artifact@v4
153
+ with:
154
+ name: wheels-sdist
155
+ path: dist
156
+
157
+ release:
158
+ name: Release
159
+ runs-on: ubuntu-latest
160
+ if: ${{ startsWith(github.ref, 'refs/tags/') || github.event_name == 'workflow_dispatch' }}
161
+ needs: [linux, musllinux, windows, macos, sdist]
162
+ permissions:
163
+ # Use to sign the release artifacts
164
+ id-token: write
165
+ # Used to upload release artifacts
166
+ contents: write
167
+ # Used to generate artifact attestation
168
+ attestations: write
169
+ steps:
170
+ - uses: actions/download-artifact@v4
171
+ - name: Generate artifact attestation
172
+ uses: actions/attest-build-provenance@v1
173
+ with:
174
+ subject-path: "wheels-*/*"
175
+ - name: Publish to PyPI
176
+ if: ${{ startsWith(github.ref, 'refs/tags/') }}
177
+ uses: PyO3/maturin-action@v1
178
+ env:
179
+ MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
180
+ with:
181
+ command: upload
182
+ args: --non-interactive --skip-existing wheels-*/*
@@ -28,9 +28,9 @@ dependencies = [
28
28
 
29
29
  [[package]]
30
30
  name = "anyhow"
31
- version = "1.0.94"
31
+ version = "1.0.97"
32
32
  source = "registry+https://github.com/rust-lang/crates.io-index"
33
- checksum = "c1fd03a028ef38ba2276dce7e33fcd6369c158a1bca17946c4b1b701891c1ff7"
33
+ checksum = "dcfed56ad506cb2c684a14971b8861fdc3baaaae314b9e5f9bb532cbe3ba7a4f"
34
34
 
35
35
  [[package]]
36
36
  name = "autocfg"
@@ -49,15 +49,15 @@ dependencies = [
49
49
 
50
50
  [[package]]
51
51
  name = "bitflags"
52
- version = "2.6.0"
52
+ version = "2.9.0"
53
53
  source = "registry+https://github.com/rust-lang/crates.io-index"
54
- checksum = "b048fb63fd8b5923fc5aa7b340d8e156aec7ec02f0c78fa8a6ddc2613f6f71de"
54
+ checksum = "5c8214115b7bf84099f1309324e63141d4c5d7cc26862f97a0a857dbefe165bd"
55
55
 
56
56
  [[package]]
57
57
  name = "bumpalo"
58
- version = "3.16.0"
58
+ version = "3.17.0"
59
59
  source = "registry+https://github.com/rust-lang/crates.io-index"
60
- checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c"
60
+ checksum = "1628fb46dfa0b37568d12e5edd512553eccf6a22a78e8bde00bb4aed84d5bdbf"
61
61
 
62
62
  [[package]]
63
63
  name = "cactus"
@@ -67,9 +67,9 @@ checksum = "acbc26382d871df4b7442e3df10a9402bf3cf5e55cbd66f12be38861425f0564"
67
67
 
68
68
  [[package]]
69
69
  name = "cc"
70
- version = "1.2.2"
70
+ version = "1.2.16"
71
71
  source = "registry+https://github.com/rust-lang/crates.io-index"
72
- checksum = "f34d93e62b03caf570cccc334cbc6c2fceca82f39211051345108adcba3eebdc"
72
+ checksum = "be714c154be609ec7f5dad223a33bf1482fff90472de28f7362806e6d4832b8c"
73
73
  dependencies = [
74
74
  "shlex",
75
75
  ]
@@ -82,9 +82,9 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd"
82
82
 
83
83
  [[package]]
84
84
  name = "cfgrammar"
85
- version = "0.13.8"
85
+ version = "0.13.10"
86
86
  source = "registry+https://github.com/rust-lang/crates.io-index"
87
- checksum = "6d621f687a04efa1f269f1cd13d8cfea9660852bdb3d1cd2c3c9fb6fdd34daf2"
87
+ checksum = "7fe45e18904af7af10e4312df7c97251e98af98c70f42f1f2587aecfcbee56bf"
88
88
  dependencies = [
89
89
  "indexmap",
90
90
  "lazy_static",
@@ -96,16 +96,16 @@ dependencies = [
96
96
 
97
97
  [[package]]
98
98
  name = "chrono"
99
- version = "0.4.38"
99
+ version = "0.4.40"
100
100
  source = "registry+https://github.com/rust-lang/crates.io-index"
101
- checksum = "a21f936df1771bf62b77f047b726c4625ff2e8aa607c01ec06e5a05bd8463401"
101
+ checksum = "1a7964611d71df112cb1730f2ee67324fcf4d0fc6606acbbe9bfe06df124637c"
102
102
  dependencies = [
103
103
  "android-tzdata",
104
104
  "iana-time-zone",
105
105
  "js-sys",
106
106
  "num-traits",
107
107
  "wasm-bindgen",
108
- "windows-targets",
108
+ "windows-link",
109
109
  ]
110
110
 
111
111
  [[package]]
@@ -125,9 +125,9 @@ dependencies = [
125
125
 
126
126
  [[package]]
127
127
  name = "equivalent"
128
- version = "1.0.1"
128
+ version = "1.0.2"
129
129
  source = "registry+https://github.com/rust-lang/crates.io-index"
130
- checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5"
130
+ checksum = "877a4ace8713b0bcf2a4e7eec82529c029f1d0619886d18145fea96c3ffe5c0f"
131
131
 
132
132
  [[package]]
133
133
  name = "filetime"
@@ -193,9 +193,9 @@ dependencies = [
193
193
 
194
194
  [[package]]
195
195
  name = "indexmap"
196
- version = "2.7.0"
196
+ version = "2.8.0"
197
197
  source = "registry+https://github.com/rust-lang/crates.io-index"
198
- checksum = "62f822373a4fe84d4bb149bf54e584a7f4abec90e072ed49cda0edea5b95471f"
198
+ checksum = "3954d50fe15b02142bf25d3b8bdadb634ec3948f103d04ffe3031bc8fe9d7058"
199
199
  dependencies = [
200
200
  "equivalent",
201
201
  "hashbrown",
@@ -203,21 +203,21 @@ dependencies = [
203
203
 
204
204
  [[package]]
205
205
  name = "indoc"
206
- version = "2.0.5"
206
+ version = "2.0.6"
207
207
  source = "registry+https://github.com/rust-lang/crates.io-index"
208
- checksum = "b248f5224d1d606005e02c97f5aa4e88eeb230488bcc03bc9ca4d7991399f2b5"
208
+ checksum = "f4c7245a08504955605670dbf141fceab975f15ca21570696aebe9d2e71576bd"
209
209
 
210
210
  [[package]]
211
211
  name = "itoa"
212
- version = "1.0.14"
212
+ version = "1.0.15"
213
213
  source = "registry+https://github.com/rust-lang/crates.io-index"
214
- checksum = "d75a2a4b1b190afb6f5425f10f6a8f959d2ea0b9c2b1d79553551850539e4674"
214
+ checksum = "4a5f13b858c8d314ee3e8f639011f7ccefe71f97f96e50151fb991f267928e2c"
215
215
 
216
216
  [[package]]
217
217
  name = "js-sys"
218
- version = "0.3.74"
218
+ version = "0.3.77"
219
219
  source = "registry+https://github.com/rust-lang/crates.io-index"
220
- checksum = "a865e038f7f6ed956f788f0d7d60c541fff74c7bd74272c5d4cf15c63743e705"
220
+ checksum = "1cfaf33c695fc6e08064efbc1f72ec937429614f25eef83af942d0e227c3a28f"
221
221
  dependencies = [
222
222
  "once_cell",
223
223
  "wasm-bindgen",
@@ -231,9 +231,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe"
231
231
 
232
232
  [[package]]
233
233
  name = "libc"
234
- version = "0.2.167"
234
+ version = "0.2.171"
235
235
  source = "registry+https://github.com/rust-lang/crates.io-index"
236
- checksum = "09d6582e104315a817dff97f75133544b2e094ee22447d2acf4a74e189ba06fc"
236
+ checksum = "c19937216e9d3aa9956d9bb8dfc0b0c8beb6058fc4f7a4dc4d850edf86a237d6"
237
237
 
238
238
  [[package]]
239
239
  name = "libredox"
@@ -248,15 +248,15 @@ dependencies = [
248
248
 
249
249
  [[package]]
250
250
  name = "log"
251
- version = "0.4.22"
251
+ version = "0.4.26"
252
252
  source = "registry+https://github.com/rust-lang/crates.io-index"
253
- checksum = "a7a70ba024b9dc04c27ea2f0c0548feb474ec5c54bba33a7f72f873a39d07b24"
253
+ checksum = "30bde2b3dc3671ae49d8e2e9f044c7c005836e7a023ee57cffa25ab82764bb9e"
254
254
 
255
255
  [[package]]
256
256
  name = "lrlex"
257
- version = "0.13.8"
257
+ version = "0.13.10"
258
258
  source = "registry+https://github.com/rust-lang/crates.io-index"
259
- checksum = "6fe1e8741f737ba4b6d781f716051df6375ff0488d57ee23822a2cdba1c3dc7a"
259
+ checksum = "c71364e868116ee891b0f93559eb9eca5675bec28b22d33c58481e66c3951d7e"
260
260
  dependencies = [
261
261
  "cfgrammar",
262
262
  "getopts",
@@ -272,9 +272,9 @@ dependencies = [
272
272
 
273
273
  [[package]]
274
274
  name = "lrpar"
275
- version = "0.13.8"
275
+ version = "0.13.10"
276
276
  source = "registry+https://github.com/rust-lang/crates.io-index"
277
- checksum = "19c61bcff4c1dd2deb9567ea868237828a8cd179c3f64106f6726656e372421d"
277
+ checksum = "51b265a81193d94c92d1c9c715498d6fa505bce3f789ceecb24ab5d6fa2dbc71"
278
278
  dependencies = [
279
279
  "bincode",
280
280
  "cactus",
@@ -294,9 +294,9 @@ dependencies = [
294
294
 
295
295
  [[package]]
296
296
  name = "lrtable"
297
- version = "0.13.8"
297
+ version = "0.13.10"
298
298
  source = "registry+https://github.com/rust-lang/crates.io-index"
299
- checksum = "49e35162de3a5d91b380f8ebb31fc6c5e9a4618276465df4725ff1f88613312b"
299
+ checksum = "dc36d15214ca997a5097845be1f932b7ee6125c36f5c5e55f6c49e027ddeb6de"
300
300
  dependencies = [
301
301
  "cfgrammar",
302
302
  "fnv",
@@ -347,9 +347,9 @@ dependencies = [
347
347
 
348
348
  [[package]]
349
349
  name = "once_cell"
350
- version = "1.20.2"
350
+ version = "1.21.0"
351
351
  source = "registry+https://github.com/rust-lang/crates.io-index"
352
- checksum = "1261fe7e33c73b354eab43b1273a57c8f967d0391e80353e51f764ac02cf6775"
352
+ checksum = "cde51589ab56b20a6f686b2c68f7a0bd6add753d697abf720d63f8db3ab7b1ad"
353
353
 
354
354
  [[package]]
355
355
  name = "packedvec"
@@ -363,9 +363,9 @@ dependencies = [
363
363
 
364
364
  [[package]]
365
365
  name = "portable-atomic"
366
- version = "1.10.0"
366
+ version = "1.11.0"
367
367
  source = "registry+https://github.com/rust-lang/crates.io-index"
368
- checksum = "280dc24453071f1b63954171985a0b0d30058d287960968b9b2aca264c8d4ee6"
368
+ checksum = "350e9b48cbc6b0e028b0473b114454c6316e57336ee184ceab6e53f72c178b3e"
369
369
 
370
370
  [[package]]
371
371
  name = "powerfmt"
@@ -375,18 +375,18 @@ checksum = "439ee305def115ba05938db6eb1644ff94165c5ab5e9420d1c1bcedbba909391"
375
375
 
376
376
  [[package]]
377
377
  name = "proc-macro2"
378
- version = "1.0.92"
378
+ version = "1.0.94"
379
379
  source = "registry+https://github.com/rust-lang/crates.io-index"
380
- checksum = "37d3544b3f2748c54e147655edb5025752e2303145b5aefb3c3ea2c78b973bb0"
380
+ checksum = "a31971752e70b8b2686d7e46ec17fb38dad4051d94024c88df49b667caea9c84"
381
381
  dependencies = [
382
382
  "unicode-ident",
383
383
  ]
384
384
 
385
385
  [[package]]
386
386
  name = "promql-parser"
387
- version = "0.4.3"
387
+ version = "0.5.0"
388
388
  source = "registry+https://github.com/rust-lang/crates.io-index"
389
- checksum = "7fe99e6f80a79abccf1e8fb48dd63473a36057e600cc6ea36147c8318698ae6f"
389
+ checksum = "7c6b1429bdd199d53bd58b745075c1652efedbe2746e5d4f0d56d3184dda48ec"
390
390
  dependencies = [
391
391
  "cfgrammar",
392
392
  "chrono",
@@ -398,7 +398,7 @@ dependencies = [
398
398
 
399
399
  [[package]]
400
400
  name = "py-promql-parser"
401
- version = "0.4.2"
401
+ version = "0.5.0"
402
402
  dependencies = [
403
403
  "chrono",
404
404
  "promql-parser",
@@ -407,9 +407,9 @@ dependencies = [
407
407
 
408
408
  [[package]]
409
409
  name = "pyo3"
410
- version = "0.23.3"
410
+ version = "0.24.0"
411
411
  source = "registry+https://github.com/rust-lang/crates.io-index"
412
- checksum = "e484fd2c8b4cb67ab05a318f1fd6fa8f199fcc30819f08f07d200809dba26c15"
412
+ checksum = "7f1c6c3591120564d64db2261bec5f910ae454f01def849b9c22835a84695e86"
413
413
  dependencies = [
414
414
  "cfg-if",
415
415
  "chrono",
@@ -426,9 +426,9 @@ dependencies = [
426
426
 
427
427
  [[package]]
428
428
  name = "pyo3-build-config"
429
- version = "0.23.3"
429
+ version = "0.24.0"
430
430
  source = "registry+https://github.com/rust-lang/crates.io-index"
431
- checksum = "dc0e0469a84f208e20044b98965e1561028180219e35352a2afaf2b942beff3b"
431
+ checksum = "e9b6c2b34cf71427ea37c7001aefbaeb85886a074795e35f161f5aecc7620a7a"
432
432
  dependencies = [
433
433
  "once_cell",
434
434
  "python3-dll-a",
@@ -437,9 +437,9 @@ dependencies = [
437
437
 
438
438
  [[package]]
439
439
  name = "pyo3-ffi"
440
- version = "0.23.3"
440
+ version = "0.24.0"
441
441
  source = "registry+https://github.com/rust-lang/crates.io-index"
442
- checksum = "eb1547a7f9966f6f1a0f0227564a9945fe36b90da5a93b3933fc3dc03fae372d"
442
+ checksum = "5507651906a46432cdda02cd02dd0319f6064f1374c9147c45b978621d2c3a9c"
443
443
  dependencies = [
444
444
  "libc",
445
445
  "pyo3-build-config",
@@ -447,9 +447,9 @@ dependencies = [
447
447
 
448
448
  [[package]]
449
449
  name = "pyo3-macros"
450
- version = "0.23.3"
450
+ version = "0.24.0"
451
451
  source = "registry+https://github.com/rust-lang/crates.io-index"
452
- checksum = "fdb6da8ec6fa5cedd1626c886fc8749bdcbb09424a86461eb8cdf096b7c33257"
452
+ checksum = "b0d394b5b4fd8d97d48336bb0dd2aebabad39f1d294edd6bcd2cccf2eefe6f42"
453
453
  dependencies = [
454
454
  "proc-macro2",
455
455
  "pyo3-macros-backend",
@@ -459,9 +459,9 @@ dependencies = [
459
459
 
460
460
  [[package]]
461
461
  name = "pyo3-macros-backend"
462
- version = "0.23.3"
462
+ version = "0.24.0"
463
463
  source = "registry+https://github.com/rust-lang/crates.io-index"
464
- checksum = "38a385202ff5a92791168b1136afae5059d3ac118457bb7bc304c197c2d33e7d"
464
+ checksum = "fd72da09cfa943b1080f621f024d2ef7e2773df7badd51aa30a2be1f8caa7c8e"
465
465
  dependencies = [
466
466
  "heck",
467
467
  "proc-macro2",
@@ -472,27 +472,27 @@ dependencies = [
472
472
 
473
473
  [[package]]
474
474
  name = "python3-dll-a"
475
- version = "0.2.11"
475
+ version = "0.2.13"
476
476
  source = "registry+https://github.com/rust-lang/crates.io-index"
477
- checksum = "9b9e268ee1be609e93a13eb06839f68f67e5fe0fb4049834d261c2d5091c1b6d"
477
+ checksum = "49fe4227a288cf9493942ad0220ea3f185f4d1f2a14f197f7344d6d02f4ed4ed"
478
478
  dependencies = [
479
479
  "cc",
480
480
  ]
481
481
 
482
482
  [[package]]
483
483
  name = "quote"
484
- version = "1.0.37"
484
+ version = "1.0.40"
485
485
  source = "registry+https://github.com/rust-lang/crates.io-index"
486
- checksum = "b5b9d34b8991d19d98081b46eacdd8eb58c6f2b201139f7c5f643cc155a633af"
486
+ checksum = "1885c039570dc00dcb4ff087a89e185fd56bae234ddc7f056a945bf36467248d"
487
487
  dependencies = [
488
488
  "proc-macro2",
489
489
  ]
490
490
 
491
491
  [[package]]
492
492
  name = "redox_syscall"
493
- version = "0.5.7"
493
+ version = "0.5.10"
494
494
  source = "registry+https://github.com/rust-lang/crates.io-index"
495
- checksum = "9b6dfecf2c74bce2466cabf93f6664d6998a69eb21e39f4207930065b27b771f"
495
+ checksum = "0b8c0c260b63a8219631167be35e6a988e9554dbd323f8bd08439c8ed1302bd1"
496
496
  dependencies = [
497
497
  "bitflags",
498
498
  ]
@@ -537,30 +537,30 @@ dependencies = [
537
537
 
538
538
  [[package]]
539
539
  name = "rustversion"
540
- version = "1.0.18"
540
+ version = "1.0.20"
541
541
  source = "registry+https://github.com/rust-lang/crates.io-index"
542
- checksum = "0e819f2bc632f285be6d7cd36e25940d45b2391dd6d9b939e79de557f7014248"
542
+ checksum = "eded382c5f5f786b989652c49544c4877d9f015cc22e145a5ea8ea66c2921cd2"
543
543
 
544
544
  [[package]]
545
545
  name = "semver"
546
- version = "1.0.23"
546
+ version = "1.0.26"
547
547
  source = "registry+https://github.com/rust-lang/crates.io-index"
548
- checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b"
548
+ checksum = "56e6fa9c48d24d85fb3de5ad847117517440f6beceb7798af16b4a87d616b8d0"
549
549
 
550
550
  [[package]]
551
551
  name = "serde"
552
- version = "1.0.215"
552
+ version = "1.0.219"
553
553
  source = "registry+https://github.com/rust-lang/crates.io-index"
554
- checksum = "6513c1ad0b11a9376da888e3e0baa0077f1aed55c17f50e7b2397136129fb88f"
554
+ checksum = "5f0e2c6ed6606019b4e29e69dbaba95b11854410e5347d525002456dbbb786b6"
555
555
  dependencies = [
556
556
  "serde_derive",
557
557
  ]
558
558
 
559
559
  [[package]]
560
560
  name = "serde_derive"
561
- version = "1.0.215"
561
+ version = "1.0.219"
562
562
  source = "registry+https://github.com/rust-lang/crates.io-index"
563
- checksum = "ad1e866f866923f252f05c889987993144fb74e722403468a4ebd70c3cd756c0"
563
+ checksum = "5b0276cf7f2c73365f7157c8123c21cd9a50fbbd844757af28ca1f5925fc2a00"
564
564
  dependencies = [
565
565
  "proc-macro2",
566
566
  "quote",
@@ -593,9 +593,9 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
593
593
 
594
594
  [[package]]
595
595
  name = "syn"
596
- version = "2.0.90"
596
+ version = "2.0.100"
597
597
  source = "registry+https://github.com/rust-lang/crates.io-index"
598
- checksum = "919d3b74a5dd0ccd15aeb8f93e7006bd9e14c295087c9896a110f490752bcf31"
598
+ checksum = "b09a44accad81e1ba1cd74a32461ba89dee89095ba17b32f5d03683b1b1fc2a0"
599
599
  dependencies = [
600
600
  "proc-macro2",
601
601
  "quote",
@@ -604,15 +604,15 @@ dependencies = [
604
604
 
605
605
  [[package]]
606
606
  name = "target-lexicon"
607
- version = "0.12.16"
607
+ version = "0.13.2"
608
608
  source = "registry+https://github.com/rust-lang/crates.io-index"
609
- checksum = "61c41af27dd6d1e27b1b16b489db798443478cef1f06a660c96db617ba5de3b1"
609
+ checksum = "e502f78cdbb8ba4718f566c418c52bc729126ffd16baee5baa718cf25dd5a69a"
610
610
 
611
611
  [[package]]
612
612
  name = "time"
613
- version = "0.3.37"
613
+ version = "0.3.39"
614
614
  source = "registry+https://github.com/rust-lang/crates.io-index"
615
- checksum = "35e7868883861bd0e56d9ac6efcaaca0d6d5d82a2a7ec8209ff492c07cf37b21"
615
+ checksum = "dad298b01a40a23aac4580b67e3dbedb7cc8402f3592d7f49469de2ea4aecdd8"
616
616
  dependencies = [
617
617
  "deranged",
618
618
  "itoa",
@@ -627,15 +627,15 @@ dependencies = [
627
627
 
628
628
  [[package]]
629
629
  name = "time-core"
630
- version = "0.1.2"
630
+ version = "0.1.3"
631
631
  source = "registry+https://github.com/rust-lang/crates.io-index"
632
- checksum = "ef927ca75afb808a4d64dd374f00a2adf8d0fcff8e7b184af886c3c87ec4a3f3"
632
+ checksum = "765c97a5b985b7c11d7bc27fa927dc4fe6af3a6dfb021d28deb60d3bf51e76ef"
633
633
 
634
634
  [[package]]
635
635
  name = "time-macros"
636
- version = "0.2.19"
636
+ version = "0.2.20"
637
637
  source = "registry+https://github.com/rust-lang/crates.io-index"
638
- checksum = "2834e6017e3e5e4b9834939793b282bc03b37a3336245fa820e35e233e2a85de"
638
+ checksum = "e8093bc3e81c3bc5f7879de09619d06c9a5a5e45ca44dfeeb7225bae38005c5c"
639
639
  dependencies = [
640
640
  "num-conv",
641
641
  "time-core",
@@ -643,9 +643,9 @@ dependencies = [
643
643
 
644
644
  [[package]]
645
645
  name = "unicode-ident"
646
- version = "1.0.14"
646
+ version = "1.0.18"
647
647
  source = "registry+https://github.com/rust-lang/crates.io-index"
648
- checksum = "adb9e6ca4f869e1180728b7950e35922a7fc6397f7b641499e8f3ef06e50dc83"
648
+ checksum = "5a5f39404a5da50712a4c1eecf25e90dd62b613502b7e925fd4e4d19b5c96512"
649
649
 
650
650
  [[package]]
651
651
  name = "unicode-width"
@@ -655,9 +655,9 @@ checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af"
655
655
 
656
656
  [[package]]
657
657
  name = "unindent"
658
- version = "0.2.3"
658
+ version = "0.2.4"
659
659
  source = "registry+https://github.com/rust-lang/crates.io-index"
660
- checksum = "c7de7d73e1754487cb58364ee906a499937a0dfabd86bcb980fa99ec8c8fa2ce"
660
+ checksum = "7264e107f553ccae879d21fbea1d6724ac785e8c3bfc762137959b5802826ef3"
661
661
 
662
662
  [[package]]
663
663
  name = "vergen"
@@ -683,24 +683,24 @@ dependencies = [
683
683
 
684
684
  [[package]]
685
685
  name = "wasm-bindgen"
686
- version = "0.2.97"
686
+ version = "0.2.100"
687
687
  source = "registry+https://github.com/rust-lang/crates.io-index"
688
- checksum = "d15e63b4482863c109d70a7b8706c1e364eb6ea449b201a76c5b89cedcec2d5c"
688
+ checksum = "1edc8929d7499fc4e8f0be2262a241556cfc54a0bea223790e71446f2aab1ef5"
689
689
  dependencies = [
690
690
  "cfg-if",
691
691
  "once_cell",
692
+ "rustversion",
692
693
  "wasm-bindgen-macro",
693
694
  ]
694
695
 
695
696
  [[package]]
696
697
  name = "wasm-bindgen-backend"
697
- version = "0.2.97"
698
+ version = "0.2.100"
698
699
  source = "registry+https://github.com/rust-lang/crates.io-index"
699
- checksum = "8d36ef12e3aaca16ddd3f67922bc63e48e953f126de60bd33ccc0101ef9998cd"
700
+ checksum = "2f0a0651a5c2bc21487bde11ee802ccaf4c51935d0d3d42a6101f98161700bc6"
700
701
  dependencies = [
701
702
  "bumpalo",
702
703
  "log",
703
- "once_cell",
704
704
  "proc-macro2",
705
705
  "quote",
706
706
  "syn",
@@ -709,9 +709,9 @@ dependencies = [
709
709
 
710
710
  [[package]]
711
711
  name = "wasm-bindgen-macro"
712
- version = "0.2.97"
712
+ version = "0.2.100"
713
713
  source = "registry+https://github.com/rust-lang/crates.io-index"
714
- checksum = "705440e08b42d3e4b36de7d66c944be628d579796b8090bfa3471478a2260051"
714
+ checksum = "7fe63fc6d09ed3792bd0897b314f53de8e16568c2b3f7982f468c0bf9bd0b407"
715
715
  dependencies = [
716
716
  "quote",
717
717
  "wasm-bindgen-macro-support",
@@ -719,9 +719,9 @@ dependencies = [
719
719
 
720
720
  [[package]]
721
721
  name = "wasm-bindgen-macro-support"
722
- version = "0.2.97"
722
+ version = "0.2.100"
723
723
  source = "registry+https://github.com/rust-lang/crates.io-index"
724
- checksum = "98c9ae5a76e46f4deecd0f0255cc223cfa18dc9b261213b8aa0c7b36f61b3f1d"
724
+ checksum = "8ae87ea40c9f689fc23f209965b6fb8a99ad69aeeb0231408be24920604395de"
725
725
  dependencies = [
726
726
  "proc-macro2",
727
727
  "quote",
@@ -732,9 +732,12 @@ dependencies = [
732
732
 
733
733
  [[package]]
734
734
  name = "wasm-bindgen-shared"
735
- version = "0.2.97"
735
+ version = "0.2.100"
736
736
  source = "registry+https://github.com/rust-lang/crates.io-index"
737
- checksum = "6ee99da9c5ba11bd675621338ef6fa52296b76b83305e9b6e5c77d4c286d6d49"
737
+ checksum = "1a05d73b933a847d6cccdda8f838a22ff101ad9bf93e33684f39c1f5f0eece3d"
738
+ dependencies = [
739
+ "unicode-ident",
740
+ ]
738
741
 
739
742
  [[package]]
740
743
  name = "windows-core"
@@ -745,6 +748,12 @@ dependencies = [
745
748
  "windows-targets",
746
749
  ]
747
750
 
751
+ [[package]]
752
+ name = "windows-link"
753
+ version = "0.1.0"
754
+ source = "registry+https://github.com/rust-lang/crates.io-index"
755
+ checksum = "6dccfd733ce2b1753b03b6d3c65edf020262ea35e20ccdf3e288043e6dd620e3"
756
+
748
757
  [[package]]
749
758
  name = "windows-sys"
750
759
  version = "0.59.0"
@@ -1,6 +1,6 @@
1
1
  [package]
2
2
  name = "py-promql-parser"
3
- version = "0.4.2"
3
+ version = "0.5.0"
4
4
  edition = "2021"
5
5
  description = "PromQL Parser for Python"
6
6
  license = "MIT"
@@ -14,5 +14,5 @@ crate-type = ["cdylib"]
14
14
 
15
15
  [dependencies]
16
16
  chrono = { version = "0.4.23", default-features = false, features = ["std"] }
17
- promql-parser = "0.4.3"
18
- pyo3 = { version = "0.23.3", features = ["chrono", "generate-import-lib"] }
17
+ promql-parser = "0.5.0"
18
+ pyo3 = { version = "0.24.0", features = ["chrono", "generate-import-lib"] }
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: promql-parser
3
- Version: 0.4.2
3
+ Version: 0.5.0
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -1,186 +0,0 @@
1
- name: CI
2
-
3
- on:
4
- push:
5
- branches:
6
- - main
7
- tags:
8
- - "v*"
9
- pull_request:
10
- workflow_dispatch:
11
-
12
- concurrency:
13
- group: ${{ github.workflow }}-${{ github.ref }}
14
- cancel-in-progress: true
15
-
16
- jobs:
17
- linux:
18
- runs-on: ubuntu-latest
19
- steps:
20
- - uses: actions/checkout@v3
21
- - uses: actions/setup-python@v5
22
- with:
23
- python-version: |
24
- 3.8
25
- 3.9
26
- 3.10
27
- 3.11
28
- 3.12
29
- 3.13
30
- - uses: PyO3/maturin-action@v1
31
- with:
32
- manylinux: auto
33
- args: --release --sdist -o dist --find-interpreter
34
- - uses: PyO3/maturin-action@v1
35
- with:
36
- manylinux: auto
37
- args: --release -o dist -i python3.13t
38
- - name: Upload wheels
39
- uses: actions/upload-artifact@v3
40
- with:
41
- name: wheels
42
- path: dist
43
-
44
- musllinux:
45
- runs-on: ubuntu-latest
46
- strategy:
47
- matrix:
48
- target:
49
- - x86_64-unknown-linux-musl
50
- - i686-unknown-linux-musl
51
- steps:
52
- - uses: actions/checkout@v3
53
- - uses: actions/setup-python@v4
54
- with:
55
- python-version: 3.9
56
- architecture: x64
57
- - name: Build wheels
58
- uses: messense/maturin-action@v1
59
- with:
60
- target: ${{ matrix.target }}
61
- manylinux: musllinux_1_2
62
- args: --release --out dist --find-interpreter
63
- sccache: true
64
- - name: Install built wheel
65
- if: matrix.target == 'x86_64-unknown-linux-musl'
66
- uses: addnab/docker-run-action@v3
67
- with:
68
- image: alpine:latest
69
- options: -v ${{ github.workspace }}:/io -w /io
70
- run: |
71
- apk add py3-virtualenv
72
- python3 -m virtualenv .venv
73
- source .venv/bin/activate
74
- pip install promql_parser --no-index --find-links /io/dist/ --force-reinstall
75
- - name: Upload wheels
76
- uses: actions/upload-artifact@v3
77
- with:
78
- name: wheels
79
- path: dist
80
-
81
- musllinux-cross:
82
- runs-on: ubuntu-latest
83
- strategy:
84
- matrix:
85
- platform:
86
- - target: aarch64-unknown-linux-musl
87
- arch: aarch64
88
- - target: armv7-unknown-linux-musleabihf
89
- arch: armv7
90
- steps:
91
- - uses: actions/checkout@v3
92
- - uses: actions/setup-python@v4
93
- with:
94
- python-version: 3.9
95
- - name: Build wheels
96
- uses: messense/maturin-action@v1
97
- with:
98
- target: ${{ matrix.platform.target }}
99
- manylinux: musllinux_1_2
100
- args: --release --out dist --find-interpreter
101
- sccache: true
102
- - uses: uraimo/run-on-arch-action@v2.8.1
103
- name: Install built wheel
104
- with:
105
- arch: ${{ matrix.platform.arch }}
106
- distro: alpine_latest
107
- githubToken: ${{ github.token }}
108
- install: |
109
- apk add py3-virtualenv
110
- run: |
111
- python3 -m virtualenv .venv
112
- source .venv/bin/activate
113
- pip install promql_parser --no-index --find-links dist/ --force-reinstall
114
- - name: Upload wheels
115
- uses: actions/upload-artifact@v3
116
- with:
117
- name: wheels
118
- path: dist
119
-
120
- windows:
121
- runs-on: windows-latest
122
- steps:
123
- - uses: actions/checkout@v3
124
- - uses: actions/setup-python@v5
125
- with:
126
- python-version: |
127
- 3.8
128
- 3.9
129
- 3.10
130
- 3.11
131
- 3.12
132
- 3.13
133
- - uses: PyO3/maturin-action@v1
134
- with:
135
- args: --release -o dist --find-interpreter
136
- - uses: PyO3/maturin-action@v1
137
- with:
138
- args: --release -o dist -i python3.13t
139
- - name: Upload wheels
140
- uses: actions/upload-artifact@v3
141
- with:
142
- name: wheels
143
- path: dist
144
-
145
- macos:
146
- runs-on: macos-latest
147
- steps:
148
- - uses: actions/checkout@v3
149
- - uses: actions/setup-python@v5
150
- with:
151
- python-version: |
152
- 3.8
153
- 3.9
154
- 3.10
155
- 3.11
156
- 3.12
157
- 3.13
158
- - uses: PyO3/maturin-action@v1
159
- with:
160
- target: universal2-apple-darwin
161
- args: --release -o dist --find-interpreter
162
- - uses: PyO3/maturin-action@v1
163
- with:
164
- args: --release -o dist -i python3.13t
165
- - name: Upload wheels
166
- uses: actions/upload-artifact@v3
167
- with:
168
- name: wheels
169
- path: dist
170
-
171
- release:
172
- name: Release
173
- runs-on: ubuntu-latest
174
- if: "startsWith(github.ref, 'refs/tags/')"
175
- needs: [macos, windows, linux, musllinux-cross, musllinux]
176
- steps:
177
- - uses: actions/download-artifact@v3
178
- with:
179
- name: wheels
180
- - name: Publish to PyPI
181
- uses: PyO3/maturin-action@v1
182
- env:
183
- MATURIN_PYPI_TOKEN: ${{ secrets.PYPI_API_TOKEN }}
184
- with:
185
- command: upload
186
- args: --skip-existing *
File without changes
File without changes
File without changes
File without changes
File without changes