Skip to content

{lib}[foss/2018a,Python/3.6.4] cget v0.1.6#6780

Merged
boegel merged 3 commits intoeasybuilders:developfrom
jdemeul:20180828150919_new_pr_cget016
Aug 29, 2018
Merged

{lib}[foss/2018a,Python/3.6.4] cget v0.1.6#6780
boegel merged 3 commits intoeasybuilders:developfrom
jdemeul:20180828150919_new_pr_cget016

Conversation

@jdemeul
Copy link
Copy Markdown
Contributor

@jdemeul jdemeul commented Aug 28, 2018

(created using eb --new-pr)


toolchain = {'name': 'foss', 'version': '2018a'}

exts_defaultclass = 'PythonPackage'
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.

@jdemeul Please move this down right above the exts_list = line, and also include this (we want to start migrating to this by default for Python packages):

exts_default_options = {
    'download_dep_fail': True,
    'use_pip': True,
}

This i) checks whether additional Python packages are downloaded & installed automatically (which we don't like, since then we don't control the versions), ii) uses pip rather than the default setup.py install procedure to install the Python packages (which is the recommended way to install Python packages).

So, you'll need to re-test this easyconfig and potentially add other Python packages (in he right order).


dependencies = [
('Python', '3.6.4'),
('CMake', '3.10.2'),
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.

@jdemeul Is CMake a runtime dependency here?

Better clarify that with a comment above this line, since that's really uncommon...

('click', '6.6', {
'source_urls': ['https://pypi.python.org/packages/source/c/click/'],
'checksums': [
'cc6a19da8ebff6e7074f731447ef7e112bd23adf3de5c597cf9989f2fd8defe9', # click-6.6.tar.gz
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.

@jdemeul No need for the comment, and this can be collapsed to a single line; eb --inject-checksums will do this for you)

@boegel boegel added the new label Aug 29, 2018
@boegel boegel added this to the 3.7.0 milestone Aug 29, 2018
}),
]

exts_default_options = {
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.

@jdemeul This usually goes above exts_list (below exts_defaultclass), do you mind moving it for consistency?

@boegel
Copy link
Copy Markdown
Member

boegel commented Aug 29, 2018

Test report by @boegel
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in this PR)
node2426.golett.os - Linux centos linux 7.4.1708, Intel(R) Xeon(R) CPU E5-2680 v3 @ 2.50GHz, Python 2.7.5
See https://gist.github.com/9803945478a1c1e133f70282ccef488a for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Aug 29, 2018

Test report by @boegel
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in this PR)
node3170.skitty.os - Linux centos linux 7.4.1708, Intel(R) Xeon(R) Gold 6140 CPU @ 2.30GHz, Python 2.7.5
See https://gist.github.com/0be399e4e4c611202ad5d288b35557a3 for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Aug 29, 2018

Test report by @boegel
SUCCESS
Build succeeded for 1 out of 1 (1 easyconfigs in this PR)
node2062.delcatty.os - Linux centos linux 7.5.1804, Intel(R) Xeon(R) CPU E5-2670 0 @ 2.60GHz, Python 2.7.5
See https://gist.github.com/0f823c5154a8416ed06d7b6da4f0adb7 for a full test report.

@boegel
Copy link
Copy Markdown
Member

boegel commented Aug 29, 2018

Going in, thanks @jdemeul!

@boegel boegel merged commit 304fd94 into easybuilders:develop Aug 29, 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.

2 participants