Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade cython to version 0.20.1 #15755

Closed
ohanar opened this issue Jan 28, 2014 · 49 comments
Closed

Upgrade cython to version 0.20.1 #15755

ohanar opened this issue Jan 28, 2014 · 49 comments

Comments

@ohanar
Copy link
Member

ohanar commented Jan 28, 2014

Upstream tarball: http://cython.org/release/Cython-0.20.1.tar.gz

CC: @robertwb @mezzarobba @jpflori

Component: packages: standard

Author: R. Andrew Ohana, Jeroen Demeyer

Branch/Commit: faf410f

Reviewer: R. Andrew Ohana

Issue created by migration from https://trac.sagemath.org/ticket/15755

@ohanar ohanar added this to the sage-6.1 milestone Jan 28, 2014
@ohanar
Copy link
Member Author

ohanar commented Jan 28, 2014

Branch: u/ohanar/upgrade_cython

@ohanar
Copy link
Member Author

ohanar commented Jan 28, 2014

Commit: 8ab4be3

@ohanar
Copy link
Member Author

ohanar commented Jan 28, 2014

comment:1

Still needs some work. There seems to be some new overflow issues popping up with the libgap and polybori interfaces (at least that appears to be the issue with the failing doctests in sage.groups.matrix_gps.finitely_generated and sage.rings.polynomial.pbori).


New commits:

019d4d0cython: upgrade to 0.20
8ab4be3cython-0.20: fix doctests

@ohanar

This comment has been minimized.

@kiwifb
Copy link
Member

kiwifb commented Jan 29, 2014

comment:3

well we have some fun with cython-0.20 in sage-on-gentoo since yesterday. We have a whole series of tests that fail in matroids.
cschwan/sage-on-gentoo#275 I also posted about it on the cython user list earlier today.

@ohanar
Copy link
Member Author

ohanar commented Jan 29, 2014

comment:4

Replying to @kiwifb:

well we have some fun with cython-0.20 in sage-on-gentoo since yesterday. We have a whole series of tests that fail in matroids.

Yes, I already added a patch to revert the broken optimizations.

@kiwifb
Copy link
Member

kiwifb commented Jan 29, 2014

comment:5

I didn't see that one before posting. That's quite a lot of broken doctests without.

@ohanar
Copy link
Member Author

ohanar commented Jan 29, 2014

comment:6

Replying to @kiwifb:

I didn't see that one before posting. That's quite a lot of broken doctests without.

Yes, it is really amazing that these are the first doctests that actually test list multiplication with more than two terms (i.e. [None] * 2 * 3 fails to produce the correct result in Cython-0.20) and that there are no tests in the Cython test suite that test such basic functionality.

@jdemeyer
Copy link

comment:7

Remember to document the patch in SPKG.txt.

@sagetrac-vbraun-spam sagetrac-vbraun-spam mannequin modified the milestones: sage-6.1, sage-6.2 Jan 30, 2014
@robertwb
Copy link
Contributor

comment:9

Did you run into issues with PPL? E.g.

https://sage.math.washington.edu:8091/hudson/job/sage-git-build/40/consoleText

sage/libs/ppl.cpp: In function 'PyObject* __pyx_pf_4sage_4libs_3ppl_11MIP_Problem_30solve(__pyx_obj_4sage_4libs_3ppl_MIP_Problem*)':
sage/libs/ppl.cpp:5514:33: error: 'PPL_MIP_Problem_Status' in namespace 'Parma_Polyhedra_Library' does not name a type
sage/libs/ppl.cpp:5514:67: error: invalid type in declaration before ';' token
sage/libs/ppl.cpp: In function 'PyObject* __pyx_pf_4sage_4libs_3ppl_9Generator_16type(__pyx_obj_4sage_4libs_3ppl_Generator*)':
sage/libs/ppl.cpp:19487:3: error: 'PPL_GeneratorType' is not a member of 'Parma_Polyhedra_Library::Generator'
sage/libs/ppl.cpp:19487:57: error: expected ';' before '__pyx_v_t'
sage/libs/ppl.cpp:19502:3: error: '__pyx_v_t' was not declared in this scope
sage/libs/ppl.cpp: In function 'PyObject* __pyx_pf_4sage_4libs_3ppl_9Generator_40__reduce__(__pyx_obj_4sage_4libs_3ppl_Generator*)':
sage/libs/ppl.cpp:20508:3: error: 'PPL_GeneratorType' is not a member of 'Parma_Polyhedra_Library::Generator'
sage/libs/ppl.cpp:20508:57: error: expected ';' before '__pyx_v_t'
sage/libs/ppl.cpp:20527:3: error: '__pyx_v_t' was not declared in this scope
sage/libs/ppl.cpp: In function 'PyObject* __pyx_pf_4sage_4libs_3ppl_10Constraint_8type(__pyx_obj_4sage_4libs_3ppl_Constraint*)':
sage/libs/ppl.cpp:23983:3: error: 'PPL_ConstraintType' is not a member of 'Parma_Polyhedra_Library::Constraint'
sage/libs/ppl.cpp:23983:59: error: expected ';' before '__pyx_v_t'
sage/libs/ppl.cpp:23995:3: error: '__pyx_v_t' was not declared in this scope

@kiwifb
Copy link
Member

kiwifb commented Jan 31, 2014

comment:10

I didn't when I built sage against pristine cython-0.20 here. In fact it all built, it just failed so many doctests on matroids it wasn't funny.

@kiwifb
Copy link
Member

kiwifb commented Jan 31, 2014

comment:11

Would you actually be getting ppl headers from the distro rather than sage's one?

@jdemeyer
Copy link

jdemeyer commented Feb 8, 2014

Changed branch from u/ohanar/upgrade_cython to u/jdemeyer/ticket/15755

@jdemeyer

This comment has been minimized.

@jdemeyer
Copy link

jdemeyer commented Feb 8, 2014

Changed commit from 8ab4be3 to 38687c9

@jdemeyer
Copy link

jdemeyer commented Feb 8, 2014

comment:13

PPL problem confirmed.


New commits:

38687c9Cython: upgrade to 0.20.1

@jdemeyer
Copy link

jdemeyer commented Feb 8, 2014

Author: R. Andrew Ohana

@jdemeyer jdemeyer changed the title upgrade cython to version 0.20 Upgrade cython to version 0.20.1 Feb 8, 2014
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 8, 2014

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

cf1bb52Cython: upgrade to 0.20.1

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 8, 2014

Changed commit from 38687c9 to cf1bb52

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 8, 2014

Changed commit from cf1bb52 to 0bbdc9c

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 8, 2014

Branch pushed to git repo; I updated commit sha1. New commits:

0bbdc9cFix PPL declarations

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 8, 2014

Changed commit from 0bbdc9c to 2b6f3da

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Feb 8, 2014

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

2b6f3daFix PPL and libGAP declarations

@vbraun
Copy link
Member

vbraun commented Feb 20, 2014

Changed branch from u/jdemeyer/ticket/15755 to 115c8fc

@vbraun
Copy link
Member

vbraun commented Feb 21, 2014

comment:24

Full rebuild doesn't work:

Successfully installed eclib-20140128
Deleting temporary build directory
/home/release/Sage/local/var/tmp/sage/build/eclib-20140128
Finished installing eclib-20140128.spkg
if [ -z "$SAGE_INSTALL_FETCH_ONLY" ]; then \
	cd /home/release/Sage/src && source bin/sage-env && \
	/home/release/Sage/build/pipestatus 'time python setup.py install 2>&1' 'tee -a /home/release/Sage/logs/pkgs/sage-6.2.beta2.log' && \
	touch /home/release/Sage/local/var/lib/sage/installed/sage; \
fi
Updating Cython code....
Traceback (most recent call last):
  File "setup.py", line 501, in <module>
    from Cython.Build import cythonize
ImportError: No module named Cython.Build

@vbraun
Copy link
Member

vbraun commented Feb 21, 2014

Changed commit from 115c8fc to none

@vbraun vbraun reopened this Feb 21, 2014
@jdemeyer
Copy link

Commit: 115c8fc

@jdemeyer
Copy link

Changed branch from 115c8fc to u/jdemeyer/ticket/15755

@jdemeyer
Copy link

New commits:

cf1bb52Cython: upgrade to 0.20.1
b17f7c8Fix various declarations
115c8fcFix version and checksum for Cython 0.20.1

@jdemeyer
Copy link

comment:26

Replying to @vbraun:

Full rebuild doesn't work:

What does the "full rebuild" script do? Works for me after make distclean.

@jdemeyer
Copy link

comment:27

Do you have a link to the complete install.log from that build?

@vbraun
Copy link
Member

vbraun commented Feb 21, 2014

comment:28

Thats what I meant... maybe the failure was from another ticket. Will try again...

@vbraun
Copy link
Member

vbraun commented Feb 21, 2014

Changed branch from u/jdemeyer/ticket/15755 to 115c8fc

@vbraun vbraun closed this as completed Feb 21, 2014
@jdemeyer
Copy link

Changed commit from 115c8fc to none

@jdemeyer
Copy link

New commits:

cf1bb52Cython: upgrade to 0.20.1
b17f7c8Fix various declarations
115c8fcFix version and checksum for Cython 0.20.1

@jdemeyer
Copy link

Commit: 115c8fc

@jdemeyer
Copy link

Changed branch from 115c8fc to u/jdemeyer/ticket/15755

@jdemeyer
Copy link

Changed commit from 115c8fc to faf410f

@jdemeyer
Copy link

New commits:

413ab85Make sure PolyBoRi hashes return Py_ssize_t
faf410fMerge branch 'u/jdemeyer/ticket/15755' of git://trac.sagemath.org/sage into ticket/15755

@vbraun
Copy link
Member

vbraun commented Mar 2, 2014

Changed branch from u/jdemeyer/ticket/15755 to faf410f

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants