dependabot[bot] opened a new pull request, #37394: URL: https://github.com/apache/beam/pull/37394
Bumps [sentencepiece](https://github.com/google/sentencepiece) from 0.1.97 to 0.2.1. <details> <summary>Release notes</summary> <p><em>Sourced from <a href="https://github.com/google/sentencepiece/releases">sentencepiece's releases</a>.</em></p> <blockquote> <h2>v0.2.1</h2> <h2>Major changes</h2> <ul> <li>[Python] Supported wheels and builds for Python 3.13 and 3.14(rc1) <a href="https://redirect.github.com/google/sentencepiece/issues/1134">#1134</a>, <a href="https://redirect.github.com/google/sentencepiece/issues/1127">#1127</a>, <a href="https://redirect.github.com/google/sentencepiece/issues/1121">#1121</a>, <a href="https://redirect.github.com/google/sentencepiece/issues/1111">#1111</a>, <a href="https://redirect.github.com/google/sentencepiece/issues/1110">#1110</a>, <a href="https://redirect.github.com/google/sentencepiece/issues/1104">#1104</a>, <a href="https://redirect.github.com/google/sentencepiece/issues/1103">#1103</a>, <a href="https://redirect.github.com/google/sentencepiece/issues/1099">#1099</a>, <a href="https://redirect.github.com/google/sentencepiece/issues/1091">#1091</a></li> <li>[Python] Added an experimental support for free-threading. <a href="https://redirect.github.com/google/sentencepiece/issues/1134">#1134</a>, <a href="https://redirect.github.com/google/sentencepiece/issues/1127">#1127</a>, <a href="https://redirect.github.com/google/sentencepiece/issues/1110">#1110</a> <a href="https://github.com/google/sentencepiece/tree/master/python#free-threading-support">https://github.com/google/sentencepiece/tree/master/python#free-threading-support</a></li> <li>[Python] Updated the supported Python version to 3.9 or later.</li> </ul> <h2>New features</h2> <ul> <li>[ALL]: Added new build mode to prevent the precompiled normalization rules being embedded in *.so and *.a. (<code>-DSPM_DISABLE_EMBEDDED_DATA=ON</code>). This reduces the runtime size by approximately 1-2 MB. This mode is enabled to build python wheels. The rules are loaded as the data package.</li> </ul> <h2>Bug fixes & minor changes</h2> <ul> <li>[ALL]: Security fix to address a heap overflow issue that could occur when using a model containing an invalid precompiled normalization model.</li> <li>[Python]: Deprecates the wheel package for Linux i686.</li> <li>[Python]: Supported wheel for Windows Arm64. <a href="https://redirect.github.com/google/sentencepiece/issues/1114">#1114</a></li> <li>[Python]: Fixed the crash issue on batch decoding <a href="https://redirect.github.com/google/sentencepiece/issues/1051">#1051</a></li> <li>[ALL]: Updated the Unicode normalization rule with the latest ICU/Unicode rules.</li> <li>[ALL]: Unused code and build mode cleanup.</li> </ul> <h2>v0.2.1pre2</h2> <h2>Major changes</h2> <ul> <li>[Python] Supported wheels and builds for Python 3.13 and 3.14(rc0)</li> <li>[Python] Added an experimental support for free-threading. <a href="https://github.com/google/sentencepiece/tree/master/python#free-threading-support">https://github.com/google/sentencepiece/tree/master/python#free-threading-support</a></li> <li>[Python] Updated the supported Python version to 3.9 or later.</li> </ul> <h2>New features</h2> <ul> <li>[ALL]: Added new build mode to prevent the precompiled normalization rules being embedded in *.so and *.a. (<code>-DSPM_DISABLE_EMBEDDED_DATA=ON</code>). This reduces the runtime size by approximately 1-2 MB. This mode is enabled to build python wheels. The rules are loaded as the data package.</li> </ul> <h2>Bug fixes & minor changes</h2> <ul> <li>[ALL]: Security fix to address a heap overflow issue that could occur when using a model containing an invalid precompiled normalization model.</li> <li>[Python]: Deprecates the wheel package for Linux i686.</li> <li>[Python]: Supported wheel for Windows Arm64.</li> <li>[Python]: Fixed the crash issue on batch decoding <a href="https://redirect.github.com/google/sentencepiece/issues/1051">#1051</a></li> <li>[ALL]: Updated the Unicode normalization rule with the latest ICU/Unicode rules.</li> <li>[ALL]: Unused code and build mode cleanup.</li> </ul> <h2>v0.2.0</h2> <h2>Major changes</h2> <p>N/A</p> <h2>New features</h2> <ul> <li>[ALL] Added SentencePieceNormalizer class in C++/Python. It supports almost the equivalent feature of spm_normalize. <a href="https://github.com/google/sentencepiece/blob/master/python/test/sentencepiece_test.py#L794">Python Sample</a> <a href="https://github.com/google/sentencepiece/blob/master/src/sentencepiece_trainer_test.cc#L394">C++ Sample</a></li> <li>[ALL] Added SentencePieceProcessor::Normalize method in C++/Python <a href="https://github.com/google/sentencepiece/blob/master/python/test/sentencepiece_test.py#L771">Python Sample</a> <a href="https://github.com/google/sentencepiece/blob/master/src/sentencepiece_trainer_test.cc#L382">C++ Sample</a></li> <li>[ALL] Added functionality to override the normalization spec before the processing. <a href="https://github.com/google/sentencepiece/blob/master/python/test/sentencepiece_test.py#L860">Python Sample</a></li> </ul> <h2>Bug fixes & minor changes</h2> <ul> <li>Introduce better support of using external abseil and protobuf <a href="https://redirect.github.com/google/sentencepiece/issues/869">google/sentencepiece#869</a></li> <li>Build universal binary in OSX release package <a href="https://redirect.github.com/google/sentencepiece/issues/892">google/sentencepiece#892</a></li> <li>Add the set_min_log_level function to python to change the loglevel from the python wrapper. <a href="https://redirect.github.com/google/sentencepiece/issues/893">google/sentencepiece#893</a></li> <li>Uses the logsumexp techniques in marginal probabilities of n-best tokenization to avoid underflow.</li> <li>Support Python 3.12 <a href="https://redirect.github.com/google/sentencepiece/issues/932">google/sentencepiece#932</a></li> </ul> <!-- raw HTML omitted --> </blockquote> <p>... (truncated)</p> </details> <details> <summary>Commits</summary> <ul> <li><a href="https://github.com/google/sentencepiece/commit/31646a467d2051eb904e0b45de3a73e91fe1c1e3"><code>31646a4</code></a> Merge pull request <a href="https://redirect.github.com/google/sentencepiece/issues/1136">#1136</a> from crusaderky/pytest-run-parallel</li> <li><a href="https://github.com/google/sentencepiece/commit/bcd44b920d3b1b88d6999c0e64c6be4fed8f265c"><code>bcd44b9</code></a> free-threading tests</li> <li><a href="https://github.com/google/sentencepiece/commit/135747f6c0964ab9bb4a75c699fe06450f9eed02"><code>135747f</code></a> install twine before checking wheel</li> <li><a href="https://github.com/google/sentencepiece/commit/69fe0b2cbb9f3b7a228be43907a7582028b59ee3"><code>69fe0b2</code></a> install setuptools before making sdist</li> <li><a href="https://github.com/google/sentencepiece/commit/ee1422b4b7a4c5adbae2b9bea69fa81a3fb07202"><code>ee1422b</code></a> install setuptools before making sdist</li> <li><a href="https://github.com/google/sentencepiece/commit/5ac2fd21a653b048e5bda6c91a97dd54804fb4ef"><code>5ac2fd2</code></a> use windows-11-arm runner to test ARM64 wheel on native env.</li> <li><a href="https://github.com/google/sentencepiece/commit/36b974528d3ae3a605420dbaaea2dfb56bc0fe31"><code>36b9745</code></a> use windows-11-arm runner to test ARM64 wheel on native env.</li> <li><a href="https://github.com/google/sentencepiece/commit/4f043ae78ebca536bd7f51a5d603d6caa25ff684"><code>4f043ae</code></a> use auto-mode to make wheel with the native binary.</li> <li><a href="https://github.com/google/sentencepiece/commit/623196eff94a8cd7ae43964085c519a243df4d36"><code>623196e</code></a> uses arm docker image to build and test wheel</li> <li><a href="https://github.com/google/sentencepiece/commit/559fd65d67f39fd3ad133dc326ddac8fd90231b6"><code>559fd65</code></a> re-enable QEMU to enable arm execution</li> <li>Additional commits viewable in <a href="https://github.com/google/sentencepiece/compare/v0.1.97...v0.2.1">compare view</a></li> </ul> </details> <br /> [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting `@dependabot rebase`. [//]: # (dependabot-automerge-start) [//]: # (dependabot-automerge-end) --- <details> <summary>Dependabot commands and options</summary> <br /> You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show <dependency name> ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) You can disable automated security fix PRs for this repo from the [Security Alerts page](https://github.com/apache/beam/network/alerts). </details> -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
