Skip to content

Commit 1ac4304

Browse files
Release Managervbraun
Release Manager
authored andcommitted
Trac #27554: Kenzo interface is broken
Seems like a missing import... {{{ sage -t --long src/sage/interfaces/kenzo.py ********************************************************************** File "src/sage/interfaces/kenzo.py", line 157, in sage.interfaces.kenzo.EilenbergMacLaneSpace Failed example: f3 = EilenbergMacLaneSpace(AdditiveAbelianGroup([2]), 3) # optional - kenzo Exception raised: Traceback (most recent call last): File "/home/worker/sage-patchbot/local/lib/python2.7/site- packages/sage/doctest/forker.py", line 671, in _run self.compile_and_execute(example, compiler, test.globs) File "/home/worker/sage-patchbot/local/lib/python2.7/site- packages/sage/doctest/forker.py", line 1095, in compile_and_execute exec(compiled, globs) File "<doctest sage.interfaces.kenzo.EilenbergMacLaneSpace[3]>", line 1, in <module> f3 = EilenbergMacLaneSpace(AdditiveAbelianGroup([Integer(2)]), Integer(3)) # optional - kenzo File "/home/worker/sage-patchbot/local/lib/python2.7/site- packages/sage/interfaces/kenzo.py", line 164, in EilenbergMacLaneSpace elif G in CommutativeAdditiveGroups() and G.cardinality() == 2: NameError: global name 'CommutativeAdditiveGroups' is not defined ********************************************************************** File "src/sage/interfaces/kenzo.py", line 158, in sage.interfaces.kenzo.EilenbergMacLaneSpace Failed example: [f3.homology(i) for i in range(8)] # optional - kenzo Exception raised: Traceback (most recent call last): File "/home/worker/sage-patchbot/local/lib/python2.7/site- packages/sage/doctest/forker.py", line 671, in _run self.compile_and_execute(example, compiler, test.globs) File "/home/worker/sage-patchbot/local/lib/python2.7/site- packages/sage/doctest/forker.py", line 1095, in compile_and_execute exec(compiled, globs) File "<doctest sage.interfaces.kenzo.EilenbergMacLaneSpace[4]>", line 1, in <module> [f3.homology(i) for i in range(Integer(8))] # optional - kenzo NameError: name 'f3' is not defined ********************************************************************** }}} A problem with the instalation using different partitions has been solved upstream. We include a new version of the package here. The new tarball is in https://github.com/miguelmarco/kenzo/releases/download/1.1 .7-r3/kenzo-1.1.7-r3.tar.gz URL: https://trac.sagemath.org/27554 Reported by: jdemeyer Ticket author(s): Miguel Marco Reviewer(s): Dima Pasechnik
2 parents 44abe7e + 4cbeb6f commit 1ac4304

File tree

3 files changed

+6
-5
lines changed

3 files changed

+6
-5
lines changed

build/pkgs/kenzo/checksums.ini

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
tarball=kenzo-1.1.7-r1.tar.gz
2-
sha1=2c04d8bc958f472489be4c8cd6e7029da0e8a06c
3-
md5=1154e43f6db88b4924b447554329faa2
4-
cksum=2792773428
1+
tarball=kenzo-1.1.7-r3.tar.gz
2+
sha1=92433fee5f83d575483bbbd9730c2cb094c292a4
3+
md5=7dc2207eb8071a2710df825ac9409324
4+
cksum=3315029495

build/pkgs/kenzo/package-version.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
1.1.7-r1
1+
1.1.7-r3

src/sage/interfaces/kenzo.py

+1
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@
3636
from sage.homology.homology_group import HomologyGroup
3737
from sage.rings.integer_ring import ZZ
3838
from sage.groups.additive_abelian.additive_abelian_group import AdditiveAbelianGroup
39+
from sage.categories.commutative_additive_groups import CommutativeAdditiveGroups
3940

4041
from sage.libs.ecl import EclObject, ecl_eval, EclListIterator
4142

0 commit comments

Comments
 (0)