unicode-segmentation-rs 0.3.1__tar.gz → 0.3.2__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.3.1 → unicode_segmentation_rs-0.3.2}/.github/actions/pre-commit-setup/action.yml +3 -2
  2. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/.github/release.yml +4 -6
  3. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/.github/workflows/ci.yml +41 -4
  4. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/.gitignore +0 -1
  5. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/.pre-commit-config.yaml +5 -3
  6. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/Cargo.lock +11 -11
  7. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/Cargo.toml +5 -2
  8. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/PKG-INFO +8 -1
  9. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/REUSE.toml +1 -1
  10. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/pyproject.toml +9 -2
  11. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/.editorconfig +0 -0
  12. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/.github/FUNDING.yml +0 -0
  13. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/.github/ISSUE_TEMPLATE/bug_report.yml +0 -0
  14. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/.github/ISSUE_TEMPLATE/config.yml +0 -0
  15. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/.github/ISSUE_TEMPLATE/feature_request.yml +0 -0
  16. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/.github/PULL_REQUEST_TEMPLATE.md +0 -0
  17. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/.github/PULL_REQUEST_TEMPLATE.md.license +0 -0
  18. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/.github/renovate.json +0 -0
  19. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/.github/renovate.json.license +0 -0
  20. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/.github/workflows/dependency-review.yml +0 -0
  21. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/.github/workflows/pre-commit.yml +0 -0
  22. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/.github/workflows/pull_requests.yaml +0 -0
  23. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/.yamllint.yml +0 -0
  24. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/LICENSE +0 -0
  25. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/LICENSES/Apache-2.0.txt +0 -0
  26. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/LICENSES/CC0-1.0.txt +0 -0
  27. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/README.md +0 -0
  28. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/SECURITY.md +0 -0
  29. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/src/lib.rs +0 -0
  30. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/tests/test_gettext_wrap.py +0 -0
  31. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/tests/test_readme_examples.py +0 -0
  32. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/tests/test_unicode_segmentation.py +0 -0
  33. {unicode_segmentation_rs-0.3.1 → unicode_segmentation_rs-0.3.2}/unicode_segmentation_rs.pyi +0 -0
@@ -19,7 +19,8 @@ runs:
19
19
  - name: Setup Python
20
20
  uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
21
21
  with:
22
- python-version: '3.14'
22
+ python-version: '3.15'
23
+ allow-prereleases: true
23
24
  - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0
24
25
  with:
25
- version: 0.11.32
26
+ version: 0.12.1
@@ -5,6 +5,10 @@
5
5
  # This file is maintained in https://github.com/WeblateOrg/meta/
6
6
 
7
7
  changelog:
8
+ exclude:
9
+ authors:
10
+ - weblate
11
+ - hosted-weblate[bot]
8
12
  categories:
9
13
  - title: Changes and improvements
10
14
  labels:
@@ -12,12 +16,6 @@ changelog:
12
16
  exclude:
13
17
  labels:
14
18
  - dependencies
15
- authors:
16
- - weblate
17
19
  - title: Dependency updates
18
20
  labels:
19
21
  - dependencies
20
- - title: Translation updates
21
- authors:
22
- - weblate
23
- - hosted-weblate[bot]
@@ -29,13 +29,14 @@ jobs:
29
29
  - '3.12'
30
30
  - '3.13'
31
31
  - '3.14'
32
+ - '3.15'
32
33
  include:
33
34
  - os: windows-latest
34
- python-version: '3.14'
35
+ python-version: '3.15'
35
36
  - os: macos-latest
36
- python-version: '3.14'
37
+ python-version: '3.15'
37
38
  - os: ubuntu-24.04-arm
38
- python-version: '3.14'
39
+ python-version: '3.15'
39
40
  name: Tests, Python ${{ matrix.python-version }}, ${{ matrix.os }}
40
41
  steps:
41
42
  - uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
@@ -46,12 +47,13 @@ jobs:
46
47
  id: setup_python
47
48
  with:
48
49
  python-version: ${{ matrix.python-version }}
50
+ allow-prereleases: true
49
51
  - uses: astral-sh/setup-uv@c771a70e6277c0a99b617c7a806ffedaca235ff9 # v9.0.0 # zizmor: ignore[cache-poisoning]
50
52
  # The cache is stored only on main branch and not used for publishing
51
53
  with:
52
54
  save-cache: ${{ github.ref == 'refs/heads/main' }}
53
55
  cache-suffix: ${{ steps.setup_python.outputs.python-version }}
54
- version: 0.11.32
56
+ version: 0.12.1
55
57
  activate-environment: 'true'
56
58
  - run: uv sync
57
59
  - name: Run tests
@@ -95,6 +97,13 @@ jobs:
95
97
  args: --release --out dist -i python3.14t
96
98
  sccache: false
97
99
  manylinux: auto
100
+ - name: Build Python 3.15 free-threaded wheels
101
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
102
+ with:
103
+ target: ${{ matrix.platform.target }}
104
+ args: --release --out dist -i python3.15t --features abi3t
105
+ sccache: false
106
+ manylinux: auto
98
107
  - name: Upload wheels
99
108
  uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
100
109
  with:
@@ -132,6 +141,13 @@ jobs:
132
141
  target: ${{ matrix.platform.target }}
133
142
  args: --release --out dist -i python3.14t
134
143
 
144
+ sccache: false
145
+ manylinux: musllinux_1_2
146
+ - name: Build Python 3.15 free-threaded wheels
147
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
148
+ with:
149
+ target: ${{ matrix.platform.target }}
150
+ args: --release --out dist -i python3.15t --features abi3t
135
151
  sccache: false
136
152
  manylinux: musllinux_1_2
137
153
  - name: Upload wheels
@@ -174,6 +190,17 @@ jobs:
174
190
  target: ${{ matrix.platform.target }}
175
191
  args: --release --out dist -i python3.14t
176
192
  sccache: false
193
+ - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
194
+ with:
195
+ python-version: 3.15t
196
+ allow-prereleases: true
197
+ architecture: ${{ matrix.platform.target }}
198
+ - name: Build Python 3.15 free-threaded wheels
199
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
200
+ with:
201
+ target: ${{ matrix.platform.target }}
202
+ args: --release --out dist -i python3.15t --features abi3t
203
+ sccache: false
177
204
  - name: Upload wheels
178
205
  uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
179
206
  with:
@@ -209,6 +236,16 @@ jobs:
209
236
  target: ${{ matrix.platform.target }}
210
237
  args: --release --out dist -i python3.14t
211
238
 
239
+ sccache: false
240
+ - uses: actions/setup-python@5fda3b95a4ea91299a34e894583c3862153e4b97 # v7.0.0
241
+ with:
242
+ python-version: 3.15t
243
+ allow-prereleases: true
244
+ - name: Build Python 3.15 free-threaded wheels
245
+ uses: PyO3/maturin-action@e83996d129638aa358a18fbd1dfb82f0b0fb5d3b # v1.51.0
246
+ with:
247
+ target: ${{ matrix.platform.target }}
248
+ args: --release --out dist -i python3.15t --features abi3t
212
249
  sccache: false
213
250
  - name: Upload wheels
214
251
  uses: actions/upload-artifact@043fb46d1a93c77aae656e7c1c64a875d1fc6a0a # v7.0.1
@@ -207,5 +207,4 @@ marimo/_lsp/
207
207
  __marimo__/
208
208
 
209
209
  # Lock files
210
- /Cargo.lock
211
210
  /uv.lock
@@ -1,5 +1,7 @@
1
1
  # See https://pre-commit.com for more information
2
2
  # See https://pre-commit.com/hooks.html for more hooks
3
+ exclude: ^Cargo\.lock$
4
+
3
5
  repos:
4
6
  - repo: https://github.com/pre-commit/pre-commit-hooks
5
7
  rev: v6.0.0
@@ -19,7 +21,7 @@ repos:
19
21
  hooks:
20
22
  - id: yamllint
21
23
  - repo: https://github.com/astral-sh/ruff-pre-commit
22
- rev: v0.16.0
24
+ rev: v0.16.1
23
25
  hooks:
24
26
  - id: ruff-check
25
27
  args:
@@ -50,11 +52,11 @@ repos:
50
52
  hooks:
51
53
  - id: zizmor
52
54
  - repo: https://github.com/mongodb/kingfisher
53
- rev: v1.109.0
55
+ rev: v1.110.0
54
56
  hooks:
55
57
  - id: kingfisher-auto
56
58
  - repo: https://github.com/rvben/rumdl-pre-commit
57
- rev: v0.2.43
59
+ rev: v0.2.48
58
60
  hooks:
59
61
  - id: rumdl
60
62
  - id: rumdl-fmt
@@ -37,9 +37,9 @@ dependencies = [
37
37
 
38
38
  [[package]]
39
39
  name = "pyo3"
40
- version = "0.29.0"
40
+ version = "0.29.1"
41
41
  source = "registry+https://github.com/rust-lang/crates.io-index"
42
- checksum = "cd274650b21d4bfc26a0a47587962c1edb425f69287324355cd040c3ea66071c"
42
+ checksum = "fc153f5fd745cc038b5eed86622125969f8a39834a57bc96beaaf2512b1da729"
43
43
  dependencies = [
44
44
  "libc",
45
45
  "once_cell",
@@ -51,18 +51,18 @@ dependencies = [
51
51
 
52
52
  [[package]]
53
53
  name = "pyo3-build-config"
54
- version = "0.29.0"
54
+ version = "0.29.1"
55
55
  source = "registry+https://github.com/rust-lang/crates.io-index"
56
- checksum = "c5e2a7d2f0d013342f295c048ad19237add5154a55b1c5a254c0ec93d4109078"
56
+ checksum = "bb77d9aa6d647507b55c69ee714d266d84c526c78ff0bc6dd8757f58591e64d1"
57
57
  dependencies = [
58
58
  "target-lexicon",
59
59
  ]
60
60
 
61
61
  [[package]]
62
62
  name = "pyo3-ffi"
63
- version = "0.29.0"
63
+ version = "0.29.1"
64
64
  source = "registry+https://github.com/rust-lang/crates.io-index"
65
- checksum = "ca85c467da1bbc8d866eea5deff9cf29ea5f7785054a17da36e65bda9c05845b"
65
+ checksum = "3160087aa5733bce7d9a729f8c55f85a2a53b74742a09613178eeebff0722253"
66
66
  dependencies = [
67
67
  "libc",
68
68
  "pyo3-build-config",
@@ -70,9 +70,9 @@ dependencies = [
70
70
 
71
71
  [[package]]
72
72
  name = "pyo3-macros"
73
- version = "0.29.0"
73
+ version = "0.29.1"
74
74
  source = "registry+https://github.com/rust-lang/crates.io-index"
75
- checksum = "9ac53762fd065daa3194dd09337a38bd793a188100fd1a9304c4ab312d901771"
75
+ checksum = "91f9d455db760a9a0b0ddeaac25f1390b8a36ba73dfbda9f127cac6fc340d4d5"
76
76
  dependencies = [
77
77
  "proc-macro2",
78
78
  "pyo3-macros-backend",
@@ -82,9 +82,9 @@ dependencies = [
82
82
 
83
83
  [[package]]
84
84
  name = "pyo3-macros-backend"
85
- version = "0.29.0"
85
+ version = "0.29.1"
86
86
  source = "registry+https://github.com/rust-lang/crates.io-index"
87
- checksum = "4ca3a1557399783172dc5bf39cfca835157732532cba56b71d2292161e53b362"
87
+ checksum = "e343bcec300ff262f5806a33a4e51b6d097a8a46435f512fcb83e95592581625"
88
88
  dependencies = [
89
89
  "heck",
90
90
  "proc-macro2",
@@ -138,7 +138,7 @@ checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8"
138
138
 
139
139
  [[package]]
140
140
  name = "unicode-segmentation-rs"
141
- version = "0.3.1"
141
+ version = "0.3.2"
142
142
  dependencies = [
143
143
  "pyo3",
144
144
  "unicode-linebreak",
@@ -1,9 +1,12 @@
1
1
  [dependencies]
2
- pyo3 = {version = "0.29.0", features = ["extension-module", "abi3-py310"]}
2
+ pyo3 = {version = "0.29.1", features = ["extension-module", "abi3-py310"]}
3
3
  unicode-linebreak = "0.1.5"
4
4
  unicode-segmentation = "1.13.3"
5
5
  unicode-width = "0.2.2"
6
6
 
7
+ [features]
8
+ abi3t = ["pyo3/abi3t-py315"]
9
+
7
10
  [lib]
8
11
  crate-type = ["cdylib"]
9
12
  name = "unicode_segmentation_rs"
@@ -16,4 +19,4 @@ license = "Apache-2.0"
16
19
  name = "unicode-segmentation-rs"
17
20
  readme = "README.md"
18
21
  repository = "https://github.com/WeblateOrg/unicode-segmentation-rs"
19
- version = "0.3.1"
22
+ version = "0.3.2"
@@ -1,7 +1,14 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: unicode-segmentation-rs
3
- Version: 0.3.1
3
+ Version: 0.3.2
4
4
  Classifier: Programming Language :: Rust
5
+ Classifier: Programming Language :: Python :: 3.10
6
+ Classifier: Programming Language :: Python :: 3.11
7
+ Classifier: Programming Language :: Python :: 3.12
8
+ Classifier: Programming Language :: Python :: 3.13
9
+ Classifier: Programming Language :: Python :: 3.14
10
+ Classifier: Programming Language :: Python :: 3.15
11
+ Classifier: Programming Language :: Python :: Free Threading :: 3 - Stable
5
12
  Classifier: Programming Language :: Python :: Implementation :: CPython
6
13
  Classifier: Programming Language :: Python :: Implementation :: PyPy
7
14
  Classifier: Topic :: Software Development :: Libraries :: Python Modules
@@ -6,7 +6,7 @@ version = 1
6
6
  [[annotations]]
7
7
  SPDX-FileCopyrightText = "Michal Čihař <michal@weblate.org>"
8
8
  SPDX-License-Identifier = "Apache-2.0"
9
- path = [".coveragerc", ".dockerignore", ".gitignore", ".isort.cfg", ".pre-commit-config.yaml", "MANIFEST.in", "codecov.yml", "requirements**.txt", "setup.cfg", "pyproject.toml", ".editorconfig", ".well-known/**", "Cargo.toml"]
9
+ path = [".coveragerc", ".dockerignore", ".gitignore", ".isort.cfg", ".pre-commit-config.yaml", "MANIFEST.in", "codecov.yml", "requirements**.txt", "setup.cfg", "pyproject.toml", ".editorconfig", ".well-known/**", "Cargo.toml", "Cargo.lock"]
10
10
  precedence = "aggregate"
11
11
 
12
12
  [[annotations]]
@@ -1,6 +1,6 @@
1
1
  [build-system]
2
2
  build-backend = "maturin"
3
- requires = ["maturin>=1.10.0,<2.0"]
3
+ requires = ["maturin>=1.14.0,<2.0"]
4
4
 
5
5
  [dependency-groups]
6
6
  build = [
@@ -12,7 +12,7 @@ dev = [
12
12
  {include-group = "pre-commit"}
13
13
  ]
14
14
  pre-commit = [
15
- "prek==0.4.11"
15
+ "prek==0.4.12"
16
16
  ]
17
17
  test = [
18
18
  "pytest-github-actions-annotate-failures==0.4.2",
@@ -22,6 +22,13 @@ test = [
22
22
  [project]
23
23
  classifiers = [
24
24
  "Programming Language :: Rust",
25
+ "Programming Language :: Python :: 3.10",
26
+ "Programming Language :: Python :: 3.11",
27
+ "Programming Language :: Python :: 3.12",
28
+ "Programming Language :: Python :: 3.13",
29
+ "Programming Language :: Python :: 3.14",
30
+ "Programming Language :: Python :: 3.15",
31
+ "Programming Language :: Python :: Free Threading :: 3 - Stable",
25
32
  "Programming Language :: Python :: Implementation :: CPython",
26
33
  "Programming Language :: Python :: Implementation :: PyPy",
27
34
  "Topic :: Software Development :: Libraries :: Python Modules"