Skip to content

add patch for PyQtGraph to fix exporting images#10848

Merged
lexming merged 4 commits intoeasybuilders:developfrom
SimonPinches:20200624110109_new_pr_PyQtGraph0100
Jul 13, 2020
Merged

add patch for PyQtGraph to fix exporting images#10848
lexming merged 4 commits intoeasybuilders:developfrom
SimonPinches:20200624110109_new_pr_PyQtGraph0100

Conversation

@SimonPinches
Copy link
Copy Markdown
Contributor

(created using eb --new-pr)

Copy link
Copy Markdown
Contributor

@lexming lexming left a comment

Choose a reason for hiding this comment

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

Thanks for submitting this patch. Would it be possible to add it to all easyconfigs of PyQtGraph and not only to 2018a?

The tests fail because there have been some changes in our requirements for easyconfigs. Now all PythonPackage should have sanity_pip_check = True.
Moreover, the current sanity_check_paths of this easyconfig are now default, so those could be removed.

@lexming lexming added the bug fix label Jul 4, 2020
@lexming lexming added this to the 4.x milestone Jul 4, 2020
@easybuilders easybuilders deleted a comment from boegelbot Jul 8, 2020
Copy link
Copy Markdown
Contributor

@lexming lexming left a comment

Choose a reason for hiding this comment

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

Thanks for updating the PR. I revised the patch and I think that it is safer to use the same approach found in PyQtGraph v0.11.0, as it converts to int before the conditional check. Otherwise values between 0 and 1 could cause issues.

Comment thread easybuild/easyconfigs/p/PyQtGraph/PyQtGraph-0.10.0-ImageExporter.patch Outdated
Comment thread easybuild/easyconfigs/p/PyQtGraph/PyQtGraph-0.10.0-ImageExporter.patch Outdated
@boegel boegel modified the milestones: 4.x, next release (4.2.3?) Jul 9, 2020
@boegel
Copy link
Copy Markdown
Member

boegel commented Jul 9, 2020

Just as a reminder: updating the patch file implies updating the checksum for the patch file as well.

@lexming With that in mind, maybe it's easier to send a proper PR to @SimonPinches' branch used for this PR, rather than using the suggestions feature?

@lexming
Copy link
Copy Markdown
Contributor

lexming commented Jul 9, 2020

@boegel you are right, I totally forgot about the checksum. I'll make a PR

@lexming
Copy link
Copy Markdown
Contributor

lexming commented Jul 9, 2020

@SimonPinches I made a PR into the branch of this PR with my suggestions, so you can easily incorporate them. Please check SimonPinches#14

Update PyQtGraph-0.10.0-ImageExporter.patch
@SimonPinches
Copy link
Copy Markdown
Contributor Author

Thanks @lexming.

@lexming
Copy link
Copy Markdown
Contributor

lexming commented Jul 13, 2020

Test report by @lexming
SUCCESS
Build succeeded for 4 out of 4 (4 easyconfigs in this PR)
node128.hydra.os - Linux centos linux 7.7.1908, x86_64, Intel(R) Xeon(R) CPU E5-2680 v2 @ 2.80GHz, Python 2.7.5
See https://gist.github.com/f1ff38085511b2ca714a2d71d248e093 for a full test report.

Copy link
Copy Markdown
Contributor

@lexming lexming left a comment

Choose a reason for hiding this comment

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

LGTM

@lexming
Copy link
Copy Markdown
Contributor

lexming commented Jul 13, 2020

Going in, thanks @SimonPinches !

@lexming lexming merged commit 189e65e into easybuilders:develop Jul 13, 2020
@boegel boegel changed the title Patch to fix exporting images with PyQtGraph v0.10.0 add patch for PyQtGraph to fix exporting images Aug 23, 2020
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