Re: [Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-26 Thread Bastian Germann
I confirm it to be working. -- https://code.launchpad.net/~bastian-germann/openlp/fix-circ-dep/+merge/357849 Your team OpenLP Core is subscribed to branch lp:openlp. ___ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.la

Re: [Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-26 Thread Raoul Snyman
I think Launchpad is being idiotic again. I've both pushed and branched from that branch. https://bazaar.launchpad.net/~raoul-snyman/openlp/fix-circ-deps/files https://bazaar.launchpad.net/~raoul-snyman/openlp/fix-circ-deps/revision/2838?start_revid=2838 Try lp:~raoul-snyman/openlp/fix-circ

Re: [Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-26 Thread Bastian Germann
Your branch is empty. -- https://code.launchpad.net/~bastian-germann/openlp/fix-circ-dep/+merge/357849 Your team OpenLP Core is subscribed to branch lp:openlp. ___ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchpa

Re: [Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-26 Thread Bastian Germann
Sure. Just a moment... -- https://code.launchpad.net/~bastian-germann/openlp/fix-circ-dep/+merge/357849 Your team OpenLP Core is subscribed to branch lp:openlp. ___ Mailing list: https://launchpad.net/~openlp-core Post to : openlp-core@lists.launchp

Re: [Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-26 Thread Raoul Snyman
Hey Bastian, I tried removing the imports in lib/__init__.py and then using direct imports in the other files, and it seems to have worked. Do you want to try my branch and see if it works on your computer as well? https://code.launchpad.net/~raoul-snyman/openlp/fix-circ-deps -- https://code.

Re: [Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-26 Thread Raoul Snyman
Yes, please post the stacktrace, I'd like see what's going on there. And I'll fix the code coverage to use pytest. -- https://code.launchpad.net/~bastian-germann/openlp/fix-circ-dep/+merge/357849 Your team OpenLP Core is subscribed to branch lp:openlp. ___

Re: [Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-26 Thread Bastian Germann
Right, CI runs nose2: https://ci.openlp.io/job/Trunk-04b-Test_Coverage/369/console On my main development machine (Arch Linux) pytest actually segfaults on some test. If you are interested I can post the stacktrace somewhere. -- https://code.launchpad.net/~bastian-germann/openlp/fix-circ-dep/+m

Re: [Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-26 Thread Raoul Snyman
Tim means pytest, not pylint. But if there's a problem that nose2 shows, we should fix it. -- https://code.launchpad.net/~bastian-germann/openlp/fix-circ-dep/+merge/357849 Your team OpenLP Core is subscribed to branch lp:openlp. ___ Mailing list: https

Re: [Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-26 Thread Tim Bentley
It may be explained by the fact that you are using nose2 for the tests. Most of the devs and Jenkins have move to pylint! -- https://code.launchpad.net/~bastian-germann/openlp/fix-circ-dep/+merge/357849 Your team OpenLP Core is subscribed to branch lp:openlp. _

Re: [Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-26 Thread Raoul Snyman
To be honest, I never actually came across this in CI. Perhaps a test was being skipped? How did you come across it? My mail server uses DMARC and friends, and your mail server probably rejects the e-mails from Launchpad because they're not actually from me. At least that's what I guess might b

Re: [Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-26 Thread Bastian Germann
By the way: I never get info mail about Raoul's comments. Do you know what causes launchpad not to send them? -- https://code.launchpad.net/~bastian-germann/openlp/fix-circ-dep/+merge/357849 Your team OpenLP Core is subscribed to branch lp:openlp. ___

Re: [Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-26 Thread Bastian Germann
Sure, it is kind of a hack. But it is better to have a working CI with a hack as long as this is not fixed properly. It annoys me even though I only work for a short time in the openlp code. -- https://code.launchpad.net/~bastian-germann/openlp/fix-circ-dep/+merge/357849 Your team OpenLP Core is

Re: [Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-26 Thread Raoul Snyman
I kinda agree with Tim, I think I'd rather figure out if there's a way we can remove the circular dependency, rather than just adding an import to short-circuit it. I'll see if I can poke around in there tonight. -- https://code.launchpad.net/~bastian-germann/openlp/fix-circ-dep/+merge/357849 Y

Re: [Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-26 Thread Tim Bentley
Review: Needs Fixing Needs fixing correctly as that is a hack and bigger problem waiting to trip us up. -- https://code.launchpad.net/~bastian-germann/openlp/fix-circ-dep/+merge/357849 Your team OpenLP Core is subscribed to branch lp:openlp. ___ Maili

Re: [Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-26 Thread Bastian Germann
The test imports o.p.c.forms.editcustomform.EditCustomForm which imports something from o.p.c.lib that in turn wants to import EditCustomForm. That is a circular dependency. As the added line (__init__.py) is implicitly executed on all o.p.c.forms* imports, o.p.c.lib is imported before any o.p.

Re: [Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-25 Thread Raoul Snyman
Hey Bastian, Can you just explain to me how the line you added to an otherwise "empty" file solves the problem? I'm curious, as it doesn't make sense to me (even though it clearly works!), and I'm confused :-( -- https://code.launchpad.net/~bastian-germann/openlp/fix-circ-dep/+merge/357849 Your

[Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-25 Thread Bastian Germann
Bastian Germann has proposed merging lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp. Commit message: Fix a circular dependency that is hit when you run tests.interfaces.openlp_plugins.custom.forms.test_customform: ImportError: Failed to import test module: tests.interfaces.openlp_plugi

[Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-25 Thread Bastian Germann
The proposal to merge lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp has been updated. Status: Needs review => Superseded For more details, see: https://code.launchpad.net/~bastian-germann/openlp/fix-circ-dep/+merge/357597 -- Your team OpenLP Core is subscribed to branch lp:openlp.

Re: [Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-25 Thread Tim Bentley
Review: Needs Fixing Need to convert to a correct From statement. Blanket imports are not used in openlp code. -- https://code.launchpad.net/~bastian-germann/openlp/fix-circ-dep/+merge/357597 Your team OpenLP Core is subscribed to branch lp:openlp.

[Openlp-core] [Merge] lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp

2018-10-21 Thread Bastian Germann
Bastian Germann has proposed merging lp:~bastian-germann/openlp/fix-circ-dep into lp:openlp. Commit message: Fix a circular dependency that is hit when you run tests.interfaces.openlp_plugins.custom.forms.test_customform: ImportError: Failed to import test module: tests.interfaces.openlp_plugi