Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[v632] Backport of recent fixes and improvements #16071

Merged
merged 5 commits into from
Jul 20, 2024

Conversation

guitargeek
Copy link
Contributor

Backport of recent fixes and improvements for the upcoming patch release.

guitargeek and others added 5 commits July 19, 2024 16:56
Two implementations are provided, i.e. for Python versions older than
3.8, for which PEP 587 is not in force, and newer.

Credit goes to Danilo Piparo (@dpiparo), who originally made this change
for ROOTs TPython:

root-project#13532

This is a port of the following commit to upstream CPyCppyy:
wlav/CPyCppyy#31
Now that the CPyCppyy::ExecScript method is synced with the TPython
version, we can just call the CPyCppyy API in TPython::ExecScript.
Like this, we make sure the static library is where we expect it to be:
`CFITSIO-prefix/lib/libcfitsio.a`, and not for example in the `lib64`
directory.

Inspired by this forum post:
https://root-forum.cern.ch/t/6-32-02-will-not-build-from-source-with-option-dbuiltin-cfitsio/60270
The memory leaks were introduced on purpose in that test, but they are
probably not necessary anymore.

Also, suppress unneeded logging and format code.
Copy link

github-actions bot commented Jul 19, 2024

Test Results

    11 files      11 suites   2d 13h 50m 3s ⏱️
 2 635 tests  2 634 ✅ 0 💤 1 ❌
27 209 runs  27 208 ✅ 0 💤 1 ❌

For more details on these failures, see this check.

Results for commit e411021.

♻️ This comment has been updated with latest results.

@guitargeek guitargeek added the clean build Ask CI to do non-incremental build on PR label Jul 20, 2024
@guitargeek guitargeek closed this Jul 20, 2024
@guitargeek guitargeek reopened this Jul 20, 2024
@guitargeek guitargeek merged commit bbc6b0d into root-project:v6-32-00-patches Jul 20, 2024
22 of 27 checks passed
@guitargeek guitargeek deleted the backports_v632 branch July 20, 2024 09:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
clean build Ask CI to do non-incremental build on PR pr:backport
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants