Skip to content

update ESMF easyblock for versions >= 8.4, due to changed structure and naming of their Python bindings#2875

Open
mboisson wants to merge 1 commit intoeasybuilders:developfrom
ComputeCanada:esmf-8.4
Open

update ESMF easyblock for versions >= 8.4, due to changed structure and naming of their Python bindings#2875
mboisson wants to merge 1 commit intoeasybuilders:developfrom
ComputeCanada:esmf-8.4

Conversation

@mboisson
Copy link
Copy Markdown
Contributor

@mboisson mboisson commented Feb 2, 2023

No description provided.

@boegel boegel changed the title ESMF changed the structure and naming of their python bindings in ver… update ESMF easyblock for versions >= 8.4, due to changed structure and naming of their Python bindings Feb 15, 2023
@boegel boegel added the update label Feb 15, 2023
@boegel boegel added this to the next release (4.7.1?) milestone Feb 15, 2023
run_cmd(cmd, log_all=True, simple=True, log_ok=True)
else:
cmd = "ESMFMKFILE=%s/lib/esmf.mk " % self.installdir
cmd += "python -m pip install . --no-deps --prefix=%s" % self.installdir
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

EB also adds pip options --ignore-installed --no-index --no-build-isolation, shouldn't those be added here too?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

not tested

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.

I agree with @smoors that we should add those additional options for pip install, they're there for a reason (and it's better to err on the side of caution with installing Python packages).

It would be nicer if we could query PythonPackage for which options to pass to pip install though...

@boegel boegel modified the milestones: 4.7.3, release after 4.7.3 Jul 5, 2023
@boegel boegel modified the milestones: 4.9.1, release after 4.9.1 Apr 3, 2024
@boegel boegel modified the milestones: 4.9.2, release after 4.9.2 Jun 6, 2024
@boegel boegel modified the milestones: 4.9.3, release after 4.9.3 Sep 11, 2024
@boegel boegel modified the milestones: release after 4.9.4, release after 5.0.0 Mar 18, 2025
@boegel boegel modified the milestones: next release (5.1.0), 5.x May 22, 2025
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.

3 participants