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

chore: Downgrade xshell due to broken stdin interactions #4376

Merged
merged 1 commit into from
Dec 4, 2024

Conversation

poljar
Copy link
Contributor

@poljar poljar commented Dec 4, 2024

Since xshell 0.2.3 the behavior of the run() function has changed in a incompatible manner. Namely the stdin for the run() function no longer inherits stdin from the shell. This makes it impossible for commands that are executed by the run() function to accept input from the shell.

We don't use this functionality in many places but the xtask release prepare command is now broken.

Let's just pin xshell to a working version while we wait for this to be resolved upstream.

Upstream-issue: matklad/xshell#63

Since xshell 0.2.3 the behavior of the run() function has changed in a
incompatible manner. Namely the stdin for the run() function no longer
inherits stdin from the shell. This makes it impossible for commands
that are executed by the run() function to accept input from the shell.

We don't use this functionality in many places but the `xtask release
prepare` command is now broken.

Let's just pin xshell to a working version while we wait for this to be
resolved upstream.

Upstream-issue: matklad/xshell#63
@poljar poljar requested a review from a team as a code owner December 4, 2024 09:58
@poljar poljar requested review from Hywan and removed request for a team December 4, 2024 09:58
Copy link

codecov bot commented Dec 4, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 85.13%. Comparing base (9002f82) to head (b495c1e).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #4376   +/-   ##
=======================================
  Coverage   85.13%   85.13%           
=======================================
  Files         280      280           
  Lines       30802    30802           
=======================================
+ Hits        26222    26223    +1     
+ Misses       4580     4579    -1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@bnjbvr bnjbvr removed the request for review from Hywan December 4, 2024 10:16
@poljar poljar merged commit a948be9 into main Dec 4, 2024
41 checks passed
@poljar poljar deleted the poljar/downgrade-xshell branch December 4, 2024 10:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants