python-calamine 0.6.1__tar.gz → 0.7.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.
Files changed (45) hide show
  1. python_calamine-0.7.0/.github/dependabot.yml +16 -0
  2. {python_calamine-0.6.1 → python_calamine-0.7.0}/.github/workflows/CI.yml +41 -30
  3. {python_calamine-0.6.1 → python_calamine-0.7.0}/Cargo.lock +111 -387
  4. {python_calamine-0.6.1 → python_calamine-0.7.0}/Cargo.toml +5 -5
  5. {python_calamine-0.6.1 → python_calamine-0.7.0}/PKG-INFO +1 -1
  6. {python_calamine-0.6.1 → python_calamine-0.7.0}/pyproject.toml +2 -2
  7. {python_calamine-0.6.1 → python_calamine-0.7.0}/python/python_calamine/_python_calamine.pyi +8 -8
  8. {python_calamine-0.6.1 → python_calamine-0.7.0}/src/lib.rs +1 -1
  9. {python_calamine-0.6.1 → python_calamine-0.7.0}/src/types/sheet.rs +3 -3
  10. {python_calamine-0.6.1 → python_calamine-0.7.0}/src/types/table.rs +1 -1
  11. python_calamine-0.6.1/renovate.json +0 -6
  12. {python_calamine-0.6.1 → python_calamine-0.7.0}/.gitignore +0 -0
  13. {python_calamine-0.6.1 → python_calamine-0.7.0}/.pre-commit-config.yaml +0 -0
  14. {python_calamine-0.6.1 → python_calamine-0.7.0}/LICENSE +0 -0
  15. {python_calamine-0.6.1 → python_calamine-0.7.0}/README.md +0 -0
  16. {python_calamine-0.6.1 → python_calamine-0.7.0}/build.rs +0 -0
  17. {python_calamine-0.6.1 → python_calamine-0.7.0}/python/python_calamine/__init__.py +0 -0
  18. {python_calamine-0.6.1 → python_calamine-0.7.0}/python/python_calamine/py.typed +0 -0
  19. {python_calamine-0.6.1 → python_calamine-0.7.0}/src/types/cell.rs +0 -0
  20. {python_calamine-0.6.1 → python_calamine-0.7.0}/src/types/errors.rs +0 -0
  21. {python_calamine-0.6.1 → python_calamine-0.7.0}/src/types/mod.rs +0 -0
  22. {python_calamine-0.6.1 → python_calamine-0.7.0}/src/types/workbook.rs +0 -0
  23. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/__init__.py +0 -0
  24. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/conftest.py +0 -0
  25. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/data/any_sheets.ods +0 -0
  26. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/data/any_sheets.xls +0 -0
  27. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/data/any_sheets.xlsb +0 -0
  28. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/data/any_sheets.xlsx +0 -0
  29. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/data/base.ods +0 -0
  30. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/data/base.xls +0 -0
  31. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/data/base.xlsb +0 -0
  32. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/data/base.xlsx +0 -0
  33. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/data/empty_file.ods +0 -0
  34. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/data/empty_file.xlsb +0 -0
  35. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/data/empty_file.xlsx +0 -0
  36. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/data/issue139.xlsx +0 -0
  37. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/data/password.ods +0 -0
  38. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/data/password.xls +0 -0
  39. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/data/password.xlsb +0 -0
  40. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/data/password.xlsx +0 -0
  41. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/data/table-multiple.xlsx +0 -0
  42. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/test_base.py +0 -0
  43. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/test_pandas.py +0 -0
  44. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/test_sheet_type.py +0 -0
  45. {python_calamine-0.6.1 → python_calamine-0.7.0}/tests/test_tables.py +0 -0
@@ -0,0 +1,16 @@
1
+ version: 2
2
+
3
+ updates:
4
+ - package-ecosystem: github-actions
5
+ directory: /
6
+ schedule:
7
+ interval: daily
8
+ cooldown:
9
+ default-days: 7
10
+
11
+ - package-ecosystem: cargo
12
+ directory: /
13
+ schedule:
14
+ interval: daily
15
+ cooldown:
16
+ default-days: 7
@@ -11,9 +11,13 @@ on:
11
11
  - "**"
12
12
  pull_request: {}
13
13
 
14
+ permissions: {}
15
+
14
16
  jobs:
15
17
  test:
16
18
  name: test ${{ matrix.python-version }} pandas ${{ matrix.pandas-version }}
19
+ permissions:
20
+ contents: read
17
21
  strategy:
18
22
  fail-fast: false
19
23
  matrix:
@@ -31,9 +35,6 @@ jobs:
31
35
  - python-version: "pypy3.11"
32
36
  pandas-version: "none"
33
37
  # https://github.com/pandas-dev/pandas/issues/60016
34
- - python-version: "3.13t"
35
- pandas-version: "none"
36
- # https://github.com/pandas-dev/pandas/issues/60016
37
38
  - python-version: "3.14t"
38
39
  pandas-version: "none"
39
40
 
@@ -43,29 +44,30 @@ jobs:
43
44
  PYTHON: ${{ matrix.python-version }}
44
45
 
45
46
  steps:
46
- - uses: actions/checkout@v6
47
+ - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
48
+ with:
49
+ persist-credentials: false
47
50
 
48
51
  - name: install rust stable
49
- uses: dtolnay/rust-toolchain@master
52
+ uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
50
53
  with:
51
54
  toolchain: stable
52
55
 
53
56
  - id: cache-rust
54
57
  name: cache rust
55
- uses: Swatinem/rust-cache@v2
58
+ uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
56
59
  with:
57
60
  key: v3
58
61
 
59
62
  - name: set up python
60
- uses: actions/setup-python@v6
61
- if: "${{ !matrix.disable-gil }}"
63
+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
62
64
  with:
63
65
  python-version: ${{ matrix.python-version }}
64
66
  allow-prereleases: true
65
67
 
66
68
  - id: cache-py
67
69
  name: cache python
68
- uses: actions/cache@v4
70
+ uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
69
71
  with:
70
72
  path: ${{ env.pythonLocation }}
71
73
  key: >
@@ -91,24 +93,28 @@ jobs:
91
93
  - run: pytest
92
94
 
93
95
  lint:
96
+ permissions:
97
+ contents: read
94
98
  runs-on: ubuntu-latest
95
99
 
96
100
  steps:
97
- - uses: actions/checkout@v6
101
+ - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
102
+ with:
103
+ persist-credentials: false
98
104
 
99
105
  - name: install rust stable
100
- uses: dtolnay/rust-toolchain@stable
106
+ uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
101
107
  with:
102
108
  components: rustfmt, clippy
103
109
 
104
110
  - name: cache rust
105
- uses: Swatinem/rust-cache@v2
111
+ uses: Swatinem/rust-cache@c19371144df3bb44fab255c43d04cbc2ab54d1c4 # v2.9.1
106
112
 
107
- - uses: actions/setup-python@v6
113
+ - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
108
114
  with:
109
115
  python-version: "3.14"
110
116
 
111
- - uses: actions/cache@v4
117
+ - uses: actions/cache@27d5ce7f107fe9357f9df03efb73ab90386fccae # v5.0.5
112
118
  id: cache-py
113
119
  name: cache python
114
120
  with:
@@ -134,12 +140,14 @@ jobs:
134
140
  runs-on: ubuntu-latest
135
141
  steps:
136
142
  - name: Decide whether the needed jobs succeeded or failed
137
- uses: re-actors/alls-green@release/v1
143
+ uses: re-actors/alls-green@05ac9388f0aebcb5727afa17fcccfecd6f8ec5fe # v1.2.2
138
144
  with:
139
145
  jobs: ${{ toJSON(needs) }}
140
146
 
141
147
  build:
142
148
  name: build on ${{ matrix.os }} (${{ matrix.target }} - ${{ matrix.interpreter || 'all' }}${{ matrix.os == 'linux' && format(' - {0}', matrix.manylinux == 'auto' && 'manylinux' || matrix.manylinux) || '' }})
149
+ permissions:
150
+ contents: read
143
151
  if: success()
144
152
  strategy:
145
153
  fail-fast: false
@@ -161,15 +169,15 @@ jobs:
161
169
  - os: linux
162
170
  manylinux: auto
163
171
  target: armv7
164
- interpreter: 3.10 3.11 3.12 3.13 3.13t 3.14 3.14t
172
+ interpreter: 3.10 3.11 3.12 3.13 3.14 3.14t
165
173
  - os: linux
166
174
  manylinux: auto
167
175
  target: ppc64le
168
- interpreter: 3.10 3.11 3.12 3.13 3.13t 3.14 3.14t
176
+ interpreter: 3.10 3.11 3.12 3.13 3.14 3.14t
169
177
  - os: linux
170
178
  manylinux: auto
171
179
  target: s390x
172
- interpreter: 3.10 3.11 3.12 3.13 3.13t 3.14 3.14t
180
+ interpreter: 3.10 3.11 3.12 3.13 3.14 3.14t
173
181
 
174
182
  # musllinux
175
183
  - os: linux
@@ -191,13 +199,14 @@ jobs:
191
199
  # windows
192
200
  - os: windows
193
201
  target: x86_64
202
+ interpreter: 3.10 3.11 3.12 3.13 3.14 3.14t
194
203
  - os: windows
195
204
  target: i686
196
205
  interpreter: 3.10 3.11 3.12 3.13 3.14
197
206
  - os: windows
198
207
  target: aarch64
199
208
  runs-on: windows-11-arm
200
- interpreter: 3.11 3.12 3.13 3.13t 3.14 3.14t
209
+ interpreter: 3.11 3.12 3.13 3.14 3.14t
201
210
 
202
211
  exclude:
203
212
  # was just a dummy variable to set a default value for target
@@ -205,39 +214,41 @@ jobs:
205
214
 
206
215
  runs-on: ${{ matrix.runs-on || format('{0}-latest', (matrix.os == 'linux' && 'ubuntu') || matrix.os) }}
207
216
  steps:
208
- - uses: actions/checkout@v6
217
+ - uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
218
+ with:
219
+ persist-credentials: false
209
220
 
210
221
  - name: set up python
211
- uses: actions/setup-python@v6
222
+ uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
212
223
  with:
213
224
  python-version: "3.14"
214
225
 
215
226
  - name: install rust stable
216
- uses: dtolnay/rust-toolchain@stable
227
+ uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable
217
228
 
218
229
  - run: pip install -U twine
219
230
 
220
231
  - name: build sdist
221
232
  if: ${{ matrix.os == 'linux' && matrix.target == 'x86_64' && matrix.manylinux == 'auto' }}
222
- uses: PyO3/maturin-action@v1
233
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
223
234
  with:
224
235
  command: sdist
225
236
  args: --out dist
226
237
  rust-toolchain: stable
227
238
 
228
239
  - name: build wheels
229
- uses: PyO3/maturin-action@v1
240
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
230
241
  with:
231
242
  target: ${{ matrix.target }}
232
243
  manylinux: ${{ matrix.manylinux || 'auto' }}
233
- args: --release --out dist --interpreter ${{ matrix.interpreter || '3.10 3.11 3.12 3.13 3.13t 3.14 3.14t pypy3.11' }}
244
+ args: --release --out dist --interpreter ${{ matrix.interpreter || '3.10 3.11 3.12 3.13 3.14 3.14t pypy3.11' }}
234
245
  rust-toolchain: stable
235
246
 
236
247
  - run: ${{ (matrix.os == 'windows' && 'dir') || 'ls -lh' }} dist/
237
248
 
238
249
  - run: twine check --strict dist/*
239
250
 
240
- - uses: actions/upload-artifact@v5
251
+ - uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
241
252
  with:
242
253
  name: wheels-${{ matrix.os }}-${{ matrix.target }}-${{ matrix.manylinux || 'auto' }}
243
254
  path: dist
@@ -257,14 +268,14 @@ jobs:
257
268
 
258
269
  steps:
259
270
  - name: Download All Artifacts
260
- uses: actions/download-artifact@v6
271
+ uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
261
272
  with:
262
273
  path: dist
263
274
  pattern: wheels-*
264
275
  merge-multiple: true
265
276
 
266
277
  - name: Publish package distributions to PyPI
267
- uses: pypa/gh-action-pypi-publish@release/v1
278
+ uses: pypa/gh-action-pypi-publish@cef221092ed1bacb1cc03d23a2d87d1d172e277b # release/v1.14
268
279
 
269
280
  gh-release:
270
281
  needs: [build, check]
@@ -277,14 +288,14 @@ jobs:
277
288
 
278
289
  steps:
279
290
  - name: Download All Artifacts
280
- uses: actions/download-artifact@v6
291
+ uses: actions/download-artifact@3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c # v8.0.1
281
292
  with:
282
293
  path: dist
283
294
  pattern: wheels-*
284
295
  merge-multiple: true
285
296
 
286
297
  - name: Upload to GitHub
287
- uses: softprops/action-gh-release@v2
298
+ uses: softprops/action-gh-release@b4309332981a82ec1c5618f44dd2e27cc8bfbfda # v3.0.0
288
299
  with:
289
300
  generate_release_notes: true
290
301
  files: |