diff mbox series

[AUH] python3-snowballstemmer: upgrading to 3.2.1 SUCCEEDED

Message ID 010101a235a26ba4-023a96e9-4f77-4c48-99ea-beea90f5224f-000000@us-west-2.amazonses.com
State New
Headers show
Series [AUH] python3-snowballstemmer: upgrading to 3.2.1 SUCCEEDED | expand

Commit Message

auh@yoctoproject.org Dec. 2, 2026, 7:22 a.m. UTC
Hello,

this email is a notification from the Auto Upgrade Helper
that the automatic attempt to upgrade the recipe(s) *python3-snowballstemmer* to *3.2.1* has Succeeded.

Next steps:
    - apply the patch: git am 0001-python3-snowballstemmer-upgrade-3.1.1-3.2.1.patch
    - check the changes to upstream patches and summarize them in the commit message,
    - compile an image that contains the package
    - perform some basic sanity tests
    - amend the patch and sign it off: git commit -s --reset-author --amend
    - send it to the appropriate mailing list

Alternatively, if you believe the recipe should not be upgraded at this time,
you can fill RECIPE_NO_UPDATE_REASON in respective recipe file so that
automatic upgrades would no longer be attempted.

Please review the attached files for further information and build/update failures.
Any problem please file a bug at https://bugzilla.yoctoproject.org/enter_bug.cgi?product=Automated%20Update%20Handler

Regards,
The Upgrade Helper

-- >8 --
From 1b894e5c44a2bf4c01aa30bed09ecc892734722c Mon Sep 17 00:00:00 2001
From: Upgrade Helper <auh@yoctoproject.org>
Date: Wed, 2 Dec 2026 06:03:56 +0000
Subject: [PATCH] python3-snowballstemmer: upgrade 3.1.1 -> 3.2.1
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Snowball 3.2.1 (2026-12-02)
===========================

Generic code generation changes
-------------------------------

  - We now warn if `try` is applied to command which always signals `t`, since
    doing so suggests a misunderstanding on the part of the programmer.  We
    also now replace such a `try` with a `(`...`)` block in the parse tree,
    which avoids generating code with an unused temporary variable.

Ada
---

  - The generated code for `among` could have unclosed blocks in some cases
    (but not any exercised by stemming algorithms we ship).

  - Avoid setting Ada variable `A` when its value isn't used.

C/C++
-----

  - Reset cursor after failed `among` gating function check when there is
    an empty string case in the among.  This bug is specific to the new among
    implementation for C/C++ which was merged in Snowball 3.2.0.  Patch from
    Saša Janiška.  Fixes #310.

  - The generated code for `among` could reference an undeclared `among_var`
    variable.

  - Avoid C/C++ compiler warnings about unused parameters in the code generated
    for degenerate `externals` (e.g. `define stem as ()`).

Go
--

  - Update go/README.md.

Python
------

  - Add classifier for Python 3.15.
  - Omit classifier for earlymodernenglish.

  - CI now checks that all our trove classifiers are valid.  Patch from Dmitry
    Shachnev.

Rust
----

  - The generated code for `among` could reference an undeclared `among_var`
    variable.

Zig
---

  - Fix code generated for degenerate `externals` (e.g. `define stem as ()`).
    These are valid Snowball, but resulted in errors from Zig due to
    unused function parameters (which are an error in Zig).

  - Avoid unused variable error in generated code.  Fixes #311, reported by
    Saša Janiška.

Snowball 3.2.0 (2026-10-17)
===========================

Compiler changes
----------------

  - Stop rejecting `->` and `=>` inside `reverse`.  These operations are
    both safe as they modify a string variable not the working string.

  - Fix detection of read errors for piped input which were effectively being
    ignored.  Bug introduced in 3.1.0.

  - The coverage counts for among functions were one too low.

  - Drop use of `restrict` in compiler source as it seems it isn't supported by
    MSVC 2019 and earlier.

  - Change how `-coverage` reports among functions.  If the string matched we
    used to always report a string match, and additionally either "func-f" or
    "func-t" depending what the function signalled.  Now we only report one
    thing - if the string matches but the function signals f we report
    "func-f"; if the string matches and the function signals t we report a
    string match.  This gives a report that seems clearer, and requires logging
    and collating less data.

  - Report an "info" diagnostic when we don't localise a variable into a
    recursive routine.

  - Fix spurious extra output of variable name on a line by itself after
    an "info" diagnostic saying we couldn't localise it.

  - Routine "not reachable" warnings are now reported at the definition which
    seems a better location than the declaration.

  - Grow large symbol strings exponentially, like we already do for byte
    strings.

  - Eliminate some unnecessary copying when growing strings during compilation.
  - Fix compiler memory leak when an unreachable routine contains an `among`.

Generic code generation changes
-------------------------------

  - Improve variable localisation machinery, and fix some contrived cases
    it was getting wrong.  All variables which are only used in one function
    after inlining in the shipped stemmers are now successfully localised.

  - Extend inlining to all calls to routines which consists of a single
    non-compound Snowball command.  The target language code generated for
    such commands should be comparable in size to the target language code
    to call a routine, and inlining may enable other optimisations (variable
    localisation and folding `not` into integer tests, for example).

  - Inline any non-recursive routine which is only used once (where that use is
    not as an among function).  When there's only one use this should if
    anything reduce the code size, and for target languages which don't
    inline themselves it eliminates the overhead of a call.  It may also enable
    more variables to be localised.

  - Normalise comparison with an integer literal so we merge equivalent among
    actions such as this example from arabic.sbl:

      [substring] among (
         // [...]
         '{a}{n}' '{w}{n}' '{y}{n}' ($(len > 5) delete) // present
         '{t}{m}{a}' ($(len >= 6) delete)
      )

  - Check for identical amongs and merge their tables.  There are several
    instances of this in tamil.sbl.

  - The Snowball manual says:

      For any string, the slice ends should be assumed to be unset until
      they are set with the two commands `[` and `]`.

    For many target languages, we actually i

[Changelog truncated as it exceeds 5000 characters;
the full changelog can be found in an attachment to the AUH email]
---
 ...nowballstemmer_3.1.1.bb => python3-snowballstemmer_3.2.1.bb} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
 rename meta/recipes-devtools/python/{python3-snowballstemmer_3.1.1.bb => python3-snowballstemmer_3.2.1.bb} (76%)
diff mbox series

Patch

diff --git a/meta/recipes-devtools/python/python3-snowballstemmer_3.1.1.bb b/meta/recipes-devtools/python/python3-snowballstemmer_3.2.1.bb
similarity index 76%
rename from meta/recipes-devtools/python/python3-snowballstemmer_3.1.1.bb
rename to meta/recipes-devtools/python/python3-snowballstemmer_3.2.1.bb
index 7ae92deb8e..45f1632dcc 100644
--- a/meta/recipes-devtools/python/python3-snowballstemmer_3.1.1.bb
+++ b/meta/recipes-devtools/python/python3-snowballstemmer_3.2.1.bb
@@ -4,7 +4,7 @@  HOMEPAGE = "https://github.com/snowballstem/snowball"
 LICENSE = "BSD-3-Clause"
 LIC_FILES_CHKSUM = "file://COPYING;md5=07c3b61d971c3df6e19ce439cfe1fb8c"
 
-SRC_URI[sha256sum] = "e07bbc54a0d798fe6010a12398422e62a8bfbba95c394fd0956ef58cb4d3e260"
+SRC_URI[sha256sum] = "9fb598dd17dafe7b3679605b40aa54452dc5fad2fb67c860fffef05f67867fe7"
 
 inherit pypi python_setuptools_build_meta