Skip to content

Generate pyver etc. when depending on Python-core#2559

Closed
Micket wants to merge 1 commit intoeasybuilders:developfrom
Micket:python-core-templates
Closed

Generate pyver etc. when depending on Python-core#2559
Micket wants to merge 1 commit intoeasybuilders:developfrom
Micket:python-core-templates

Conversation

@Micket
Copy link
Copy Markdown
Contributor

@Micket Micket commented Sep 3, 2018

As I've started to use Python-core at GCCcore level, I found that when moving some depedencies, like wheel-0.31.1 to GCCcore 7.3.0, it failed as %(pyver) initialized by the template code.

This simply introduces name Python-core as an alternative as a fix.

@boegel boegel added this to the next release milestone Sep 3, 2018
@boegel
Copy link
Copy Markdown
Member

boegel commented Sep 3, 2018

@Micket I wonder if there's a better way of handling this... The amount of elements in that list is fairly limited now, but it could grow over time, so it's important to keep this organized.

At the very least, it should be grouped like (('Python', 'Python-core'), 'py'), but that implies that the places where TEMPLATE_SOFTWARE_VERSIONS is used now need to be tweaked too.

I also wonder how flexible this should be w.r.t. name (what if people go with PythonCore, similar to GCCcore, etc.).
We currently don't have Python-core in the central easyconfigs repo yet (but we probably will fairly soon, see the discussion in easybuilders/easybuild-easyconfigs#5072. Are you basically using Python-core as it was proposed there?

@Micket
Copy link
Copy Markdown
Contributor Author

Micket commented Sep 3, 2018

@boegel It's not quite the same as easybuilders/easybuild-easyconfigs#5072, because (as it's title suggest) would be limited as a only a build-dep, which, in my opinion, renders it completely pointless.
I do exactly this: easybuilders/easybuild-easyconfigs#6537
(and the corresponding split for 3.7.0/3.6.6).
I.e. my Python-2.7.. has a runtime dep on Python-core-2.7, so the intel compiled numpy runs on top of a gcc(core) compiled libpython.

(As long as we move the interpreter and libpython to GCCcore, to be used as runtime depedencies, I'm perfectly happy with any solution, but, from the experience so far, there may be a big cost due to keeping the basic name "Python" to refer to the numpy bundle, such as issues like this)

@boegel boegel modified the milestones: 3.7.1, next release Oct 4, 2018
@boegel boegel modified the milestones: 3.8.0, 3.x Nov 20, 2018
@akesandgren
Copy link
Copy Markdown
Contributor

@Micket is this still valid?

@Micket
Copy link
Copy Markdown
Contributor Author

Micket commented Apr 15, 2019

No

@Micket Micket closed this Apr 15, 2019
@Micket Micket deleted the python-core-templates branch March 19, 2024 22:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants