Skip to content

Commit 71be8d0

Browse files
Merge branch 'stable-0.4'
2 parents 7eb85e5 + 2a94cc6 commit 71be8d0

File tree

8 files changed

+31
-39
lines changed

8 files changed

+31
-39
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# libsemigroups_pybind11 - Version 0.4.0
1+
# libsemigroups_pybind11 - Version 0.4.1
22

33
## python bindings for the C++ library libsemigroups
44

@@ -80,10 +80,10 @@ Assuming that you have `libsemigroups` installed you can install
8080

8181
To build `libsemigroups_pybind11` from a release archive:
8282

83-
curl -L -O https://github.com/libsemigroups/libsemigroups_pybind11/releases/latest/download/libsemigroups_pybind11-0.4.0.tar.gz
84-
tar -xf libsemigroups_pybind11-0.4.0.tar.gz
85-
rm -f libsemigroups_pybind11-0.4.0.tar.gz
86-
cd libsemigroups_pybind11-0.4.0
83+
curl -L -O https://github.com/libsemigroups/libsemigroups_pybind11/releases/latest/download/libsemigroups_pybind11-0.4.1.tar.gz
84+
tar -xf libsemigroups_pybind11-0.4.1.tar.gz
85+
rm -f libsemigroups_pybind11-0.4.1.tar.gz
86+
cd libsemigroups_pybind11-0.4.1
8787
pip install .
8888

8989
## Building the documentation

docs/source/changelog.rst

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,13 @@
77
Changelog
88
=========
99

10+
v0.4.1 (released 11/10/2022)
11+
----------------------------
12+
13+
Update for version 2.3.1 of ``libsemigroups`` which contains some bugfixes in
14+
the ``Sims1`` class, the ``Presentation`` class and its helper functions.
15+
16+
1017
v0.4.0 (released 04/10/2022)
1118
----------------------------
1219

docs/source/conf.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,9 @@
2525
master_doc = "index"
2626
project = u"libsemigroups_pybind11"
2727
copyright = u"2021-2022, J. D. Mitchell + Maria Tsalakou"
28-
author = u"J. D. Mitchell"
29-
version = u"0.4.0"
30-
release = u"0.4.0"
28+
author = u"J. D. Mitchell + Maria Tsalakou"
29+
version = u"0.4.1"
30+
release = u"0.4.1"
3131
language = "python"
3232
exclude_patterns = ["_build"]
3333
pygments_style = "sphinx"

docs/source/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
libsemigroups_pybind11 - Version 0.4.0
1+
libsemigroups_pybind11 - Version 0.4.1
22
======================================
33

44
python bindings for the C++ library libsemigroups

docs/source/install.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
55
The full license is in the file LICENSE, distributed with this software.
66
7-
.. |libsemigroups-pybind11-version| replace:: 0.4.0
7+
.. |libsemigroups-pybind11-version| replace:: 0.4.1
88

99
Installation
1010
============

libsemigroups_pybind11/tools.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def minimum_libsemigroups_version():
2525
Returns the minimum required version of libsemigroups required to make
2626
this work.
2727
"""
28-
return "2.3.0"
28+
return "2.3.1"
2929

3030

3131
if PKGCONFIG_IMPORTED:

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
minimum_libsemigroups_version,
3030
)
3131

32-
__version__ = "0.4.0"
32+
__version__ = "0.4.1"
3333

3434

3535
def compare_version_numbers(supplied, required):

tests/test_present.py

Lines changed: 12 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -210,33 +210,18 @@ def check_sort_rules(W):
210210
presentation.add_rule(p, W([1, 2, 1]), W([0]))
211211
p.alphabet_from_rules()
212212
presentation.sort_rules(p)
213-
# TODO when we require libsemigroups v2.3.0 remove the first clause here!
214-
assert p.rules in (
215-
[
216-
W([1, 1]),
217-
W([1, 2, 1]),
218-
W([1, 2, 1]),
219-
W([1, 1, 2, 1]),
220-
W([1, 2, 1]),
221-
W([0]),
222-
W([0, 1, 2, 1]),
223-
W([1, 2, 1]),
224-
W([1, 1, 2, 1]),
225-
W([1, 1]),
226-
],
227-
[
228-
W([1, 2, 1]),
229-
W([0]),
230-
W([1, 1]),
231-
W([1, 2, 1]),
232-
W([1, 1, 2, 1]),
233-
W([1, 1]),
234-
W([0, 1, 2, 1]),
235-
W([1, 2, 1]),
236-
W([1, 2, 1]),
237-
W([1, 1, 2, 1]),
238-
],
239-
)
213+
assert p.rules == [
214+
W([1, 2, 1]),
215+
W([0]),
216+
W([1, 1]),
217+
W([1, 2, 1]),
218+
W([1, 1, 2, 1]),
219+
W([1, 1]),
220+
W([0, 1, 2, 1]),
221+
W([1, 2, 1]),
222+
W([1, 2, 1]),
223+
W([1, 1, 2, 1]),
224+
]
240225

241226

242227
def check_longest_common_subword(W):

0 commit comments

Comments
 (0)