You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
sage: hg_sage.apply('https://github.com/sagemath/sage-prod/files/10640637/sage-3119-part4.patch.gz')
Attempting to load remote file: https://github.com/sagemath/sage/files/ticket3119/sage-3119-part4.patch.gz?format=raw
Loading: [.]
cd "/Users/was/s/devel/sage" && hg status
cd "/Users/was/s/devel/sage" && hg status
cd "/Users/was/s/devel/sage" && hg import "/Users/was/.sage/temp/teragon_2.local/2582/tmp_3.patch"
applying /Users/was/.sage/temp/teragon_2.local/2582/tmp_3.patch
sage:
Exiting SAGE (CPU time 0m0.27s, Wall time 0m44.10s).
teragon-2:~ was$ sage -br
----------------------------------------------------------
sage: Building and installing modified SAGE library files.
Installing c_lib
scons: `install' is up to date.
running install
running build
running build_py
copying sage/libs/mwrank/interface.py -> build/lib.macosx-10.3-i386-2.5/sage/libs/mwrank
copying sage/schemes/elliptic_curves/ell_rational_field.py -> build/lib.macosx-10.3-i386-2.5/sage/schemes/elliptic_curves
running build_ext
building 'sage.libs.mwrank.mwrank' extension
error: unknown file type '.pyx' (from 'sage/libs/mwrank/mwrank.pyx')
sage: There was an error installing modified sage library code.
teragon-2:~ was$ touch ~/d/sage/sage/libs/mwrank/mwrank.pyx
teragon-2:~ was$ sage -br
----------------------------------------------------------
sage: Building and installing modified SAGE library files.
Installing c_lib
scons: `install' is up to date.
Updating Cython code....
sage/libs/mwrank/mwrank.pyx --> /Users/was/s/local//lib/python/site-packages//sage/libs/mwrank/mwrank.pyx
Building sage/libs/mwrank/mwrank.c because it depends on sage/libs/mwrank/mwrank.pyx.
python2.5 `which cython` --embed-positions --incref-local-binop -I/Users/was/s/devel/sage-review -o sage/libs/mwrank/mwrank.c sage/libs/mwrank/mwrank.pyx
Finished updating Cython code (time = 5.777133 seconds)
So applying a patch introduced a .pyx file but the cache doesn't notice it because
it is new. This is a big problem. Maybe including the latest something from the
.hg directory in the cython .pyx hash that is computed in setup.py would very nicely
fix this.
Consider this unpleasant session.
So applying a patch introduced a .pyx file but the cache doesn't notice it because
it is new. This is a big problem. Maybe including the latest something from the
.hg directory in the cython .pyx hash that is computed in setup.py would very nicely
fix this.
William
Component: build
Issue created by migration from https://trac.sagemath.org/ticket/3491
The text was updated successfully, but these errors were encountered: