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

Improve Windows install #1817

Merged
merged 2 commits into from
Apr 9, 2024
Merged

Improve Windows install #1817

merged 2 commits into from
Apr 9, 2024

Conversation

EmilyBourne
Copy link
Member

The windows installation uses a sleep command because we were unsure how to wait for the executable to finish and also prevent it from asking the user for input. This probably leads to the CI being slower than necessary and definitely occasionally leads to the CI crashing when the executable takes longer than we hoped. This PR is derived from #1180 where I found the necessary commands to wait for the execution.

@EmilyBourne
Copy link
Member Author

EmilyBourne commented Apr 2, 2024

Here is your checklist. Please tick items off when you have completed them or determined that they are not necessary for this pull request:

  • Write a clear PR description
  • Add tests to check your code works as expected
  • Update documentation if necessary
  • Update Changelog
  • Ensure any relevant issues are linked
  • Ensure new tests are passing

@pyccel-bot
Copy link

pyccel-bot bot commented Apr 2, 2024

Hello again! Thank you for this new pull request 🤩.

Please begin by requesting your checklist using the command /bot checklist

@EmilyBourne EmilyBourne marked this pull request as ready for review April 2, 2024 20:37
Copy link

@pyccel-bot pyccel-bot bot left a comment

Choose a reason for hiding this comment

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

Good job ! Your PR is using all the code it added/changed.

@pyccel-bot
Copy link

pyccel-bot bot commented Apr 2, 2024

Hey @pyccel/pyccel-dev ! @EmilyBourne has just created this great new pull request! Check it out and let me know what you think!

@pyccel-bot pyccel-bot bot requested a review from a team April 2, 2024 21:38
@smazouz42 smazouz42 requested review from smazouz42 and removed request for smazouz42 April 4, 2024 17:52
Copy link

@smazouz42 smazouz42 left a comment

Choose a reason for hiding this comment

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

nicely refactored using Start-Process offers better control and readability. Approved

@pyccel-bot pyccel-bot bot added Ready_for_review Received at least one approval. Requires review from senior developer and removed needs_initial_review labels Apr 5, 2024
@pyccel-bot
Copy link

pyccel-bot bot commented Apr 5, 2024

Hey @yguclu, @EmilyBourne, this PR is looking pretty good. @EmilyBourne and @smazouz42 think it is ready to merge. Could you add your expertise to confirm that this follows all the coding conventions and fits in Pyccel's future plans? Thanks 😄

@EmilyBourne EmilyBourne added the internals Pyccel's internal behavior, does not affect user experience label Apr 8, 2024
@pyccel-bot pyccel-bot bot added Ready_to_merge Approved by senior developer. Ready for final approval and merge and removed Ready_for_review Received at least one approval. Requires review from senior developer labels Apr 9, 2024
@yguclu yguclu changed the title Improve windows install Improve Windows install Apr 9, 2024
@yguclu yguclu merged commit f657701 into devel Apr 9, 2024
16 checks passed
@yguclu yguclu deleted the ebourne_windows_install branch April 9, 2024 09:32
EmilyBourne added a commit that referenced this pull request May 6, 2024
In the Windows installation, do not use the `sleep` command to wait for
an executable to finish, as this leads to random crashes. Instead, use
the proper Windows commands (taken from PR #1180) to wait for the
execution.
EmilyBourne added a commit that referenced this pull request May 7, 2024
In the Windows installation, do not use the `sleep` command to wait for
an executable to finish, as this leads to random crashes. Instead, use
the proper Windows commands (taken from PR #1180) to wait for the
execution.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
internals Pyccel's internal behavior, does not affect user experience Ready_to_merge Approved by senior developer. Ready for final approval and merge
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants