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

fix expect interface for newer ptyprocess #36339

Merged
merged 2 commits into from
Sep 27, 2023
Merged

Conversation

dimpase
Copy link
Member

@dimpase dimpase commented Sep 26, 2023

This will close #32147

ptyprocess 0.5.2+ included a change that broke our expect.py on macOS

Here we guard a bit more around thrown errors, and this appears to suffice

@tornaria
Copy link
Contributor

LGTM

FWIW, I've been using ptyprocess-0.7.0 with sage for a long time on linux.

@tobiasdiez tobiasdiez added the s: run conda ci Run the conda workflow on this PR. label Sep 27, 2023
@tobiasdiez
Copy link
Contributor

Also seems to work on conda (as far as this can be checked with the currently broken ci setup)

@mkoeppe
Copy link
Contributor

mkoeppe commented Sep 27, 2023

That's a bit quick with the "positive review" here. see #32147 (comment)

Copy link
Contributor

@mkoeppe mkoeppe left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This seems to work well, thanks!

@github-actions
Copy link

Documentation preview for this PR (built with commit df89444; changes) is ready! 🎉

@vbraun vbraun merged commit 2c71472 into sagemath:develop Sep 27, 2023
26 of 41 checks passed
@mkoeppe mkoeppe added this to the sage-10.2 milestone Sep 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c: packages: standard s: run conda ci Run the conda workflow on this PR. t: bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Make sage.interfaces.expect compatible with ptyprocess >= 0.5.2
5 participants