> >> I have opened a trac ticket <https://trac.sagemath.org/ticket/29221> >> now. Unfortunately something weird is happening with my local git branch. I >> have copied a file fast_vector_partitions.py with all the source code (it >> works in ordinary Python with 'import fast_vector_partitions') and >> recompiled Sage under this branch, which I call fast_vector_partitions (the >> head is local, no connection to the trac server yet). >> >> Problem: after rebuilding Sage under this branch I cannot use the >> functions in the file under the sage prompt - the function name is >> "undefined". I did both ./sage -br and make, several times. >> >> I can see that something happened in the build because the file has >> migrated from src/sage (where I put it) to src/build and local/lib, and >> a .pyc file has appeared: >> >> $ find . -name "*fast_vector*" >> ./src/build/lib.linux-x86_64-3.7/sage/combinat/fast_vector_partitions.py >> ./src/sage/combinat/fast_vector_partitions.py >> >> ./local/lib/python3.7/site-packages/sage/combinat/fast_vector_partitions.py >> >> ./local/lib/python3.7/site-packages/sage/combinat/__pycache__/fast_vector_partitions.cpython-37.pyc >> ./.git/logs/refs/heads/fast_vector_partitions >> ./.git/refs/heads/fast_vector_partitions >> >> I hesitate to connect this branch with the trac server before figuring >> out what is going on. In any case I think I should try the build locally >> first. >> > > there is nothing wrong with pushing a non-working branch somewhere. > This way it's very easy to see what's going wrong there. > (I guess it's something to do with importing things) >
Also linking it to the ticket by filling out the branch field there. Best, Travis -- You received this message because you are subscribed to the Google Groups "sage-combinat-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-combinat-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-combinat-devel/de04b8ee-a78f-44d3-b087-f37c61286da4%40googlegroups.com.