Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update polymake to 4.5, change from experimental to optional #32605

Closed
mkoeppe opened this issue Oct 1, 2021 · 26 comments
Closed

Update polymake to 4.5, change from experimental to optional #32605

mkoeppe opened this issue Oct 1, 2021 · 26 comments

Comments

@mkoeppe
Copy link
Contributor

mkoeppe commented Oct 1, 2021

https://polymake.org/doku.php/news/release_4_5 (2021-09-29)

Previous update: 4.4 (#27745)

Depends on #31163

CC: @kliem @tscrim @sagetrac-tmonteil @simon-king-jena

Component: packages: optional

Author: Matthias Koeppe

Branch: 015b899

Reviewer: Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/32605

@mkoeppe mkoeppe added this to the sage-9.5 milestone Oct 1, 2021
@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 1, 2021

comment:2
[polymake-4.5] checking perl module Term::ReadKey ... failed
[polymake-4.5] WARNING: perl module Term::ReadKey required for polymake not found on your machine.
[polymake-4.5]          Please be sure to install it prior to starting to use polymake. 
[}}}

@mkoeppe mkoeppe changed the title Update polymake to 4.5 Update polymake to 4.5, change from experimental to optional Oct 1, 2021
@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 1, 2021

comment:4
sage -t --random-seed=0 src/sage/interfaces/polymake.py
**********************************************************************
File "src/sage/interfaces/polymake.py", line 2185, in sage.interfaces.polymake.PolymakeExpect._eval_line
Failed example:
    c                                 # optional - polymake
Expected:
    cube of dimension 15
Got:
    <repr(<sage.interfaces.polymake.PolymakeElement at 0x4141d9f80>) failed: sage.interfaces.polymake.PolymakeError: Can't locate object method "description" via package "1" (perhaps you forgot to load "1"?)>
**********************************************************************
File "src/sage/interfaces/polymake.py", line 2187, in sage.interfaces.polymake.PolymakeExpect._eval_line
Failed example:
    c.N_VERTICES                      # optional - polymake
Expected:
    32768
Got:
    Member function 'N_VERTICES' of 1 object
**********************************************************************

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 1, 2021

Branch: u/mkoeppe/update_polymake_to_4_5

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 1, 2021

Commit: bcfe163

@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 1, 2021

Author: Matthias Koeppe

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 1, 2021

New commits:

8f1b816build/pkgs/perl_cpan_polymake_prereq/distros: Add info for Term::ReadKey
654e6eabuild/pkgs/{perl_term_readline_gnu,polymake}: Change from experimental to optional
bcfe163build/pkgs/polymake: Update to 4.5

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 1, 2021

comment:7

Replying to @mkoeppe:

sage -t --random-seed=0 src/sage/interfaces/polymake.py
**********************************************************************
File "src/sage/interfaces/polymake.py", line 2187, in sage.interfaces.polymake.PolymakeExpect._eval_line
Failed example:
    c.N_VERTICES                      # optional - polymake
Expected:
    32768
Got:
    Member function 'N_VERTICES' of 1 object
**********************************************************************

This one (with the deprecated pexpect-based interface) we already saw in the previous upgrade ticket, #27745 comment:69

@tscrim
Copy link
Collaborator

tscrim commented Oct 1, 2021

comment:8

If we are having a test failure like that, then we can't upgrade this to an optional. Or is it still marked as # known bug?

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 1, 2021

comment:9

Right, we had marked some of the failing or non-robust tests optional - polymake_expect.
I'll mark the ones that failed this time in the same way.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 1, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

9d2674bsrc/sage/interfaces/polymake.py: Mark some more doctests '# optional - polymake_expect'

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 1, 2021

Changed commit from bcfe163 to 9d2674b

@tscrim
Copy link
Collaborator

tscrim commented Oct 1, 2021

comment:11

Okay, that will be good.

The only other thing I am not sure about with making this optional is the perl dependencies. It should be okay, but I feel like we should just double check on sage-devel about this.

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 1, 2021

Dependencies: #31163

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 1, 2021

Changed commit from 9d2674b to 8c8e1c4

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 1, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

2576f86build/make/Makefile.in: If a script package has no spkg-install, run "sage -info" and exit with error
feb8de7build/pkgs/: Remove spkg-install scripts for dummy script packages
8f782c0.github/workflows/tox-{optional,experimental}.yml: Do not try to test dummy script packages
4b292bebuild/pkgs/perl_mongodb/spkg-install: Remove
a7b6352build/bin/sage-spkg-info: Fix display of system packages
e65b309bootstrap: Do not provide ./configure --enable-SPKG options for dummy optional packages
b485d46m4/sage_spkg_collect.m4: Do not advertise dummy optional packages as installable
8c8e1c4Merge #31163

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 1, 2021

comment:14

I'd say the Perl dependencies are just like other dummy packages that we have that can only be installed using system packages. For example: pandoc

I've now merged #31163, which gives better system package info when someone ignores the advice issued by configure and attempts to install perl_cpan_polymake_prereq (directly or as a dependency of polymake).

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 1, 2021

Changed commit from 8c8e1c4 to 015b899

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Oct 1, 2021

Branch pushed to git repo; I updated commit sha1. New commits:

015b899build/bin/sage-print-system-package-command: Handle cpan

@tscrim
Copy link
Collaborator

tscrim commented Oct 2, 2021

comment:16

Okay, then let it be so.

@tscrim
Copy link
Collaborator

tscrim commented Oct 2, 2021

Reviewer: Travis Scrimshaw

@mkoeppe
Copy link
Contributor Author

mkoeppe commented Oct 2, 2021

comment:17

Thank you!

@vbraun
Copy link
Member

vbraun commented Oct 13, 2021

Changed branch from u/mkoeppe/update_polymake_to_4_5 to 015b899

@dimpase
Copy link
Member

dimpase commented Oct 22, 2021

comment:19

On #31527 I found that jupymake must be installed if polymake is, so dependencies aren't set right here.

@dimpase
Copy link
Member

dimpase commented Oct 22, 2021

Changed commit from 015b899 to none

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants