Skip to content

Conversation

@riccardomurri
Copy link
Contributor

This should fix #1441

I have not yet tested it -- please do if you have time.


# note: order of class inheritance is important!
class _BuildTaskCollection(AbortOnError, DependentTaskCollection)
"""

Choose a reason for hiding this comment

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

unexpected indentation

gc3libs.UNIGNORE_ALL_ERRORS = True

# note: order of class inheritance is important!
class _BuildTaskCollection(AbortOnError, DependentTaskCollection)

Choose a reason for hiding this comment

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

SyntaxError: invalid syntax

@riccardomurri
Copy link
Contributor Author

Also note: requires GC3Pie "master", I think the AbortOnError class was not there in 2.4.2. (But I can backport it if really needed.)

@boegel
Copy link
Member

boegel commented Apr 17, 2018

@riccardomurri Any ETA for a GC3Pie release that is compatible with this?

I'm not sure merging this into an EasyBuild release is wise if it'll require people to run GC3Pie from master.
Requiring that people update to the latest GC3Pie release is another matter though...

boegel
boegel previously approved these changes Apr 17, 2018
Copy link
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

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

changes lgtm

@boegel boegel changed the title Proposed fix for #1441 make GC3Pie stop build process if a dependency failed (fix for #1441) Apr 17, 2018
@boegel boegel modified the milestones: 3.6.0, next release Apr 20, 2018
@riccardomurri
Copy link
Contributor Author

Any ETA for a GC3Pie release that is compatible with this?

Well, I think I could release 2.5.0 any time -- the planned features are all there. Do you have any deadlines or wishes in this respect?

@boegel
Copy link
Member

boegel commented Apr 25, 2018

@riccardomurri EasyBuild v3.6.0 will be released this week, that may be a good time to squeeze this in (although it's very last minute at this point), but then we'd need a GC3Pie release that has what is needed...

We should also bump the REQ_VERSION here btw...

@riccardomurri
Copy link
Contributor Author

Unfortunately I just got a pretty important bug report for GC3Pie "master", so I won't be able to release until I get that fixed. I guess this rules out that EB v3.6.0 comes with GC3Pie 2.5.0...

@boegel
Copy link
Member

boegel commented Apr 25, 2018

@riccardomurri OK, we'll postpone this until a future EasyBuild release then, there's no point in including this if there's no GC3Pie release that supports it imho.

@boegel
Copy link
Member

boegel commented May 18, 2018

@riccardomurri Any updates on a new GC3Pie release which includes what is needed by the changes in this PR?

@riccardomurri
Copy link
Contributor Author

@boegel I'm testing the fixes -- what's the time line for EB release which should include the new version?

@boegel
Copy link
Member

boegel commented May 19, 2018

@riccardomurri I'm hoping to release EasyBuild v3.6.1 next week.

@boegel boegel modified the milestones: 3.6.1, next release May 21, 2018
@boegel
Copy link
Member

boegel commented Jul 3, 2018

@riccardomurri Any progress?

@boegel boegel modified the milestones: 3.6.2, next release Jul 5, 2018
@akesandgren
Copy link
Contributor

@riccardomurri Ping? Progress on 2.5.0?

@riccardomurri
Copy link
Contributor Author

Yeah, I've been meaning to release 2.5.0 since a couple of weeks but I can't seem to find the time to handle all the release-based business.

I will try to do it by Wednesday -- if not, you can also just pin the GC3Pie by Git commit hash (or I can tag the code if you prefer), there will be no further additions or bugfixes, just packaging and cosmetic changes.

@boegel
Copy link
Member

boegel commented Aug 28, 2018

@riccardomurri I would really prefer having a GC3Pie release available before merging this, so we can properly check the GC3Pie version & spit out a meaningful error.

With the upcoming EasyBuild 3.7.0 release we have another window of opportunity for this (bumping the GC3Pie requirement in a bugfix release like 3.6.3 or 3.7.1 is a bit awkward).

@riccardomurri
Copy link
Contributor Author

GC3Pie 2.5.0 was just released: https://pypi.org/project/gc3pie/2.5.0/

Note that a few dependencies were added since the 2.4.2 days:

  • blinker
  • dictproxyhack
  • python-daemon

All of them are pip-installable.

@riccardomurri
Copy link
Contributor Author

Might also be needed: #2554

from gc3libs.core import Engine
from gc3libs.quantity import hours as hr
from gc3libs.workflow import DependentTaskCollection
from gc3libs.workflow import DependentTaskCollection, AbortOnError
Copy link
Contributor

Choose a reason for hiding this comment

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

Please list them in alphabetical order

@akesandgren akesandgren merged commit 19d4080 into easybuilders:develop Aug 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants