py-pywavelets: update to 1.8.0, add py313 subport #27287
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
-1.5.0
to the name of the patch file for that version, add a new one for 1.8.0-std=c17
, so Meson fails because of the optionc_std=c17
inmeson.build
. We can patch this toc_std=c11
since these standards are essentially the same, but then we would still need to blacklist Clang < 700, because the C11 headerstdatomic.h
did not exist until that version (even though Clang claimed to support C11 before that). Note that puttingcompiler.c_standard 2017
in the Portfile instead did not work. It seems that MacPorts ignores this statement for Python ports for some unknown reason (see py313-mypy: fix compilation on OS X <= 10.9 #26719).Type(s)
Tested on
macOS 10.9.5 13F1911 x86_64
Xcode 6.2 6C131e
Verification
Have you
port lint
?sudo port test
?sudo port -vst install
?There are no binary files. Since the developers explicitly state that they support all Python versions 3.10-3.13, I assume that they work. I also tried calling
import pywt
in Python 3.12 and Python 3.13, just to make sure that things have been built correctly. Both versions are imported without errors. I need this for scikit-image and do not have scripts to test PyWavelets extensively.