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

polymake: Upgrade to 4.7, remove deprecated Polymake_expect interface #34222

Closed
mkoeppe opened this issue Jul 25, 2022 · 26 comments
Closed

polymake: Upgrade to 4.7, remove deprecated Polymake_expect interface #34222

mkoeppe opened this issue Jul 25, 2022 · 26 comments

Comments

@mkoeppe
Copy link
Member

mkoeppe commented Jul 25, 2022

https://polymake.org/doku.php/news/release_4_7

PolymakeExpect was deprecated in #27745

Previous updates: #27745, #33251

CC: @jplab @kliem @videlec @dimpase @tscrim

Component: packages: optional

Author: Matthias Koeppe

Branch/Commit: cfe0108

Reviewer: Travis Scrimshaw

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

@mkoeppe mkoeppe added this to the sage-9.7 milestone Jul 25, 2022
@mkoeppe
Copy link
Member Author

mkoeppe commented Jul 25, 2022

Branch: u/mkoeppe/polymake__upgrade_to_4_7

@mkoeppe
Copy link
Member Author

mkoeppe commented Jul 25, 2022

Author: Matthias Koeppe

@mkoeppe
Copy link
Member Author

mkoeppe commented Jul 25, 2022

Commit: cc7c589

@mkoeppe
Copy link
Member Author

mkoeppe commented Jul 25, 2022

comment:2

One failure:

sage -t --random-seed=43175074141886505163444231207851145652 src/sage/interfaces/polymake.py
**********************************************************************
File "src/sage/interfaces/polymake.py", line 787, in sage.interfaces.polymake.PolymakeAbstract.application
Failed example:
    q.VERY_AMPLE                  # optional - polymake
Exception raised:
    Traceback (most recent call last):
      File "/Users/mkoeppe/s/sage/sage-rebasing/src/sage/interfaces/interface.py", line 732, in __init__
        self._name = parent._create(value, name=name)
      File "/Users/mkoeppe/s/sage/sage-rebasing/src/sage/interfaces/polymake.py", line 550, in _create
        self.set(name, value)
      File "/Users/mkoeppe/s/sage/sage-rebasing/src/sage/interfaces/polymake.py", line 639, in set
        self.eval(cmd)
      File "/Users/mkoeppe/s/sage/sage-rebasing/src/sage/interfaces/polymake.py", line 2713, in eval
        raise PolymakeError(error)
    sage.interfaces.polymake.PolymakeError: no more rules available to compute 'VERY_AMPLE'

New commits:

cc7c589build/pkgs/polymake: Upgrade to 4.7

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 8, 2022

Branch pushed to git repo; I updated commit sha1. This was a forced push. New commits:

0a8bdc9build/pkgs/polymake: Upgrade to 4.7

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 8, 2022

Changed commit from cc7c589 to 0a8bdc9

@mkoeppe
Copy link
Member Author

mkoeppe commented Aug 9, 2022

comment:6

Replying to @mkoeppe:

One failure:

Can't reproduce

@tscrim
Copy link
Collaborator

tscrim commented Aug 9, 2022

comment:8

After running make polymake, I am getting error messages of the form:

RuntimeError: runtime error with deprecated pexpect-based interface to polymake; please install jupymake

So I think we have a missed dependency. It might already be necessary, but this might be a good place to fix it.

@mkoeppe
Copy link
Member Author

mkoeppe commented Aug 9, 2022

comment:9

That's when running doctests, or manual testing?

@mkoeppe
Copy link
Member Author

mkoeppe commented Aug 9, 2022

comment:10

In any case, the PolymakeExpect was deprecated in #27745, more than a year ago, so I think we can just remove it

@tscrim
Copy link
Collaborator

tscrim commented Aug 9, 2022

comment:11

Running the doctests. I am just installing the jupymake.

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 9, 2022

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

c5bd052src/sage/interfaces/polymake.py: Remove deprecated Polymake_expect

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 9, 2022

Changed commit from 0a8bdc9 to c5bd052

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 9, 2022

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

1927882Replace '# optional - polymake' with '# optional - jupymake'

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 9, 2022

Changed commit from c5bd052 to 1927882

@mkoeppe

This comment has been minimized.

@mkoeppe mkoeppe changed the title polymake: Upgrade to 4.7 polymake: Upgrade to 4.7, remove deprecated Polymake_expect interface Aug 9, 2022
@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 9, 2022

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

cfe0108build/pkgs/polymake/SPKG.rst: Update info on jupymake

@sagetrac-git
Copy link
Mannequin

sagetrac-git mannequin commented Aug 9, 2022

Changed commit from 1927882 to cfe0108

@tscrim
Copy link
Collaborator

tscrim commented Aug 9, 2022

comment:16

Overall LGTM. Is there some reason why we don't explicitly make polymake depend on jupymake? Are there things we could call without jupymake?

@mkoeppe

This comment has been minimized.

@mkoeppe

This comment has been minimized.

@mkoeppe
Copy link
Member Author

mkoeppe commented Aug 9, 2022

comment:19

Replying to @tscrim:

Overall LGTM. Is there some reason why we don't explicitly make polymake depend on jupymake? Are there things we could call without jupymake?

See #27745 comment:60

@tscrim
Copy link
Collaborator

tscrim commented Aug 10, 2022

comment:20

Same thought, same comment. haha

@tscrim
Copy link
Collaborator

tscrim commented Aug 10, 2022

Reviewer: Travis Scrimshaw

@mkoeppe
Copy link
Member Author

mkoeppe commented Aug 10, 2022

comment:22

Thanks!

@vbraun
Copy link
Member

vbraun commented Aug 30, 2022

Changed branch from u/mkoeppe/polymake__upgrade_to_4_7 to cfe0108

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

3 participants