From 649b34dc19c818af36eb83a402f209fe0b0ee82b Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 2 Mar 2026 23:58:23 +0000 Subject: [PATCH 1/4] build(deps): bump the actions group with 2 updates Bumps the actions group with 2 updates: [actions/upload-artifact](https://github.com/actions/upload-artifact) and [actions/download-artifact](https://github.com/actions/download-artifact). Updates `actions/upload-artifact` from 6 to 7 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v6...v7) Updates `actions/download-artifact` from 7 to 8 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v7...v8) --- updated-dependencies: - dependency-name: actions/upload-artifact dependency-version: '7' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions - dependency-name: actions/download-artifact dependency-version: '8' dependency-type: direct:production update-type: version-update:semver-major dependency-group: actions ... Signed-off-by: dependabot[bot] --- .github/workflows/wheels.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 0070f905..15ee7cf6 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -33,7 +33,7 @@ jobs: uses: pypa/cibuildwheel@v3.3.1 with: output-dir: wheelhouse - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: cibw-wheels-${{ matrix.os }} path: ./wheelhouse/*.whl @@ -49,7 +49,7 @@ jobs: run: source etc/make-libsemigroups.sh && sudo make install - name: Build SDist run: uv build --sdist - - uses: actions/upload-artifact@v6 + - uses: actions/upload-artifact@v7 with: name: sdist path: dist/*.tar.gz @@ -73,7 +73,7 @@ jobs: steps: - name: Download wheels and sdist artifacts - uses: actions/download-artifact@v7 + uses: actions/download-artifact@v8 with: # Here, we could specify a name of an artifact, or a pattern that # matches the names of artifacts. However, by not specifying these From 486339f19972023ba86ec9e3902a4d081cd778d3 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 9 Mar 2026 22:59:49 +0000 Subject: [PATCH 2/4] build(deps): bump pypa/cibuildwheel in the actions group Bumps the actions group with 1 update: [pypa/cibuildwheel](https://github.com/pypa/cibuildwheel). Updates `pypa/cibuildwheel` from 3.3.1 to 3.4.0 - [Release notes](https://github.com/pypa/cibuildwheel/releases) - [Changelog](https://github.com/pypa/cibuildwheel/blob/main/docs/changelog.md) - [Commits](https://github.com/pypa/cibuildwheel/compare/v3.3.1...v3.4.0) --- updated-dependencies: - dependency-name: pypa/cibuildwheel dependency-version: 3.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions ... Signed-off-by: dependabot[bot] --- .github/workflows/wheels.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/wheels.yml b/.github/workflows/wheels.yml index 15ee7cf6..c1ae7c22 100644 --- a/.github/workflows/wheels.yml +++ b/.github/workflows/wheels.yml @@ -30,7 +30,7 @@ jobs: # Used to host cibuildwheel - name: Build wheel - uses: pypa/cibuildwheel@v3.3.1 + uses: pypa/cibuildwheel@v3.4.0 with: output-dir: wheelhouse - uses: actions/upload-artifact@v7 From 2fa1d95b52e16e360b2076b3cd4342ec4f05c5e3 Mon Sep 17 00:00:00 2001 From: James Mitchell Date: Thu, 12 Mar 2026 11:20:57 +0000 Subject: [PATCH 3/4] cong: modify tests for upstream change Specifically the changes in: https://github.com/libsemigroups/libsemigroups/pull/913 which change the number of runners in some Congruence objects, leading to tests failing where the number or existence of certain runners is assumed/required. --- src/cong.cpp | 4 +--- tests/test_cong.py | 12 ++++++------ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/src/cong.cpp b/src/cong.cpp index 7a439b69..53599009 100644 --- a/src/cong.cpp +++ b/src/cong.cpp @@ -67,9 +67,7 @@ individual algorithms, such as :any:`Kambites`, >>> cong = Congruence(congruence_kind.twosided, p) >>> is_obviously_infinite(cong) True - >>> cong.add_generating_pair([1, 1, 1], []) - <2-sided Congruence over with 1 gen. pair, 4 runners> - >>> cong.number_of_classes() + >>> cong.add_generating_pair([1, 1, 1], []).number_of_classes() 3 >>> is_obviously_infinite(cong) False diff --git a/tests/test_cong.py b/tests/test_cong.py index cb9b4e1f..61766e71 100644 --- a/tests/test_cong.py +++ b/tests/test_cong.py @@ -93,9 +93,9 @@ def test_has_get(): c = Congruence(congruence_kind.twosided, p) - assert c.number_of_runners() == 4 - assert c.has(ToddCoxeter) - tc = c.get(ToddCoxeter) + assert c.number_of_runners() <= 4 + assert c.has(Kambites) + k = c.get(Kambites) c.run() assert c.number_of_classes() == POSITIVE_INFINITY @@ -104,12 +104,12 @@ def test_has_get(): assert c.has(KnuthBendix) assert c.get(KnuthBendix).confluent() - # Check that the ToddCoxeter returned above outlives its deletion in + # Check that the Kambites returned above outlives its deletion in # Congruence - assert tc.number_of_classes() == POSITIVE_INFINITY + assert k.small_overlap_class() == 1 with pytest.raises(LibsemigroupsError): - c.get(ToddCoxeter) + c.get(Kambites) def test_normal_forms(): From db6fcc62adabbc55e6a1ce6ed488e8b44239991b Mon Sep 17 00:00:00 2001 From: James Mitchell Date: Mon, 16 Mar 2026 19:17:52 +0000 Subject: [PATCH 4/4] Bump libsemigroups -> v3.5.3 --- build_tools/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_tools/__init__.py b/build_tools/__init__.py index f5a48a3a..267ba36d 100644 --- a/build_tools/__init__.py +++ b/build_tools/__init__.py @@ -1,4 +1,4 @@ -# Copyright (c) 2021-2024 J. D. Mitchell +# Copyright (c) 2021-2026 J. D. Mitchell # # Distributed under the terms of the GPL license version 3. # @@ -11,4 +11,4 @@ def minimum_libsemigroups_version(): """Returns the minimum required version of libsemigroups required to build libsemigroups_pybind11. """ - return "3.5.1" + return "3.5.3"