Skip to content

Commit 87a91d9

Browse files
author
Release Manager
committed
gh-36878: polymake 4.11 <!-- ^^^^^ Please provide a concise, informative and self-explanatory title. Don't put issue numbers in there, do this in the PR body below. For example, instead of "Fixes #1234" use "Introduce new method to calculate 1+1" --> <!-- Describe your changes here in detail --> <!-- Why is this change required? What problem does it solve? --> <!-- If this PR resolves an open issue, please link to it here. For example "Fixes #12345". --> <!-- If your change requires a documentation PR, please link it appropriately. --> Fixes #36023 ### 📝 Checklist <!-- Put an `x` in all the boxes that apply. --> <!-- If your change requires a documentation PR, please link it appropriately --> <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> <!-- Feel free to remove irrelevant items. --> - [ ] The title is concise, informative, and self-explanatory. - [ ] The description explains in detail what this PR is about. - [ ] I have linked a relevant issue or discussion. - [ ] I have created tests covering the changes. - [ ] I have updated the documentation accordingly. ### ⌛ Dependencies <!-- List all open PRs that this PR logically depends on - #12345: short description why this is a dependency - #34567: ... --> - #36930 <!-- If you're unsure about any of these, don't hesitate to ask. We're here to help! --> URL: #36878 Reported by: Matthias Köppe Reviewer(s): Kwankyu Lee
2 parents fe174bf + dcbb426 commit 87a91d9

File tree

6 files changed

+25
-24
lines changed

6 files changed

+25
-24
lines changed

build/pkgs/polymake/SPKG.rst

Lines changed: 16 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -25,47 +25,48 @@ Dependencies
2525
------------
2626

2727
Polymake needs a working installation of Perl, including its shared
28-
library and some modules (XML::Writer XML::LibXML XML::LibXSLT
29-
Term::ReadLine::Gnu JSON SVG). The Polymake interface in Sage
30-
additionally needs File::Slurp. For full functionality including
31-
polymake's polyDB, also the Perl module MongoDB is needed.
28+
library and some modules (``XML::Writer XML::LibXML XML::LibXSLT
29+
Term::ReadLine::Gnu JSON SVG``). The Polymake interface in Sage
30+
additionally needs ``File::Slurp``. For full functionality including
31+
polymake's polyDB, also the Perl module ``MongoDB`` is needed.
3232

33-
These are not provided by a Sage package. The script package
34-
perl_cpan_polymake_prereq will signal an error at build time if the
33+
These are not provided by a Sage package. The dummy package
34+
``perl_cpan_polymake_prereq`` will signal an error at build time if the
3535
required prerequisites are not met.
3636

37-
The configure script will inform you about the equivalent system
37+
The ``configure`` script will inform you about the equivalent system
3838
packages that you should install. Otherwise, you can use CPAN (see
3939
below).
4040

41-
Sage might install the Term::ReadLine::Gnu module, however, when you
41+
Sage might install the ``Term::ReadLine::Gnu`` module, however, when you
4242
install polymake, if it is not provided by the system, or if Sage
43-
installs its own readline library.
43+
installs its own ``readline`` library.
4444

4545

4646
A distribution-independent way to install Perl modules (into a user's
47-
home directory or /usr/local) is using CPAN. This is also the way to
47+
home directory or ``/usr/local``) is using CPAN. This is also the way to
4848
install the modules on macOS. For this, if you don't have root access,
49-
you will need the local::lib Perl module installed::
49+
you will need the ``local::lib`` Perl module installed::
5050

5151
cpan -i XML::Writer XML::LibXML XML::LibXSLT File::Slurp Term::ReadLine::Gnu JSON SVG MongoDB
5252

53-
Several Sage packages should be installed before installing the polymake
53+
Several Sage packages should be installed before installing the ``polymake``
5454
package to give a more featureful Polymake installation::
5555

5656
sage -i 4ti2 latte_int topcom qhull
5757

5858
Software that would need to be installed manually (no Sage package
59-
available) for a more featureful Polymake installation: azove, porta,
60-
vinci, SplitsTree4.
59+
available) for a more featureful Polymake installation: ``azove``, ``porta``,
60+
``vinci``, ``SplitsTree4``.
6161

6262
Information on missing Polymake prerequisites after installing polymake::
6363

6464
$ sage -sh
6565
(sage-sh) $ polymake
6666
polytope> show_unconfigured;
6767

68-
In order to Polymake from Sage, you will need the JuPyMake::
68+
In order to use Polymake from Sage, you will also need the ``jupymake``
69+
package::
6970

7071
sage -i jupymake
7172

build/pkgs/polymake/checksums.ini

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
tarball=polymake-VERSION-minimal.tar.bz2
2-
sha1=e34a9cb83a831b4b058e0803a606f29ff940a4e2
3-
md5=2118f0cae2f512b994bbc72552966bb9
4-
cksum=2954910267
2+
sha1=0445f1a6d174906317a07c4bef299d0b4502c779
3+
md5=7a86d17822f229d6088dd7d65c8c1cad
4+
cksum=2732048385
55
upstream_url=https://polymake.org/lib/exe/fetch.php/download/polymake-VERSION-minimal.tar.bz2

build/pkgs/polymake/dependencies

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
$(MP_LIBRARY) bliss cddlib normaliz perl_term_readline_gnu ppl perl_cpan_polymake_prereq libxml2 lrslib | ninja_build
1+
$(MP_LIBRARY) bliss cddlib normaliz perl_term_readline_gnu ppl libxml2 perl_cpan_polymake_prereq lrslib | ninja_build
22

33
----------
44
All lines of this file are ignored except the first.

build/pkgs/polymake/dependencies_optional

Lines changed: 0 additions & 1 deletion
This file was deleted.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
4.9
1+
4.11

src/sage/geometry/polyhedron/base.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1175,12 +1175,13 @@ def _polymake_init_(self):
11751175
11761176
Floating-point polyhedron::
11771177
1178-
sage: P = polytopes.dodecahedron(exact=False); P # needs sage.groups
1178+
sage: # optional - jupymake, needs sage.groups
1179+
sage: P = polytopes.dodecahedron(exact=False); P
11791180
A 3-dimensional polyhedron in RDF^3 defined as the convex hull of 20 vertices
1180-
sage: print("Maybe recompile warning"); PP = polymake(P); PP # optional - jupymake, needs sage.groups
1181+
sage: print("There may be a recompilation warning"); PP = polymake(P); PP
11811182
There may be a recompilation warning...
11821183
Polytope<Float>[...]
1183-
sage: sorted(PP.VERTICES[:], key=repr)[0] # optional - jupymake, needs sage.groups
1184+
sage: sorted(PP.VERTICES[:], key=repr)[0]
11841185
1 -0.472135955 0 -1.236067978
11851186
11861187
"""

0 commit comments

Comments
 (0)