python-calamine 0.2.0__tar.gz → 0.2.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.
- {python_calamine-0.2.0 → python_calamine-0.2.3}/.github/workflows/CI.yml +33 -20
- {python_calamine-0.2.0 → python_calamine-0.2.3}/Cargo.lock +261 -261
- {python_calamine-0.2.0 → python_calamine-0.2.3}/Cargo.toml +6 -6
- {python_calamine-0.2.0 → python_calamine-0.2.3}/PKG-INFO +2 -2
- {python_calamine-0.2.0 → python_calamine-0.2.3}/poetry.lock +51 -41
- {python_calamine-0.2.0 → python_calamine-0.2.3}/pyproject.toml +2 -2
- {python_calamine-0.2.0 → python_calamine-0.2.3}/python/python_calamine/_python_calamine.pyi +16 -0
- python_calamine-0.2.3/renovate.json +6 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/src/lib.rs +9 -6
- {python_calamine-0.2.0 → python_calamine-0.2.3}/src/types/cell.rs +1 -1
- {python_calamine-0.2.0 → python_calamine-0.2.3}/src/types/sheet.rs +60 -9
- {python_calamine-0.2.0 → python_calamine-0.2.3}/src/types/workbook.rs +15 -6
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/test_base.py +24 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/.gitignore +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/.pre-commit-config.yaml +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/LICENSE +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/README.md +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/build.rs +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/python/python_calamine/__init__.py +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/python/python_calamine/pandas.py +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/python/python_calamine/py.typed +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/src/types/mod.rs +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/src/utils.rs +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/__init__.py +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/conftest.py +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/data/any_sheets.ods +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/data/any_sheets.xls +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/data/any_sheets.xlsb +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/data/any_sheets.xlsx +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/data/base.ods +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/data/base.xls +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/data/base.xlsb +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/data/base.xlsx +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/data/empty_file.ods +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/data/empty_file.xlsb +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/data/empty_file.xlsx +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/data/password.ods +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/data/password.xls +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/data/password.xlsb +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/data/password.xlsx +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/test_pandas.py +0 -0
- {python_calamine-0.2.0 → python_calamine-0.2.3}/tests/test_sheet_type.py +0 -0
|
@@ -13,7 +13,7 @@ on:
|
|
|
13
13
|
|
|
14
14
|
jobs:
|
|
15
15
|
test:
|
|
16
|
-
name: test ${{ matrix.python-version }} pandas ${{ matrix.pandas-version }}
|
|
16
|
+
name: test ${{ matrix.python-version }} pandas ${{ matrix.pandas-version }} ${{ matrix.disable-gil && 'free-threaded' || '' }}
|
|
17
17
|
strategy:
|
|
18
18
|
fail-fast: false
|
|
19
19
|
matrix:
|
|
@@ -23,12 +23,9 @@ jobs:
|
|
|
23
23
|
- '3.11'
|
|
24
24
|
- '3.12'
|
|
25
25
|
pandas-version:
|
|
26
|
-
- '2.0.*'
|
|
27
26
|
- '2.1.*'
|
|
28
27
|
- '2.2.*'
|
|
29
28
|
include:
|
|
30
|
-
- python-version: '3.8'
|
|
31
|
-
pandas-version: '2.0.*'
|
|
32
29
|
# https://github.com/pandas-dev/pandas/issues/42509
|
|
33
30
|
- python-version: 'pypy3.8'
|
|
34
31
|
pandas-version: 'none'
|
|
@@ -38,6 +35,13 @@ jobs:
|
|
|
38
35
|
# https://github.com/pandas-dev/pandas/issues/42509
|
|
39
36
|
- python-version: 'pypy3.10'
|
|
40
37
|
pandas-version: 'none'
|
|
38
|
+
# https://github.com/pandas-dev/pandas/issues/58734
|
|
39
|
+
- python-version: '3.13'
|
|
40
|
+
pandas-version: 'none'
|
|
41
|
+
# https://github.com/pandas-dev/pandas/issues/58734
|
|
42
|
+
# - python-version: '3.13'
|
|
43
|
+
# pandas-version: 'none'
|
|
44
|
+
# disable-gil: true
|
|
41
45
|
|
|
42
46
|
runs-on: ubuntu-latest
|
|
43
47
|
|
|
@@ -59,14 +63,22 @@ jobs:
|
|
|
59
63
|
key: v3
|
|
60
64
|
|
|
61
65
|
- name: set up python
|
|
62
|
-
uses: actions/setup-python@
|
|
66
|
+
uses: actions/setup-python@v5
|
|
67
|
+
if: "${{ !matrix.disable-gil }}"
|
|
63
68
|
with:
|
|
64
69
|
python-version: ${{ matrix.python-version }}
|
|
65
70
|
allow-prereleases: true
|
|
66
71
|
|
|
72
|
+
- name: set up python (free-threaded)
|
|
73
|
+
uses: deadsnakes/action@v3.1.0
|
|
74
|
+
if: "${{ matrix.disable-gil }}"
|
|
75
|
+
with:
|
|
76
|
+
python-version: ${{ matrix.python-version }}
|
|
77
|
+
nogil: ${{ matrix.disable-gil }}
|
|
78
|
+
|
|
67
79
|
- id: cache-py
|
|
68
80
|
name: cache python
|
|
69
|
-
uses: actions/cache@
|
|
81
|
+
uses: actions/cache@v4
|
|
70
82
|
with:
|
|
71
83
|
path: ${{ env.pythonLocation }}
|
|
72
84
|
key: >
|
|
@@ -104,11 +116,11 @@ jobs:
|
|
|
104
116
|
- name: cache rust
|
|
105
117
|
uses: Swatinem/rust-cache@v2
|
|
106
118
|
|
|
107
|
-
- uses: actions/setup-python@
|
|
119
|
+
- uses: actions/setup-python@v5
|
|
108
120
|
with:
|
|
109
121
|
python-version: '3.11'
|
|
110
122
|
|
|
111
|
-
- uses: actions/cache@
|
|
123
|
+
- uses: actions/cache@v4
|
|
112
124
|
id: cache-py
|
|
113
125
|
name: cache python
|
|
114
126
|
with:
|
|
@@ -156,11 +168,11 @@ jobs:
|
|
|
156
168
|
ls: dir
|
|
157
169
|
target: i686
|
|
158
170
|
python-architecture: x86
|
|
159
|
-
interpreter: 3.8 3.9 3.10 3.11 3.12
|
|
171
|
+
interpreter: 3.8 3.9 3.10 3.11 3.12 3.13
|
|
160
172
|
- os: windows
|
|
161
173
|
ls: dir
|
|
162
174
|
target: aarch64
|
|
163
|
-
interpreter: 3.11 3.12
|
|
175
|
+
interpreter: 3.11 3.12 3.13
|
|
164
176
|
- os: ubuntu
|
|
165
177
|
platform: linux
|
|
166
178
|
target: i686
|
|
@@ -170,7 +182,7 @@ jobs:
|
|
|
170
182
|
- os: ubuntu
|
|
171
183
|
platform: linux
|
|
172
184
|
target: armv7
|
|
173
|
-
interpreter: 3.8 3.9 3.10 3.11 3.12
|
|
185
|
+
interpreter: 3.8 3.9 3.10 3.11 3.12 3.13
|
|
174
186
|
# musllinux
|
|
175
187
|
- os: ubuntu
|
|
176
188
|
platform: linux
|
|
@@ -183,11 +195,11 @@ jobs:
|
|
|
183
195
|
- os: ubuntu
|
|
184
196
|
platform: linux
|
|
185
197
|
target: ppc64le
|
|
186
|
-
interpreter: 3.8 3.9 3.10 3.11 3.12
|
|
198
|
+
interpreter: 3.8 3.9 3.10 3.11 3.12 3.13
|
|
187
199
|
- os: ubuntu
|
|
188
200
|
platform: linux
|
|
189
201
|
target: s390x
|
|
190
|
-
interpreter: 3.8 3.9 3.10 3.11 3.12
|
|
202
|
+
interpreter: 3.8 3.9 3.10 3.11 3.12 3.13
|
|
191
203
|
exclude:
|
|
192
204
|
# Windows on arm64 only supports Python 3.11+
|
|
193
205
|
- os: windows
|
|
@@ -198,7 +210,7 @@ jobs:
|
|
|
198
210
|
- uses: actions/checkout@v4
|
|
199
211
|
|
|
200
212
|
- name: set up python
|
|
201
|
-
uses: actions/setup-python@
|
|
213
|
+
uses: actions/setup-python@v5
|
|
202
214
|
with:
|
|
203
215
|
python-version: '3.11'
|
|
204
216
|
architecture: ${{ matrix.python-architecture || 'x64' }}
|
|
@@ -218,16 +230,16 @@ jobs:
|
|
|
218
230
|
with:
|
|
219
231
|
target: ${{ matrix.target }}
|
|
220
232
|
manylinux: ${{ matrix.manylinux || 'auto' }}
|
|
221
|
-
args: --release --out dist --interpreter ${{ matrix.interpreter || '3.8 3.9 3.10 3.11 3.12 pypy3.8 pypy3.9 pypy3.10' }}
|
|
233
|
+
args: --release --out dist --interpreter ${{ matrix.interpreter || '3.8 3.9 3.10 3.11 3.12 3.13 pypy3.8 pypy3.9 pypy3.10' }}
|
|
222
234
|
rust-toolchain: stable
|
|
223
235
|
|
|
224
236
|
- run: ${{ matrix.ls || 'ls -lh' }} dist/
|
|
225
237
|
|
|
226
238
|
- run: twine check --strict dist/*
|
|
227
239
|
|
|
228
|
-
- uses: actions/upload-artifact@
|
|
240
|
+
- uses: actions/upload-artifact@v4
|
|
229
241
|
with:
|
|
230
|
-
name: wheels
|
|
242
|
+
name: wheels-${{ matrix.platform || matrix.os }}-${{ matrix.target }}-${{ matrix.manylinux || 'auto' }}
|
|
231
243
|
path: dist
|
|
232
244
|
|
|
233
245
|
release:
|
|
@@ -239,17 +251,18 @@ jobs:
|
|
|
239
251
|
- uses: actions/checkout@v4
|
|
240
252
|
|
|
241
253
|
- name: set up python
|
|
242
|
-
uses: actions/setup-python@
|
|
254
|
+
uses: actions/setup-python@v5
|
|
243
255
|
with:
|
|
244
256
|
python-version: '3.10'
|
|
245
257
|
|
|
246
258
|
- run: pip install -U twine
|
|
247
259
|
|
|
248
260
|
- name: get dist artifacts
|
|
249
|
-
uses: actions/download-artifact@
|
|
261
|
+
uses: actions/download-artifact@v4
|
|
250
262
|
with:
|
|
251
|
-
name: wheels
|
|
252
263
|
path: dist
|
|
264
|
+
pattern: wheels-*
|
|
265
|
+
merge-multiple: true
|
|
253
266
|
|
|
254
267
|
- run: twine check dist/*
|
|
255
268
|
|