spyrrow 0.7.0__tar.gz → 0.7.3__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.

Potentially problematic release.


This version of spyrrow might be problematic. Click here for more details.

@@ -0,0 +1,5 @@
1
+ # Treat all Rust files as vendored (excluded from language stats)
2
+ *.rs linguist-vendored
3
+
4
+ # Ensure Python files are counted
5
+ *.py linguist-detectable=true
@@ -22,6 +22,7 @@ jobs:
22
22
  linux:
23
23
  runs-on: ${{ matrix.platform.runner }}
24
24
  strategy:
25
+ fail-fast: false
25
26
  matrix:
26
27
  platform:
27
28
  - runner: ubuntu-22.04
@@ -32,10 +33,6 @@ jobs:
32
33
  target: aarch64
33
34
  - runner: ubuntu-22.04
34
35
  target: armv7
35
- - runner: ubuntu-22.04
36
- target: s390x
37
- - runner: ubuntu-22.04
38
- target: ppc64le
39
36
  steps:
40
37
  - uses: actions/checkout@v4
41
38
  - uses: actions/setup-python@v5
@@ -62,7 +59,8 @@ jobs:
62
59
  source .venv/bin/activate
63
60
  pip install spyrrow --find-links dist --force-reinstall
64
61
  pip install pytest
65
- pytest
62
+ pip install pytest-xdist
63
+ pytest -n auto
66
64
  - name: pytest
67
65
  if: ${{ !startsWith(matrix.platform.target, 'x86') && matrix.platform.target != 'ppc64' }}
68
66
  uses: uraimo/run-on-arch-action@v2
@@ -73,15 +71,61 @@ jobs:
73
71
  install: |
74
72
  apt-get update
75
73
  apt-get install -y --no-install-recommends python3 python3-pip
76
- pip3 install -U pip pytest
74
+ pip3 install -U pip pytest pytest-xdist
77
75
  run: |
78
76
  set -e
79
77
  pip3 install spyrrow --find-links dist --force-reinstall
80
- pytest
78
+ pytest -n auto
81
79
 
80
+ linux-ibm:
81
+ runs-on: ${{ matrix.platform.runner }}
82
+ continue-on-error: true
83
+ strategy:
84
+ fail-fast: false
85
+ matrix:
86
+ platform:
87
+ - runner: ubuntu-22.04
88
+ target: s390x
89
+ optional: true
90
+ - runner: ubuntu-22.04
91
+ target: ppc64le
92
+ optional: true
93
+ steps:
94
+ - uses: actions/checkout@v4
95
+ - uses: actions/setup-python@v5
96
+ with:
97
+ python-version: 3.x
98
+ - name: Build wheels
99
+ uses: PyO3/maturin-action@v1
100
+ with:
101
+ target: ${{ matrix.platform.target }}
102
+ args: --release --out dist --find-interpreter
103
+ sccache: ${{ !startsWith(github.ref, 'refs/tags/') }}
104
+ manylinux: auto
105
+ - name: Upload wheels
106
+ uses: actions/upload-artifact@v4
107
+ with:
108
+ name: wheels-linux-${{ matrix.platform.target }}
109
+ path: dist
110
+ - name: pytest
111
+ if: ${{ !startsWith(matrix.platform.target, 'x86') && matrix.platform.target != 'ppc64' }}
112
+ uses: uraimo/run-on-arch-action@v2
113
+ with:
114
+ arch: ${{ matrix.platform.target }}
115
+ distro: ubuntu22.04
116
+ githubToken: ${{ github.token }}
117
+ install: |
118
+ apt-get update
119
+ apt-get install -y --no-install-recommends python3 python3-pip
120
+ pip3 install -U pip pytest
121
+ run: |
122
+ set -e
123
+ pip3 install spyrrow --find-links dist --force-reinstall
124
+ pytest
82
125
  musllinux:
83
126
  runs-on: ${{ matrix.platform.runner }}
84
127
  strategy:
128
+ fail-fast: false
85
129
  matrix:
86
130
  platform:
87
131
  - runner: ubuntu-22.04
@@ -122,7 +166,8 @@ jobs:
122
166
  source .venv/bin/activate
123
167
  pip install spyrrow --no-index --find-links dist --force-reinstall
124
168
  pip install pytest
125
- pytest
169
+ pip install pytest-xdist
170
+ pytest -n auto
126
171
  - name: pytest
127
172
  if: ${{ !startsWith(matrix.platform.target, 'x86') }}
128
173
  uses: uraimo/run-on-arch-action@v2
@@ -137,8 +182,9 @@ jobs:
137
182
  python3 -m virtualenv .venv
138
183
  source .venv/bin/activate
139
184
  pip install pytest
185
+ pip install pytest-xdist
140
186
  pip install spyrrow --find-links dist --force-reinstall
141
- pytest
187
+ pytest -n auto
142
188
 
143
189
  windows:
144
190
  runs-on: ${{ matrix.platform.runner }}
@@ -175,7 +221,8 @@ jobs:
175
221
  source .venv/Scripts/activate
176
222
  pip install spyrrow --find-links dist --force-reinstall
177
223
  pip install pytest
178
- pytest
224
+ pip install pytest-xdist[psutil]
225
+ pytest -n auto
179
226
 
180
227
  macos:
181
228
  runs-on: ${{ matrix.platform.runner }}
@@ -209,7 +256,8 @@ jobs:
209
256
  source .venv/bin/activate
210
257
  pip install spyrrow --find-links dist --force-reinstall
211
258
  pip install pytest
212
- pytest
259
+ pip install pytest-xdist[psutil]
260
+ pytest -n auto
213
261
 
214
262
  sdist:
215
263
  runs-on: ubuntu-latest
@@ -225,6 +273,16 @@ jobs:
225
273
  with:
226
274
  name: wheels-sdist
227
275
  path: dist
276
+
277
+ pre-release:
278
+ name: Pre-Release
279
+ runs-on: ubuntu-latest
280
+ needs: [linux, musllinux, windows, macos, sdist]
281
+ steps:
282
+ - name: echo
283
+ shell: bash
284
+ run: |
285
+ echo "All meaning full tests are done"
228
286
 
229
287
  release:
230
288
  name: Release
@@ -0,0 +1,20 @@
1
+ # https://docs.readthedocs.io/en/stable/config-file/v2.html#supported-settings
2
+
3
+ version: 2
4
+
5
+ sphinx:
6
+ builder: html
7
+ configuration: docs/conf.py
8
+
9
+ build:
10
+ os: "ubuntu-24.04"
11
+ tools:
12
+ python: "3.12"
13
+ jobs:
14
+ install:
15
+ - pip install sphinx
16
+ - pip install spyrrow
17
+ # python:
18
+ # install:
19
+ # - method: pip
20
+ # path: .