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 failing cron job #468

Merged
merged 4 commits into from
Jun 7, 2022
Merged

Fix failing cron job #468

merged 4 commits into from
Jun 7, 2022

Conversation

rahulporuri
Copy link
Contributor

No description provided.

	modified:   envisage/ui/action/tests/test_action_manager_builder.py
@mdickinson
Copy link
Member

@rahulporuri Do you happen to know which upstream change triggered the need for this one?

@mdickinson
Copy link
Member

I'm a bit puzzled by the remaining failure. I get:

mdickinson@mirzakhani envisage % python -m unittest envisage.ui.action.tests.test_action_manager_builder.ActionManagerBuilderTestCase.test_duplicate_menu
F
======================================================================
FAIL: test_duplicate_menu (envisage.ui.action.tests.test_action_manager_builder.ActionManagerBuilderTestCase)
duplicate menu
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/mdickinson/Enthought/ETS/envisage/envisage/ui/action/tests/test_action_manager_builder.py", line 634, in test_duplicate_menu
    ["NewGroup", "ExitGroup", "ExtraGroup", "additions"], ids
AssertionError: Lists differ: ['NewGroup', 'ExitGroup', 'ExtraGroup', 'additions'] != ['NewGroup', 'ExtraGroup', 'ExitGroup', 'additions']

First differing element 1:
'ExitGroup'
'ExtraGroup'

- ['NewGroup', 'ExitGroup', 'ExtraGroup', 'additions']
?             -------------

+ ['NewGroup', 'ExtraGroup', 'ExitGroup', 'additions']
?                            +++++++++++++


----------------------------------------------------------------------

But as far as I can see, this test hasn't changed recently, so I'm not sure what caused it to start failing.

@rahulporuri
Copy link
Contributor Author

@rahulporuri Do you happen to know which upstream change triggered the need for this one?

Nope, I didn't try tracking that down, I blindly started to try and fix things.

But as far as I can see, this test hasn't changed recently

But I did change the test in this PR -

groups=[
Group(
id="NewGroup",
path="MenuBar/File",
before="ExitGroup",
),
Group(id="ExitGroup", path="MenuBar/File"),
],
and
groups=[
Group(
id="ExtraGroup",
path="MenuBar/File",
before="ExitGroup",
),
],

@mdickinson
Copy link
Member

@rahulporuri Okay, I think this is ready to merge, if the EDM builds pass. Does it look okay to you in its current form?

We have what looks like a brand new issue to deal with with the PyPI build.

@rahulporuri rahulporuri changed the title [WIP] fix failing cron job Fix failing cron job Jun 6, 2022
@rahulporuri
Copy link
Contributor Author

Does it look okay to you in its current form?

Yes it does. Thanks @mdickinson !

@mdickinson
Copy link
Member

Merging. The PyPI failures are due to #469, and are independent of the changes in this PR. I'll tackle those next.

Thanks, @rahulporuri!

Copy link
Member

@mdickinson mdickinson left a comment

Choose a reason for hiding this comment

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

Fake LGTM, so that this can be merged.

(Real LGTM on @rahulporuri's changes, and @rahulporuri has in effect approved my subsequent changes.)

@mdickinson mdickinson merged commit d7c60ab into main Jun 7, 2022
@mdickinson mdickinson deleted the fix/failing-cron-job branch June 7, 2022 07:06
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