promql-parser 0.4.2__tar.gz → 0.6.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.
- promql_parser-0.6.0/.github/dependabot.yml +19 -0
- promql_parser-0.6.0/.github/workflows/CI.yml +182 -0
- {promql_parser-0.4.2 → promql_parser-0.6.0}/Cargo.lock +245 -178
- {promql_parser-0.4.2 → promql_parser-0.6.0}/Cargo.toml +5 -5
- {promql_parser-0.4.2 → promql_parser-0.6.0}/PKG-INFO +1 -3
- {promql_parser-0.4.2 → promql_parser-0.6.0}/pyproject.toml +1 -1
- {promql_parser-0.4.2 → promql_parser-0.6.0}/src/expr.rs +21 -21
- {promql_parser-0.4.2 → promql_parser-0.6.0}/src/lib.rs +1 -1
- promql_parser-0.4.2/.github/workflows/CI.yml +0 -186
- {promql_parser-0.4.2 → promql_parser-0.6.0}/.gitignore +0 -0
- {promql_parser-0.4.2 → promql_parser-0.6.0}/LICENSE +0 -0
- {promql_parser-0.4.2 → promql_parser-0.6.0}/README.md +0 -0
- {promql_parser-0.4.2 → promql_parser-0.6.0}/promql_parser.pyi +0 -0
- {promql_parser-0.4.2 → promql_parser-0.6.0}/test_promql_parser.py +0 -0
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# To get started with Dependabot version updates, you'll need to specify which
|
|
2
|
+
# package ecosystems to update and where the package manifests are located.
|
|
3
|
+
# Please see the documentation for all configuration options:
|
|
4
|
+
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates
|
|
5
|
+
|
|
6
|
+
version: 2
|
|
7
|
+
updates:
|
|
8
|
+
- package-ecosystem: "cargo" # See documentation for possible values
|
|
9
|
+
directory: "/" # Location of package manifests
|
|
10
|
+
schedule:
|
|
11
|
+
interval: "monthly"
|
|
12
|
+
- package-ecosystem: "github-actions"
|
|
13
|
+
directory: "/"
|
|
14
|
+
groups:
|
|
15
|
+
github-actions:
|
|
16
|
+
patterns:
|
|
17
|
+
- "*" # Group all Actions updates into a single larger pull request
|
|
18
|
+
schedule:
|
|
19
|
+
interval: "monthly"
|
|
@@ -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@v6
|
|
40
|
+
- uses: actions/setup-python@v6
|
|
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.10 3.11 3.12 3.13 3.14 3.14t pypy3.11
|
|
48
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
49
|
+
manylinux: auto
|
|
50
|
+
- name: Upload wheels
|
|
51
|
+
uses: actions/upload-artifact@v5
|
|
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@v6
|
|
71
|
+
- uses: actions/setup-python@v6
|
|
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.10 3.11 3.12 3.13 3.14 3.14t pypy3.11
|
|
79
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
80
|
+
manylinux: musllinux_1_2
|
|
81
|
+
- name: Upload wheels
|
|
82
|
+
uses: actions/upload-artifact@v5
|
|
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.10 3.11 3.12 3.13 3.14 3.14t pypy3.11
|
|
95
|
+
- runner: windows-latest
|
|
96
|
+
target: x86
|
|
97
|
+
interpreter: 3.10 3.11 3.12 3.13 3.14 3.14t
|
|
98
|
+
steps:
|
|
99
|
+
- uses: actions/checkout@v6
|
|
100
|
+
- uses: actions/setup-python@v6
|
|
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@v5
|
|
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-15-intel
|
|
122
|
+
target: x86_64
|
|
123
|
+
- runner: macos-latest
|
|
124
|
+
target: aarch64
|
|
125
|
+
steps:
|
|
126
|
+
- uses: actions/checkout@v6
|
|
127
|
+
- uses: actions/setup-python@v6
|
|
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.10 3.11 3.12 3.13 3.14 3.14t pypy3.11
|
|
135
|
+
sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
|
|
136
|
+
- name: Upload wheels
|
|
137
|
+
uses: actions/upload-artifact@v5
|
|
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@v6
|
|
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@v5
|
|
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@v6
|
|
171
|
+
- name: Generate artifact attestation
|
|
172
|
+
uses: actions/attest-build-provenance@v3
|
|
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-*/*
|