unicode-segmentation-rs 0.2.2__tar.gz → 0.2.4__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 (33) hide show
  1. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/.github/workflows/ci.yml +23 -28
  2. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/.github/workflows/pre-commit.yml +2 -2
  3. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/.pre-commit-config.yaml +3 -3
  4. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/Cargo.lock +17 -17
  5. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/Cargo.toml +2 -2
  6. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/PKG-INFO +1 -1
  7. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/pyproject.toml +2 -2
  8. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/.editorconfig +0 -0
  9. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/.github/FUNDING.yml +0 -0
  10. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  11. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  12. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  13. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  14. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/.github/PULL_REQUEST_TEMPLATE.md.license +0 -0
  15. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/.github/release.yml +0 -0
  16. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/.github/renovate.json +0 -0
  17. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/.github/renovate.json.license +0 -0
  18. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/.github/workflows/dependency-review.yml +0 -0
  19. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/.github/workflows/pull_requests.yaml +0 -0
  20. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/.gitignore +0 -0
  21. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/.markdownlint.yml +0 -0
  22. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/.yamllint.yml +0 -0
  23. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/LICENSE +0 -0
  24. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/LICENSES/CC0-1.0.txt +0 -0
  25. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/LICENSES/MIT.txt +0 -0
  26. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/README.md +0 -0
  27. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/REUSE.toml +0 -0
  28. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/SECURITY.md +0 -0
  29. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/src/lib.rs +0 -0
  30. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/tests/test_gettext_wrap.py +0 -0
  31. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/tests/test_readme_examples.py +0 -0
  32. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/tests/test_unicode_segmentation.py +0 -0
  33. {unicode_segmentation_rs-0.2.2 → unicode_segmentation_rs-0.2.4}/unicode_segmentation_rs.pyi +0 -0
@@ -46,12 +46,12 @@ jobs:
46
46
  id: setup_python
47
47
  with:
48
48
  python-version: ${{ matrix.python-version }}
49
- - uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0 # zizmor: ignore[cache-poisoning]
49
+ - uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0 # zizmor: ignore[cache-poisoning]
50
50
  # The cache is stored only on main branch and not used for publishing
51
51
  with:
52
52
  save-cache: ${{ github.ref == 'refs/heads/main' }}
53
53
  cache-suffix: ${{ steps.setup_python.outputs.python-version }}
54
- version: 0.11.2
54
+ version: 0.11.6
55
55
  activate-environment: 'true'
56
56
  - run: uv sync
57
57
  - name: Run tests
@@ -80,25 +80,23 @@ jobs:
80
80
  - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
81
81
  with:
82
82
  persist-credentials: false
83
- - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
84
- with:
85
- python-version: 3.x
86
83
  - name: Build wheels
87
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
84
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
88
85
  with:
89
86
  target: ${{ matrix.platform.target }}
90
- args: --release --out dist
87
+ # Build the stable-ABI wheel against CPython 3.10 so it is tagged cp310-abi3 everywhere.
88
+ args: --release --out dist -i python3.10
91
89
  sccache: false
92
90
  manylinux: auto
93
91
  - name: Build free-threaded wheels
94
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
92
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
95
93
  with:
96
94
  target: ${{ matrix.platform.target }}
97
95
  args: --release --out dist -i python3.14t
98
96
  sccache: false
99
97
  manylinux: auto
100
98
  - name: Build free-threaded wheels
101
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
99
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
102
100
  with:
103
101
  target: ${{ matrix.platform.target }}
104
102
  args: --release --out dist -i python3.13t
@@ -128,18 +126,15 @@ jobs:
128
126
  - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
129
127
  with:
130
128
  persist-credentials: false
131
- - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
132
- with:
133
- python-version: 3.x
134
129
  - name: Build wheels
135
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
130
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
136
131
  with:
137
132
  target: ${{ matrix.platform.target }}
138
- args: --release --out dist
133
+ args: --release --out dist -i python3.10
139
134
  sccache: false
140
135
  manylinux: musllinux_1_2
141
136
  - name: Build free-threaded wheels
142
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
137
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
143
138
  with:
144
139
  target: ${{ matrix.platform.target }}
145
140
  args: --release --out dist -i python3.13t
@@ -147,7 +142,7 @@ jobs:
147
142
  sccache: false
148
143
  manylinux: musllinux_1_2
149
144
  - name: Build free-threaded wheels
150
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
145
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
151
146
  with:
152
147
  target: ${{ matrix.platform.target }}
153
148
  args: --release --out dist -i python3.14t
@@ -176,26 +171,26 @@ jobs:
176
171
  persist-credentials: false
177
172
  - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
178
173
  with:
179
- python-version: 3.x
174
+ python-version: '3.10'
180
175
  architecture: ${{ matrix.platform.target }}
181
176
  - name: Build wheels
182
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
177
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
183
178
  with:
184
179
  target: ${{ matrix.platform.target }}
185
- args: --release --out dist
180
+ args: --release --out dist -i python
186
181
  sccache: false
187
182
  - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
188
183
  with:
189
184
  python-version: 3.13t
190
185
  architecture: ${{ matrix.platform.target }}
191
186
  - name: Build free-threaded wheels
192
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
187
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
193
188
  with:
194
189
  target: ${{ matrix.platform.target }}
195
190
  args: --release --out dist -i python3.13t
196
191
  sccache: false
197
192
  - name: Build free-threaded wheels
198
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
193
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
199
194
  with:
200
195
  target: ${{ matrix.platform.target }}
201
196
  args: --release --out dist -i python3.14t
@@ -222,22 +217,22 @@ jobs:
222
217
  persist-credentials: false
223
218
  - uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
224
219
  with:
225
- python-version: 3.x
220
+ python-version: '3.10'
226
221
  - name: Build wheels
227
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
222
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
228
223
  with:
229
224
  target: ${{ matrix.platform.target }}
230
- args: --release --out dist
225
+ args: --release --out dist -i python
231
226
  sccache: false
232
227
  - name: Build free-threaded wheels
233
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
228
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
234
229
  with:
235
230
  target: ${{ matrix.platform.target }}
236
231
  args: --release --out dist -i python3.13t
237
232
 
238
233
  sccache: false
239
234
  - name: Build free-threaded wheels
240
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
235
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
241
236
  with:
242
237
  target: ${{ matrix.platform.target }}
243
238
  args: --release --out dist -i python3.14t
@@ -257,7 +252,7 @@ jobs:
257
252
  with:
258
253
  persist-credentials: false
259
254
  - name: Build sdist
260
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
255
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
261
256
  with:
262
257
  command: sdist
263
258
  args: --out dist
@@ -303,7 +298,7 @@ jobs:
303
298
  subject-path: wheels-*/*
304
299
  - name: Publish to PyPI
305
300
  if: ${{ startsWith(github.ref, 'refs/tags/') }}
306
- uses: PyO3/maturin-action@04ac600d27cdf7a9a280dadf7147097c42b757ad # v1.50.1
301
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
307
302
  with:
308
303
  command: upload
309
304
  args: --non-interactive --skip-existing wheels-*/*
@@ -36,9 +36,9 @@ jobs:
36
36
  uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0
37
37
  with:
38
38
  python-version: '3.14'
39
- - uses: astral-sh/setup-uv@37802adc94f370d6bfd71619e3f0bf239e1f3b78 # v7.6.0
39
+ - uses: astral-sh/setup-uv@cec208311dfd045dd5311c1add060b2062131d57 # v8.0.0
40
40
  with:
41
- version: 0.11.2
41
+ version: 0.11.6
42
42
  enable-cache: false
43
43
  - name: detect method
44
44
  id: detect
@@ -19,7 +19,7 @@ repos:
19
19
  hooks:
20
20
  - id: yamllint
21
21
  - repo: https://github.com/astral-sh/ruff-pre-commit
22
- rev: v0.15.8
22
+ rev: v0.15.10
23
23
  hooks:
24
24
  - id: ruff-check
25
25
  args:
@@ -52,7 +52,7 @@ repos:
52
52
  hooks:
53
53
  - id: reuse
54
54
  - repo: https://github.com/rhysd/actionlint
55
- rev: v1.7.11
55
+ rev: v1.7.12
56
56
  hooks:
57
57
  - id: actionlint
58
58
  - repo: https://github.com/zizmorcore/zizmor-pre-commit
@@ -60,7 +60,7 @@ repos:
60
60
  hooks:
61
61
  - id: zizmor
62
62
  - repo: https://github.com/mongodb/kingfisher
63
- rev: v1.90.0
63
+ rev: v1.95.0
64
64
  hooks:
65
65
  - id: kingfisher-auto
66
66
  ci:
@@ -4,9 +4,9 @@ version = 4
4
4
 
5
5
  [[package]]
6
6
  name = "cc"
7
- version = "1.2.57"
7
+ version = "1.2.60"
8
8
  source = "registry+https://github.com/rust-lang/crates.io-index"
9
- checksum = "7a0dd1ca384932ff3641c8718a02769f1698e7563dc6974ffd03346116310423"
9
+ checksum = "43c5703da9466b66a946814e1adf53ea2c90f10063b86290cc9eb67ce3478a20"
10
10
  dependencies = [
11
11
  "find-msvc-tools",
12
12
  "shlex",
@@ -26,9 +26,9 @@ checksum = "2304e00983f87ffb38b55b444b5e3b60a884b5d30c0fca7d82fe33449bbe55ea"
26
26
 
27
27
  [[package]]
28
28
  name = "libc"
29
- version = "0.2.183"
29
+ version = "0.2.184"
30
30
  source = "registry+https://github.com/rust-lang/crates.io-index"
31
- checksum = "b5b646652bf6661599e1da8901b3b9522896f01e736bad5f723fe7a3a27f899d"
31
+ checksum = "48f5d2a454e16a5ea0f4ced81bd44e4cfc7bd3a507b61887c99fd3538b28e4af"
32
32
 
33
33
  [[package]]
34
34
  name = "once_cell"
@@ -53,9 +53,9 @@ dependencies = [
53
53
 
54
54
  [[package]]
55
55
  name = "pyo3"
56
- version = "0.28.2"
56
+ version = "0.28.3"
57
57
  source = "registry+https://github.com/rust-lang/crates.io-index"
58
- checksum = "cf85e27e86080aafd5a22eae58a162e133a589551542b3e5cee4beb27e54f8e1"
58
+ checksum = "91fd8e38a3b50ed1167fb981cd6fd60147e091784c427b8f7183a7ee32c31c12"
59
59
  dependencies = [
60
60
  "libc",
61
61
  "once_cell",
@@ -67,9 +67,9 @@ dependencies = [
67
67
 
68
68
  [[package]]
69
69
  name = "pyo3-build-config"
70
- version = "0.28.2"
70
+ version = "0.28.3"
71
71
  source = "registry+https://github.com/rust-lang/crates.io-index"
72
- checksum = "8bf94ee265674bf76c09fa430b0e99c26e319c945d96ca0d5a8215f31bf81cf7"
72
+ checksum = "e368e7ddfdeb98c9bca7f8383be1648fd84ab466bf2bc015e94008db6d35611e"
73
73
  dependencies = [
74
74
  "python3-dll-a",
75
75
  "target-lexicon",
@@ -77,9 +77,9 @@ dependencies = [
77
77
 
78
78
  [[package]]
79
79
  name = "pyo3-ffi"
80
- version = "0.28.2"
80
+ version = "0.28.3"
81
81
  source = "registry+https://github.com/rust-lang/crates.io-index"
82
- checksum = "491aa5fc66d8059dd44a75f4580a2962c1862a1c2945359db36f6c2818b748dc"
82
+ checksum = "7f29e10af80b1f7ccaf7f69eace800a03ecd13e883acfacc1e5d0988605f651e"
83
83
  dependencies = [
84
84
  "libc",
85
85
  "pyo3-build-config",
@@ -87,9 +87,9 @@ dependencies = [
87
87
 
88
88
  [[package]]
89
89
  name = "pyo3-macros"
90
- version = "0.28.2"
90
+ version = "0.28.3"
91
91
  source = "registry+https://github.com/rust-lang/crates.io-index"
92
- checksum = "f5d671734e9d7a43449f8480f8b38115df67bef8d21f76837fa75ee7aaa5e52e"
92
+ checksum = "df6e520eff47c45997d2fc7dd8214b25dd1310918bbb2642156ef66a67f29813"
93
93
  dependencies = [
94
94
  "proc-macro2",
95
95
  "pyo3-macros-backend",
@@ -99,9 +99,9 @@ dependencies = [
99
99
 
100
100
  [[package]]
101
101
  name = "pyo3-macros-backend"
102
- version = "0.28.2"
102
+ version = "0.28.3"
103
103
  source = "registry+https://github.com/rust-lang/crates.io-index"
104
- checksum = "22faaa1ce6c430a1f71658760497291065e6450d7b5dc2bcf254d49f66ee700a"
104
+ checksum = "c4cdc218d835738f81c2338f822078af45b4afdf8b2e33cbb5916f108b813acb"
105
105
  dependencies = [
106
106
  "heck",
107
107
  "proc-macro2",
@@ -112,9 +112,9 @@ dependencies = [
112
112
 
113
113
  [[package]]
114
114
  name = "python3-dll-a"
115
- version = "0.2.14"
115
+ version = "0.2.15"
116
116
  source = "registry+https://github.com/rust-lang/crates.io-index"
117
- checksum = "d381ef313ae70b4da5f95f8a4de773c6aa5cd28f73adec4b4a31df70b66780d8"
117
+ checksum = "d80ba7540edb18890d444c5aa8e1f1f99b1bdf26fb26ae383135325f4a36042b"
118
118
  dependencies = [
119
119
  "cc",
120
120
  ]
@@ -165,7 +165,7 @@ checksum = "9629274872b2bfaf8d66f5f15725007f635594914870f65218920345aa11aa8c"
165
165
 
166
166
  [[package]]
167
167
  name = "unicode-segmentation-rs"
168
- version = "0.2.2"
168
+ version = "0.2.4"
169
169
  dependencies = [
170
170
  "pyo3",
171
171
  "unicode-segmentation",
@@ -1,5 +1,5 @@
1
1
  [dependencies]
2
- pyo3 = {version = "0.28.2", features = ["extension-module", "abi3-py310", "generate-import-lib"]}
2
+ pyo3 = {version = "0.28.3", features = ["extension-module", "abi3-py310", "generate-import-lib"]}
3
3
  unicode-segmentation = "1.13.2"
4
4
  unicode-width = "0.2.2"
5
5
 
@@ -15,4 +15,4 @@ license = "MIT"
15
15
  name = "unicode-segmentation-rs"
16
16
  readme = "README.md"
17
17
  repository = "https://github.com/WeblateOrg/unicode-segmentation-rs"
18
- version = "0.2.2"
18
+ version = "0.2.4"
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unicode-segmentation-rs
3
- Version: 0.2.2
3
+ Version: 0.2.4
4
4
  Classifier: Programming Language :: Rust
5
5
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
6
  Classifier: Programming Language :: Python :: Implementation :: PyPy
@@ -4,7 +4,7 @@ requires = ["maturin>=1.10.0,<2.0"]
4
4
 
5
5
  [dependency-groups]
6
6
  build = [
7
- "maturin==1.12.6"
7
+ "maturin==1.13.1"
8
8
  ]
9
9
  dev = [
10
10
  {include-group = "build"},
@@ -16,7 +16,7 @@ pre-commit = [
16
16
  ]
17
17
  test = [
18
18
  "pytest-github-actions-annotate-failures==0.4.0",
19
- "pytest==9.0.2"
19
+ "pytest==9.0.3"
20
20
  ]
21
21
 
22
22
  [project]