Skip to content

Conversation

jclarkeSTFC
Copy link
Contributor

@jclarkeSTFC jclarkeSTFC commented Sep 6, 2024

Since we switched to pip install --editable instead of calling setup.py directly (#37775), we no longer get an executable file in the build output, so this test needed adjusting. It was also attempting to do a for loop and returning at the first entry so we fixed that.

On Linux it was trying to test mantidworkbench as an entry point but:

  • Because it was previously returning at the first item in the loop, this was never actually tested.
  • The mantidworkbench entry point is created by conda-build, not when you do a dev build, so this wouldn't have worked previously anyway.

To test:

https://builds.mantidproject.org/job/build_packages_from_branch/876/


Reviewer

Please comment on the points listed below (full description).
Your comments will be used as part of the gatekeeper process, so please comment clearly on what you have checked during your review. If changes are made to the PR during the review process then your final comment will be the most important for gatekeepers. In this comment you should make it clear why any earlier review is still valid, or confirm that all requested changes have been addressed.

Code Review

  • Is the code of an acceptable quality?
  • Does the code conform to the coding standards?
  • Are the unit tests small and test the class in isolation?
  • If there is GUI work does it follow the GUI standards?
  • If there are changes in the release notes then do they describe the changes appropriately?
  • Do the release notes conform to the release notes guide?

Functional Tests

  • Do changes function as described? Add comments below that describe the tests performed?
  • Do the changes handle unexpected situations, e.g. bad input?
  • Has the relevant (user and developer) documentation been added/updated?

Does everything look good? Mark the review as Approve. A member of @mantidproject/gatekeepers will take care of it.

Gatekeeper

If you need to request changes to a PR then please add a comment and set the review status to "Request changes". This will stop the PR from showing up in the list for other gatekeepers.

@sf1919
Copy link
Contributor

sf1919 commented Sep 6, 2024

This will need a build packages from branch run as the failing systems tests don't run on Windows or OSX as part of normal PR testing

Since we switched to pip install --editable instead of calling
setup.py directly, we no longer get an executable file in the build
output, so this test needed adjusting. It was also attempting to do a
for loop and returning at the first entry so we fixed that.

Co-authored-by: Jonathan Haigh <jonathan.haigh@stfc.ac.uk>
This was never tested previously, and the dev build does not create a
mantidworkbench entry point, conda-build does that, hence I've deleted
it.
@jclarkeSTFC jclarkeSTFC added High Priority An issue or pull request that if not addressed is severe enough to postponse a release. ISIS: Core Issue and pull requests at ISIS that relate to Core features and functions labels Sep 6, 2024
@jclarkeSTFC jclarkeSTFC added this to the Release 6.11 milestone Sep 6, 2024
The startup script isn't going to exist any more, so change the command
used for debugging workbench.
@jclarkeSTFC jclarkeSTFC marked this pull request as ready for review September 9, 2024 08:42
Copy link
Contributor

@jhaigh0 jhaigh0 left a comment

Choose a reason for hiding this comment

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

System tests passing on all operating systems 👍

jhaigh0
jhaigh0 previously approved these changes Sep 9, 2024
@jhaigh0 jhaigh0 dismissed their stale review September 9, 2024 08:52

forgot to test vs deubgging whoops

Copy link
Contributor

@jhaigh0 jhaigh0 left a comment

Choose a reason for hiding this comment

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

mantid launching from both vs and pycharm

@SilkeSchomann SilkeSchomann self-assigned this Sep 9, 2024
@SilkeSchomann SilkeSchomann merged commit 394fe6d into mantidproject:main Sep 9, 2024
10 checks passed
@jclarkeSTFC jclarkeSTFC deleted the startup_test_fix branch September 9, 2024 10:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
High Priority An issue or pull request that if not addressed is severe enough to postponse a release. ISIS: Core Issue and pull requests at ISIS that relate to Core features and functions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants