promql-parser 0.4.0__tar.gz → 0.4.2__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.
- {promql_parser-0.4.0 → promql_parser-0.4.2}/.github/workflows/CI.yml +69 -32
- {promql_parser-0.4.0 → promql_parser-0.4.2}/Cargo.lock +265 -153
- {promql_parser-0.4.0 → promql_parser-0.4.2}/Cargo.toml +3 -3
- {promql_parser-0.4.0 → promql_parser-0.4.2}/PKG-INFO +3 -3
- promql_parser-0.4.2/promql_parser.pyi +269 -0
- {promql_parser-0.4.0 → promql_parser-0.4.2}/pyproject.toml +5 -1
- {promql_parser-0.4.0 → promql_parser-0.4.2}/src/expr.rs +22 -22
- {promql_parser-0.4.0 → promql_parser-0.4.2}/src/lib.rs +4 -4
- {promql_parser-0.4.0 → promql_parser-0.4.2}/.gitignore +0 -0
- {promql_parser-0.4.0 → promql_parser-0.4.2}/LICENSE +0 -0
- {promql_parser-0.4.0 → promql_parser-0.4.2}/README.md +0 -0
- {promql_parser-0.4.0 → promql_parser-0.4.2}/test_promql_parser.py +0 -0
|
@@ -5,7 +5,7 @@ on:
|
|
|
5
5
|
branches:
|
|
6
6
|
- main
|
|
7
7
|
tags:
|
|
8
|
-
-
|
|
8
|
+
- "v*"
|
|
9
9
|
pull_request:
|
|
10
10
|
workflow_dispatch:
|
|
11
11
|
|
|
@@ -17,16 +17,29 @@ jobs:
|
|
|
17
17
|
linux:
|
|
18
18
|
runs-on: ubuntu-latest
|
|
19
19
|
steps:
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
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
|
|
30
43
|
|
|
31
44
|
musllinux:
|
|
32
45
|
runs-on: ubuntu-latest
|
|
@@ -46,7 +59,7 @@ jobs:
|
|
|
46
59
|
with:
|
|
47
60
|
target: ${{ matrix.target }}
|
|
48
61
|
manylinux: musllinux_1_2
|
|
49
|
-
args: --release --out dist -
|
|
62
|
+
args: --release --out dist --find-interpreter
|
|
50
63
|
sccache: true
|
|
51
64
|
- name: Install built wheel
|
|
52
65
|
if: matrix.target == 'x86_64-unknown-linux-musl'
|
|
@@ -86,7 +99,7 @@ jobs:
|
|
|
86
99
|
manylinux: musllinux_1_2
|
|
87
100
|
args: --release --out dist --find-interpreter
|
|
88
101
|
sccache: true
|
|
89
|
-
- uses: uraimo/run-on-arch-action@v2.
|
|
102
|
+
- uses: uraimo/run-on-arch-action@v2.8.1
|
|
90
103
|
name: Install built wheel
|
|
91
104
|
with:
|
|
92
105
|
arch: ${{ matrix.platform.arch }}
|
|
@@ -107,29 +120,53 @@ jobs:
|
|
|
107
120
|
windows:
|
|
108
121
|
runs-on: windows-latest
|
|
109
122
|
steps:
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
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
|
|
119
144
|
|
|
120
145
|
macos:
|
|
121
146
|
runs-on: macos-latest
|
|
122
147
|
steps:
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
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
|
|
133
170
|
|
|
134
171
|
release:
|
|
135
172
|
name: Release
|