Skip to content

don't use LooseVersion to define version_major/version_minor#1783

Merged
boegel merged 3 commits intoeasybuilders:developfrom
boegel:fix_version_minor
May 29, 2016
Merged

don't use LooseVersion to define version_major/version_minor#1783
boegel merged 3 commits intoeasybuilders:developfrom
boegel:fix_version_minor

Conversation

@boegel
Copy link
Copy Markdown
Member

@boegel boegel commented May 29, 2016

don't use LooseVersion to define version_major and especially version_minor template values, since a verson like 4.09 isn't handled correctly in that case; we expect version_minor to be 09 rather than 9

cfr. easybuilders/easybuild-easyconfigs#3141

@boegel boegel added this to the v2.8.1 milestone May 29, 2016
major = version[0]
template_values['version_major'] = major
minor = str(version[1])
minor = version[1]
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

and what about 3.14.15?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

what about it?

in that case:

  • version_major=3
  • version_minor=14

(and we don't have a template for the 15)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

okay fine

@boegel
Copy link
Copy Markdown
Member Author

boegel commented May 29, 2016

Thanks for the review @wpoely86!

@boegel boegel merged commit 1f86c67 into easybuilders:develop May 29, 2016
@boegel boegel deleted the fix_version_minor branch May 29, 2016 20:59
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