1. 23 Oct, 2016 1 commit
  2. 21 Oct, 2016 9 commits
  3. 20 Oct, 2016 2 commits
    • Release Manager's avatar
      Trac #21604: Cleaning up stale installed files in setup() · 3c7fefef
      Release Manager authored
      This part of `src/setup.py` should be moved inside some distutils
      command:
      {{{
      #########################################################
      ### Clean
      #########################################################
      
      print('Cleaning up stale installed files....')
      t = time.time()
      from sage_setup.clean import clean_install_dir
      output_dirs = SITE_PACKAGES + glob.glob(os.path.join(SAGE_SRC, 'build',
      'lib*'))
      for output_dir in output_dirs:
          print('- cleaning {0}'.format(output_dir))
          clean_install_dir(output_dir, python_packages, python_modules,
                  ext_modules, python_data_files)
      print('Finished cleaning, time: %.2f seconds.' % (time.time() - t))
      }}}
      
      URL: https://trac.sagemath.org/21604
      Reported by: jdemeyer
      Ticket author(s): Jeroen Demeyer
      Reviewer(s): Matthias Koeppe
      3c7fefef
    • Release Manager's avatar
      Trac #21596: Fix so that Matrix charpoly(algorithm='flint') doesn't destroy... · 7490b403
      Release Manager authored
      Trac #21596: Fix so that Matrix charpoly(algorithm='flint') doesn't destroy the polynomial ring generator
      
      One line fix coming shortly, I hope.
      
      URL: https://trac.sagemath.org/21596
      Reported by: bober
      Ticket author(s): Jonathan Bober
      Reviewer(s): Marc Mezzarobba
      7490b403
  4. 19 Oct, 2016 15 commits
    • Release Manager's avatar
      Trac #21549: Remove `sage-mode` as an optional package · 6960decf
      Release Manager authored
      The Sage-in-Emacs interface `sage-mode` is broken since IPython 5.0, see
      #21227. `sage-shell-mode` by stakemori is a very good alternative. This
      is distributed using the Emacs package manager MELPA, which should be
      familiar to any Emacs user (in both senses of the word "should"), so
      there is no real reason to distribute that with Sage or even have an
      spkg for it.
      
      The suggestion is therefore simply to remove `sage-mode` as an optional
      package from Sage.
      
      URL: https://trac.sagemath.org/21549
      Reported by: jsrn
      Ticket author(s): Matthias Koeppe
      Reviewer(s): Dima Pasechnik
      6960decf
    • Release Manager's avatar
      Trac #21544: LatticePoset: Add is_join_distributive (and dual) · b4867461
      Release Manager authored
      This patch will add function to check if a lattice is join-distributive.
      (And dually, if it is meet-distributive.)
      
      URL: https://trac.sagemath.org/21544
      Reported by: jmantysalo
      Ticket author(s): Jori Mäntysalo
      Reviewer(s): Travis Scrimshaw
      b4867461
    • Release Manager's avatar
      Trac #21539: make V=0 should silence the build · a7e687e5
      Release Manager authored
      Building sage outputs a lot. Especially in highly parallelized builds,
      the output is not very useful.
      
      This ticket implements an option to silence the build, using `make`
      argument (or environment variable) `V=0`. (This mimics the interface of
      [https://www.gnu.org/software/automake/manual/html_node/Automake-Silent-
      Rules.html#Automake-Silent-Rules Automake silent rules]; so this is one
      step towards #21566):
      {{{
      $ make -j8 V=0 autotools
      make -j8 build/make/Makefile
      make[1]: warning: -jN forced in submake: disabling jobserver mode.
      make[1]: `build/make/Makefile' is up to date.
      *** ALL ENVIRONMENT VARIABLES BEFORE BUILD: ***
      ... long list of environment variables elided -- this ticket does
      nothing about that ...
      ***********************************************
      make[1]: warning: -jN forced in submake: disabling jobserver mode.
      Running 'sage-spkg xz-5.2.2', output appears in
      /Users/mkoeppe/cvs/sage/logs/pkgs/xz-5.2.2.log...
      Running 'sage-spkg xz-5.2.2', output appears in
      /Users/mkoeppe/cvs/sage/logs/pkgs/xz-5.2.2.log... done
      Running 'sage-spkg autotools-20141105', output appears in
      /Users/mkoeppe/cvs/sage/logs/pkgs/autotools-20141105.log...
      =========================== WARNING ===========================
      You are about to download and install the experimental package
      autotools-20141105.  This probably won't work at all for you! There
      is no guarantee that it will build correctly, or behave as
      expected. Use at your own risk!
      ===============================================================
      Are you sure you want to continue [Y/n]?
      OK, installing autotools-20141105 now.
      Running 'sage-spkg autotools-20141105', output appears in
      /Users/mkoeppe/cvs/sage/logs/pkgs/autotools-20141105.log... exit status
      1
      make[1]: *** [/Users/mkoeppe/cvs/sage/local/var/lib/sage/installed/autot
      ools-20141105] Error 1
      }}}
      
      Note that, though all output is redirected, the interactive questions
      (#20884, #21082) still go through to the terminal. This is achieved by
      using `/dev/tty`.
      
      The patch also unconditionally silences a few make recipe lines
      involving `sage-logger`.
      
      Follow-up ticket: #21589
      
      URL: https://trac.sagemath.org/21539
      Reported by: mkoeppe
      Ticket author(s): Matthias Koeppe
      Reviewer(s): John Palmieri
      a7e687e5
    • Release Manager's avatar
      Trac #21528: LatticePoset: Add is_semidistributive() · cf186f1e
      Release Manager authored
      This patch adds a function to check if a lattice is semidistributive,
      i.e. both meet- and join-semidistributive.
      
      It is not explicitly said in any paper that a join- (or
      meet-)semidistributive lattice with equal number of meet- and join-
      irreducible elements is (fully) semidistributive. However, J.B. Nation
      forwarded a proof by Kira Adaricheva to me. It uses the fact that a
      meet-semidistributive lattice has a kappa function for every join-
      irreducible (dually, a dual kappa for meet-semidistributive lattices).
      An element that is minimal among those below a meet-irreducible but not
      below the upper cover of meet-irreducible is join-irreducible. Following
      that we can deduce that kappa and dual-kappa are in 1-to-1 relationship,
      and so the lattice is (fully) semidistributive.
      
      URL: https://trac.sagemath.org/21528
      Reported by: jmantysalo
      Ticket author(s): Jori Mäntysalo
      Reviewer(s): Frédéric Chapoton
      cf186f1e
    • Release Manager's avatar
      Trac #21512: Package notedown · ab1ca905
      Release Manager authored
      `notedown` creates jupyter notebooks from markdown. It is a dependency
      of `rst_to_ipynb`.
      
      - upstream zipball : https://github.com/aaren/notedown/archive/dfda648b7
      6af1d4760652050d47354ce704992af.zip to be renamed `notedown-
      dfda648b.zip`
      - alternative download : https://lipn.univ-
      paris13.fr/~monteil/hebergement/tmp/notedown-dfda648b.zip
      
      URL: https://trac.sagemath.org/21512
      Reported by: tmonteil
      Ticket author(s): Thierry Monteil
      Reviewer(s): Sébastien Labbé
      ab1ca905
    • Release Manager's avatar
      Trac #21490: package pandoc_attributes · 05708046
      Release Manager authored
      `pandoc_attributes` is a dependency of `notedown`, which is a dependency
      of `rst_to_ipynb`.
      
      Tarball can be found at https://github.com/aaren/pandoc-
      attributes/archive/8bc82f6d0d1421c7ba84b480748fb89269c6523e.zip and
      should be renamed `pandoc_attributes-8bc82f6d.zip`. See also
      https://lipn.univ-paris13.fr/~monteil/hebergement/tmp/pandoc_attributes-
      8bc82f6d.zip for a direct download.
      
      URL: https://trac.sagemath.org/21490
      Reported by: tmonteil
      Ticket author(s): Thierry Monteil
      Reviewer(s): Sébastien Labbé
      05708046
    • Release Manager's avatar
      Trac #21372: Move Pynac interface to src/sage/libs/pynac · e90bb615
      Release Manager authored
      The directory `src/sage/symbolic` contains a mixture of modules which
      just define the Pynac interface and modules which implement the Sage
      symbolics.
      
      This ticket moves all Pynac stuff to `src/sage/libs/pynac`. Also rename
      `ginac.pxd` -> `pynac.pxd`.
      
      URL: https://trac.sagemath.org/21372
      Reported by: jdemeyer
      Ticket author(s): Jeroen Demeyer
      Reviewer(s): Travis Scrimshaw
      e90bb615
    • Release Manager's avatar
      Trac #21231: improve FriCAS interface · e2c09d57
      Release Manager authored
      The FriCAS interface is currently very rudimentary.  In particular,
      converting the results of a computation into sage types is available
      only in very few special cases.
      
      URL: https://trac.sagemath.org/21231
      Reported by: mantepse
      Ticket author(s): Martin Rubey
      Reviewer(s): Bill Page, Emmanuel Charpentier
      e2c09d57
    • Release Manager's avatar
      Trac #21210: adding a sphinx role linking to pari documentation · a106b1b6
      Release Manager authored
      So that references in sage manuals to pari functions become active
      links.
      
      Pari is now able to provide automatic links
      to the documentation of every function. Let us use that!
      
      URL: https://trac.sagemath.org/21210
      Reported by: chapoton
      Ticket author(s): Frédéric Chapoton
      Reviewer(s): Travis Scrimshaw
      a106b1b6
    • Release Manager's avatar
      Trac #21069: comparison of permutation and standard permutation · 2f6b7941
      Release Manager authored
      Because `ClonableArray` also takes the parent into consideration of
      equality checking, we currently have the following:
      {{{
      sage: Permutations([1])[0] == Permutation([1])
      False
      }}}
      I propose to have `Permutations(range(n))` be ''identical'' to
      `Permutations(n)`.
      
      URL: https://trac.sagemath.org/21069
      Reported by: dkrenn
      Ticket author(s): Travis Scrimshaw
      Reviewer(s): Darij Grinberg
      2f6b7941
    • Release Manager's avatar
      Trac #20710: upgrade glpk to 4.60 · a0a5daae
      Release Manager authored
      I suggest to upgrade `glpk` to the latest available version (4.60 at the
      time of writing). The current version has been superseded in Gentoo and
      the formatting of the output has changed.
      Here are the tasks for this upgrade:
      
      1. use `spkg-src` instead of patching `configure` directly
      
      2. some part of `have_error.patch` is now upstream, but not every piece
      of that patch was accepted
      
      3. clean up `SPKG.txt` and other files so they are reflecting the
      current reality more closely without obsolete historical comments
      
      '''Tarball''': http://www.lmona.de/files/sage/glpk-4.60.tar.bz2
      (generated with `spkg-src`)
      
      URL: https://trac.sagemath.org/20710
      Reported by: fbissey
      Ticket author(s): François Bissey
      Reviewer(s): Matthias Koeppe, Jeroen Demeyer
      a0a5daae
    • Release Manager's avatar
      Trac #20241: Separate Sage-specific components from generic C-interface in PariInstance · 395e999c
      Release Manager authored
      In preparation for #20238, take out of `PariInstance` all components
      specific to Sage.
      
      URL: https://trac.sagemath.org/20241
      Reported by: defeo
      Ticket author(s): Luca De Feo
      Reviewer(s): Jeroen Demeyer
      395e999c
    • Release Manager's avatar
      Trac #21454: Create master references/bibliography file · 95e85dcb
      Release Manager authored
      The eventual goal is to move all references to a central file. This
      deals with many of the references, but not all of them. (So far, it
      hasn't dealt with the references in `combinat`, `graphs`, `rings`, or
      `schemes`.)
      
      URL: https://trac.sagemath.org/21454
      Reported by: jhpalmieri
      Ticket author(s): John Palmieri, Johan Rosenkilde
      Reviewer(s): Johan Rosenkilde, John Palmieri
      95e85dcb
    • Frederic HAN's avatar
      c709c1ee
    • Frederic HAN's avatar
  5. 18 Oct, 2016 9 commits
    • Release Manager's avatar
      Trac #17254: Upgrade to Singular-4.x.x · d34fb70c
      Release Manager authored
      '''Lots''' of stuff has changed in Singular 4.
      This is a big update.
      
      Build system completely changed, and a lot of internal stuff.
      
      Original upstream tarball at `www.mathematik.uni-
      kl.de/ftp/pub/Math/Singular/SOURCES/4-0-3/`:  `singular-4.0.3p3`
      '''dot''' `tar` '''dot''' `gz`
      
      Modified tarball made with spkg-src at:
      * http://www.lmona.de/files/sage/singular-4.0.3p3.tar.bz2
      
      This corresponds to commit a070b84d whose message tells 4.0.3p3 and on
      which this branch was based:
      * https://github.com/Singular/Sources/commit/a070b84d59be835a2946d1386ed
      d3221d80f3fe7
      
      You can also make your own tarball based on this commit or another one
      with
      {{{
      env SINGULAR_GIT_COMMIT=a070b84d ./sage --sh build/pkgs/singular/spkg-
      src
      ./sage --package fix-checksum singular
      }}}
      This script is loosely based on the `make_tar.sh` script from upstream.
      
      URL: https://trac.sagemath.org/17254
      Reported by: jdemeyer
      Ticket author(s): Jakob Kroeker, Jean-Pierre Flori, Jeroen Demeyer, John
      Perry, François Bissey, Leif Leonhardy, Dima Pasechnik
      Reviewer(s): François Bissey, Jeroen Demeyer, Ben Hutz, Leif Leonhardy,
      Dima Pasechnik, Travis Scrimshaw
      d34fb70c
    • Release Manager's avatar
      Trac #16320: Handle finite slices for infinite enumerate sets · 0e248ffc
      Release Manager authored
      Given an infinite enumerated set `I`, I'd still expect this to work (and
      it's very handy):
      {{{
      sage: Partitions()[:5]
      [[], [1], [2], [1, 1], [3]]
      }}}
      
      URL: https://trac.sagemath.org/16320
      Reported by: tscrim
      Ticket author(s): Travis Scrimshaw
      Reviewer(s): Nathann Cohen, Darij Grinberg
      0e248ffc
    • Release Manager's avatar
      Trac #12437: Fix remaining C++ issues of Lcalc (also to let it build with clang) · 455d8f40
      Release Manager authored
      Lcalc still uses some non-standard "features" of `g++`.
      
      C++ compilers that are pickier than `g++` will not allow this.
      
      GCC 5.x again got stricter and now also needs the second "default
      parameter" patch (or once again `-fpermissive`) mentioned below.
      
      ----
      Current branch fix usage of internal headers and some declarations. More
      to be done as I haven't even scratched the issues mentioned in this
      ticket - unless they have been fixed by another merged ticket.
      
      URL: https://trac.sagemath.org/12437
      Reported by: ohanar
      Ticket author(s): François Bissey
      Reviewer(s): Travis Scrimshaw
      455d8f40
    • Release Manager's avatar
      Trac #10775: streamline plots · 3e736e48
      Release Manager authored
      Recently there was a thread on the matplotlib list where someone posted
      matplotlib code for a streamline plot.  It looks very nice.  If the code
      doesn't get included in matplotlib, we could still ask about including
      it in Sage to do streamline plots.
      
      Mailing list message:
      http://permalink.gmane.org/gmane.comp.python.matplotlib.general/26362
      
      Mailing list thread:
      http://comments.gmane.org/gmane.comp.python.matplotlib.general/26354
      
      Example code: http://web.mit.edu/speth/Public/streamlines.py
      
      Example plot: http://web.mit.edu/speth/Public/streamlines.png
      
      URL: https://trac.sagemath.org/10775
      Reported by: jason
      Ticket author(s): Paul Masson
      Reviewer(s): Travis Scrimshaw
      3e736e48
    • Release Manager's avatar
      Trac #21711: Fix regresion introduced by #21670 · 8bd5f59b
      Release Manager authored
      #21670, while fixing `%attach` crashes sage if, for any reason,
      `select.select()` is
      interrupted once a file has been attached. This happens for example when
      resizing windows.
      
      Here is how to reproduce the bug. In a new xterm run
      
      {{{
      $ echo "a = 1" > /tmp/test.py
      $ sage
      ┌────────────────────────────────────────────────────────────────────┐
      │ SageMath version 7.4.rc2, Release Date: 2016-10-15                 │
      │ Type "notebook()" for the browser-based notebook interface.        │
      │ Type "help()" for help.                                            │
      └────────────────────────────────────────────────────────────────────┘
      ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
      ┃ Warning: this is a prerelease version, and it may be unstable.     ┃
      ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
      sage:
      }}}
      
      Now resize the xterm, everything works as it is supposed to.
      Now attach /tmp/test.py and again resize the window:
      {{{
      sage: %attach /tmp/test.py
      sage:
      
      **********************************************************************
      
      Oops, Sage crashed. We do our best to make it stable, but...
      }}}
      
      URL: https://trac.sagemath.org/21711
      Reported by: etn40ff
      Ticket author(s): Salvatore Stella
      Reviewer(s): Volker Braun
      8bd5f59b
    • Release Manager's avatar
      Trac #21545: Upgrade to IPython 5.1 · c71b26d6
      Release Manager authored
      Hopefully part of the solution to restore the broken %attach.
      
      URL: https://trac.sagemath.org/21545
      Reported by: chapoton
      Ticket author(s): Volker Braun
      Reviewer(s): Travis Scrimshaw
      c71b26d6
    • Volker Braun's avatar
      Updated SageMath version to 7.4 · 1b1e6f60
      Volker Braun authored
      1b1e6f60
    • Jeroen Demeyer's avatar
      Fix import in doctest · 397959db
      Jeroen Demeyer authored
      397959db
    • Jeroen Demeyer's avatar
      Merge tag '7.4.rc2' into t/21372/move_pynac_interface_to_src_sage_libs_pynac · 502948a9
      Jeroen Demeyer authored
      SageMath version 7.4.rc2
      502948a9
  6. 17 Oct, 2016 2 commits
  7. 15 Oct, 2016 2 commits