[sage-devel] Re: SearchForest
Thank you for letting me know! I did search on the trac server, but did not find 16351 for some reason, only much older tickets that did not seem relevant. Anne On Thursday, September 10, 2020 at 11:25:03 AM UTC-7 Samuel Lelievre wrote: > > > Le jeudi 10 septembre 2020 19:11:16 UTC+2, Matthias Koeppe a écrit : >> >> On Thursday, September 10, 2020 at 9:56:13 AM UTC-7, Anne Schilling wrote: >>> >>> I upgraded to the latest development version and now my research code >>> complains that SearchForest cannot be found in sage.combinat.backtrack any >>> longer. How come there is no deprecation warning? Where did the code go? >>> >>> >> It was removed in https://trac.sagemath.org/ticket/16351 >> >> As discussed in the ticket, the deprecation happened in prehistoric >> times, before the invention of deprecation warnings. >> > > In such cases, the Trac query engine is your friend: > > A search for tickets with "searchforest" in the summary > > https://trac.sagemath.org/query?order=id&desc=1&summary=~searchforest > > reveals ticket 16351. > > You can also query for tickets with "searchforest" in the description: > > https://trac.sagemath.org/query?order=id&desc=1&description=~searchforest > > and there are many other options, see: > > https://trac.sagemath.org/query > > This is so useful that I added a "search engine shortcut" > to my browser. Often browsers have shortcuts to search > on bing, duckduckgo, google, wikipedia, ... > > b stuff > d stuff > g stuff > w stuff > > so why not add tsum and tdesc ("trac summary", "trac description") > to be able to search using > > tsum stuff > tdesc stuff > > respectively defined as > > https://trac.sagemath.org/query?order=id&desc=1&summary=~%s > https://trac.sagemath.org/query?order=id&desc=1&description=~%s > > See this howto for how to set custom search engines > in various browsers: > > https://www.howtogeek.com/114176 > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/386e3e43-8c86-438c-b608-70469f9da07en%40googlegroups.com.
[sage-devel] Re: What should Sage import by default?
On Tuesday, September 8, 2020 at 8:59:20 PM UTC-7, John H Palmieri wrote: > > > Re Nils' remarks: I think that we should have good reasons every time we > deviate from standard Python. From that point of view, maybe (?) "math" or > "operator" would be sensible things to import, although I don't remember > the last time I used either. > I think we should probably NOT be importing the functions in "math", but instead provide alternatives for most them, with improved functionality. I think that's already reality now. I was just giving "math" as an example in *python* where it's a little irritating that extra action is required to access the functionality. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/b5cf479f-bbea-40c5-80f1-6e941fe45832o%40googlegroups.com.
[sage-devel] Re: Beta 12 not building (Homebrew singular issue?)
Hi Matthias, It's attached to this message. Best, Zach On Thursday, September 10, 2020 at 1:07:27 PM UTC-4 Matthias Koeppe wrote: > On Thursday, September 10, 2020 at 9:58:02 AM UTC-7, Zachary Scherr wrote: >> >> >> Obviously this is not a big deal since I can just brew uninstall singular >> and then it builds successfully, but I've been wanting to contribute to >> sage development so I'm going to take this as an opportunity to try to >> track down what's going on. >> >> > Yes, this is much appreciated. So far I can't reproduce the error here > (after installing homebrew's singular), unfortunately. > > Could you post install.log please? > -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/3c9f01e9-ded6-43bd-8861-301d1e97a06an%40googlegroups.com. *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: *** *) *) *v*) *v*) *v*x*) *v*x*) *x*) *x*) ;; ;; ;; ;; ;; ;; ;; ;; IFS=$_mlIFS; IFS=$_mlIFS; IFS=' '; IFS=' '; MODULES_USE_COMPAT_VERSION=1; _mlIFS=$IFS; _mlIFS=$IFS; _mlre="${_mlre:-}${_mlv}='`eval 'echo ${'$_mlrv':-}'`' "; _mlre="${_mlre:-}${_mlv}='`eval 'echo ${'$_mlrv':-}'`' "; _mlre="${_mlre:-}${_mlv}_modquar='`eval 'echo ${'$_mlv'}'`' "; _mlre="${_mlre:-}${_mlv}_modquar='`eval 'echo ${'$_mlv'}'`' "; _mlrv="MODULES_RUNENV_${_mlv}"; _mlrv="MODULES_RUNENV_${_mlv}"; _mlshdbg='' _mlshdbg='' _mlshdbg='v' _mlshdbg='v' _mlshdbg='vx' _mlshdbg='vx' _mlshdbg='x' _mlshdbg='x' _mlstatus=$?; _mlstatus=$?; case "$-" in case "$-" in do do done; done; echo "Cannot switch to Modules $swname version, command not found"; echo "Switching to Modules $swname version"; else else else else else else esac; esac; eval `/usr/bin/tclsh /usr/local/Cellar/modules/4.5.3/libexec/modulecmd.tcl bash "$@"`; eval `/usr/bin/tclsh /usr/local/Cellar/modules/4.5.3/libexec/modulecmd.tcl bash "$@"`; eval `eval ${_mlre} /usr/bin/tclsh /usr/local/Cellar/modules/4.5.3/libexec/modulecmd.tcl bash '"$@"'`; eval `eval ${_mlre} /usr/bin/tclsh /usr/local/Cellar/modules/4.5.3/libexec/modulecmd.tcl bash '"$@"'`; export MODULES_USE_COMPAT_VERSION; fi fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; fi; for _mlv in ${MODULES_RUN_QUARANTINE:-}; for _mlv in ${MODULES_RUN_QUARANTINE:-}; if [ "${MODULES_SILENT_SHELL_DEBUG:-0}" = '1' ]; then if [ "${MODULES_SILENT_SHELL_DEBUG:-0}" = '1' ]; then if [ "${MODULES_USE_COMPAT_VERSION:-0}" = '1' ]; then if [ "${_mlv}" = "${_mlv##*[!A-Za-z0-9_]}" -a "${_mlv}" = "${_mlv#[0-9]}" ]; then if [ "${_mlv}" = "${_mlv##*[!A-Za-z0-9_]}" -a "${_mlv}" = "${_mlv#[0-9]}" ]; then if [ $swfound -eq 0 ]; then if [ -e /usr/local/Cellar/modules/4.5.3/libexec/modulecmd-compat ]; then if [ -e /usr/local/Cellar/modules/4.5.3/libexec/modulecmd.tcl ]; then if [ -n "${IFS+x}" ]; then if [ -n "${IFS+x}" ]; then if [ -n "${_mlIFS+x}" ]; then if [ -n "${_mlIFS+x}" ]; then if [ -n "${_mlre:-}" ]; then if [ -n "${_mlre:-}" ]; then if [ -n "${_mlshdbg:-}" ]; then if [ -n "${_mlshdbg:-}" ]; then if [ -n "`eval 'echo ${'$_mlv'+x}'`" ]; then if [ -n "`eval 'echo ${'$_mlv'+x}'`" ]; then return $_mlstatus return $_mlstatus return 1; set +v; set +v; set +vx; set +vx; set +x; set +x; set -$_mlshdbg; set -$_mlshdbg; source /usr/local/Cellar/modules/4.5.3/init/bash; typeset swfound=0; typeset swfound=0; typeset swname='compatibility'; typeset swname='main'; unset IFS; unset IFS; unset MODULES_USE_COMPAT_VERSION; unset _mlre _mlIFS; unset _mlre _mlIFS; unset _mlre _mlv _mlrv _mlIFS; unset _mlre _mlv _mlrv _mlIFS; unset _mlshdbg; unset _mlshdbg; ACLOCAL_PATH=/usr/local/opt/gettext/share/aclocal:/usr/local/opt/gettext/share/aclocal: BASH_ENV=/usr/local/Cellar/modules/4.5.3/init/bash BASH_FUNC__module_raw%%=() { unset _mlshdbg; BASH_FUNC_ml%%=() { module ml "$@" BASH_FUNC_module%%=() { unset _mlshdbg; BASH_FUNC_switchml%%=() { typeset swfound=1; BAT_PAGER=/Users/zscherr/.bat_pager.sh COLORFGBG=7;0 COLORTERM=truecolor CPATH=/usr/local/opt/readline/include:/usr/local/include:/usr/local/opt/readline/include:/usr/local/include DISPLAY=/private/tmp/com.apple.launchd.UU7qR1WGkL/org.macosforge.xquartz:0 EDITOR=vim ENV=/usr/local/Cellar/modules/4.5.3/init/profile.sh FPATH=/usr/local/Cellar/modules/4.5.3/init/zsh-functions:/Users/zscherr/.oh-my-zsh/plugins/web-search:/Users/zscherr/.oh-my-zsh/custom/plugins/zsh-autosuggestions:/Users/zscherr/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting:/Users/zscherr/.oh-my-zsh/plugins/extract:/Users/zscherr/.oh-my-zsh/plugins/colorize:/Users/zscherr/.oh-my-zsh/plugins/chucknorris:/Users/zscherr/.oh-my-zsh/plugins/colored-man-pages:/Users/zscherr/.oh-my-zsh/plugins/vi-mode:/Users/zscherr/.oh-my-zsh/plugins/brew:/Users/zscherr/.oh
[sage-devel] Re: SearchForest
Le jeudi 10 septembre 2020 19:11:16 UTC+2, Matthias Koeppe a écrit : > > On Thursday, September 10, 2020 at 9:56:13 AM UTC-7, Anne Schilling wrote: >> >> I upgraded to the latest development version and now my research code >> complains that SearchForest cannot be found in sage.combinat.backtrack any >> longer. How come there is no deprecation warning? Where did the code go? >> >> > It was removed in https://trac.sagemath.org/ticket/16351 > > As discussed in the ticket, the deprecation happened in prehistoric times, > before the invention of deprecation warnings. > In such cases, the Trac query engine is your friend: A search for tickets with "searchforest" in the summary https://trac.sagemath.org/query?order=id&desc=1&summary=~searchforest reveals ticket 16351. You can also query for tickets with "searchforest" in the description: https://trac.sagemath.org/query?order=id&desc=1&description=~searchforest and there are many other options, see: https://trac.sagemath.org/query This is so useful that I added a "search engine shortcut" to my browser. Often browsers have shortcuts to search on bing, duckduckgo, google, wikipedia, ... b stuff d stuff g stuff w stuff so why not add tsum and tdesc ("trac summary", "trac description") to be able to search using tsum stuff tdesc stuff respectively defined as https://trac.sagemath.org/query?order=id&desc=1&summary=~%s https://trac.sagemath.org/query?order=id&desc=1&description=~%s See this howto for how to set custom search engines in various browsers: https://www.howtogeek.com/114176 -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/50f655c6-9eda-4e57-895c-f05977a33c73o%40googlegroups.com.
[sage-devel] Re: SearchForest
On Thursday, September 10, 2020 at 9:56:13 AM UTC-7, Anne Schilling wrote: > > I upgraded to the latest development version and now my research code > complains that SearchForest cannot be found in sage.combinat.backtrack any > longer. How come there is no deprecation warning? Where did the code go? > > It was removed in https://trac.sagemath.org/ticket/16351 As discussed in the ticket, the deprecation happened in prehistoric times, before the invention of deprecation warnings. -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/8a1e28d0-959b-4b5a-ab51-66e6d16902e8o%40googlegroups.com.
[sage-devel] Re: Beta 12 not building (Homebrew singular issue?)
On Thursday, September 10, 2020 at 9:58:02 AM UTC-7, Zachary Scherr wrote: > > > Obviously this is not a big deal since I can just brew uninstall singular > and then it builds successfully, but I've been wanting to contribute to > sage development so I'm going to take this as an opportunity to try to > track down what's going on. > > Yes, this is much appreciated. So far I can't reproduce the error here (after installing homebrew's singular), unfortunately. Could you post install.log please? -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/b31d019b-4b1a-4e52-85f5-01b06f36b7dao%40googlegroups.com.
[sage-devel] Re: Beta 12 not building (Homebrew singular issue?)
Nope, my workflow for checking out the latest beta was just: ./bootstrap source .homebrew-build-env ./configure make -j8 V=0 build Obviously this is not a big deal since I can just brew uninstall singular and then it builds successfully, but I've been wanting to contribute to sage development so I'm going to take this as an opportunity to try to track down what's going on. On Thursday, September 10, 2020 at 12:44:28 AM UTC-4 Matthias Koeppe wrote: > You don't happen to set CFLAGS or CPPFLAGS by any chance? > > The problem in the failing compile command from your log is that > "-I/Users/zscherr/sage/develop/local/include" appears after > "-I/usr/local/include". It should appear before. > > gcc -Wno-unused-result -Wsign-compare -Wunreachable-code -fno-common > -dynamic -DNDEBUG -g -fwrapv -O3 -Wall -isysroot > /Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk > -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/usr/include > -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.15.sdk/System/Library/Frameworks/Tk.framework/Versions/8.5/Headers > > -I./sage/cpython -I/Users/zscherr/sage/develop/local/include/singular > -I/Users/zscherr/sage/develop/build/pkgs/sagelib/src > -I/Users/zscherr/sage/develop/build/pkgs/sagelib/src/sage/ext > -I/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/include/python3.8 > > -I/Users/zscherr/sage/develop/local/lib/python3.8/site-packages/numpy/core/include > > -Ibuild/cythonized -I/usr/local/include > -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/sqlite/include > -I/Users/zscherr/sage/develop/local/include > -I/usr/local/Cellar/python@3.8/3.8.5/Frameworks/Python.framework/Versions/3.8/include/python3.8 > > -c > build/cythonized/sage/algebras/letterplace/free_algebra_element_letterplace.cpp > > -o > build/temp.macosx-10.15-x86_64-3.8/build/cythonized/sage/algebras/letterplace/free_algebra_element_letterplace.o > > -fno-strict-aliasing -DCYTHON_CLINE_IN_TRACEBACK=1 -DSING_NDEBUG > -DOM_NDEBUG -I/Users/zscherr/sage/develop/local/include/singular -std=c++11 > > On Wednesday, September 9, 2020 at 8:52:07 PM UTC-7, Zachary Scherr wrote: >> >>Running ./sage -sh -c 'pkg-config --cflags singular' with home-brew's >> singular installed gives: >> >> -DSING_NDEBUG -DOM_NDEBUG -DSING_NDEBUG -DOM_NDEBUG -DSING_NDEBUG >> -DOM_NDEBUG -DSING_NDEBUG -DOM_NDEBUG >> -I/Users/zscherr/sage/develop/local/include/singular >> >> my env is a mess, but I do source .homebrew-build-env, here is what I >> think are the relevant variables: >> >> >> PATH=/usr/local/opt/gettext/bin:/Users/zscherr/perl5/bin:/usr/local/sbin:/usr/local/Cellar/modules/4.5.3/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/TeX/texbin:/opt/X11/bin:/Library/Apple/usr/bin >> >> PKG_CONFIG_PATH=/usr/local/opt/zlib/lib/pkgconfig:/usr/local/opt/sqlite/lib/pkgconfig:/usr/local/opt/readline/lib/pkgconfig:/usr/local/opt/openssl/lib/pkgconfig:/usr/local/opt/openblas/lib/pkgconfig:/usr/local/lib/pkgconfig: >> >> LIBRARY_PATH=/usr/local/opt/gcc@9/lib/gcc/9:/usr/local/opt/readline/lib:/usr/local/lib >> CPATH=/usr/local/opt/readline/include:/usr/local/include >> ACLOCAL_PATH=/usr/local/opt/gettext/share/aclocal: >> >> As expected, if I brew uninstall singular then running ./sage -sh -c >> 'pkg-config --cflags singular' gives >> >> -DSING_NDEBUG -DOM_NDEBUG -DSING_NDEBUG -DOM_NDEBUG -DSING_NDEBUG >> -DOM_NDEBUG -DSING_NDEBUG -DOM_NDEBUG >> -I/Users/zscherr/sage/develop/local/include/singular >> >> I was able to build beta 11 so I can try to git bisect if you think that >> would be useful. >> >> >> >> >> On Wednesday, September 9, 2020 at 11:04:16 PM UTC-4 Matthias Koeppe >> wrote: >> >>> On Wednesday, September 9, 2020 at 7:57:18 PM UTC-7, Matthias Koeppe >>> wrote: On Wednesday, September 9, 2020 at 6:49:36 PM UTC-7, Zachary Scherr wrote: > >I tried to build the most recent beta version of sage and it would > appear that it's taking issue with the fact that I have singular > installed > on my Mac 10.15.6 through homebrew. Homebrew's version is singular > 4.1.3p2 > and when I try to build sage I get errors like: > > "In file included from > build/cythonized/sage/rings/polynomial/plural.cpp:684: > /usr/local/include/singular/Singular/libsingular.h:15:10: fatal error: > 'polys/shiftop.h' file not found > #include "polys/shiftop.h" > > Could you run the following please: ./sage -sh -c 'pkg-config --cflags singular' >>> Also could you post the output of "env"? >>> (Do you use .homebrew-build-env to set environment variables?) >>> >>> -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-de
[sage-devel] SearchForest
Dear All, I upgraded to the latest development version and now my research code complains that SearchForest cannot be found in sage.combinat.backtrack any longer. How come there is no deprecation warning? Where did the code go? Best wishes, Anne -- You received this message because you are subscribed to the Google Groups "sage-devel" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-devel+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/sage-devel/e0fcc707-cfff-4735-a00d-b26fb27cecd9n%40googlegroups.com.