conda-forge / opencv-feedstock

A conda-smithy repository for opencv.
BSD 3-Clause "New" or "Revised" License
65 stars 60 forks source link

Rebuild for PyPy3.8 and PyPy3.9 #315

Closed regro-cf-autotick-bot closed 2 years ago

regro-cf-autotick-bot commented 2 years ago

This PR has been triggered in an effort to update pypy38.

Notes and instructions for merging this PR:

  1. Please merge the PR only after the tests have passed.
  2. Feel free to push to the bot's branch to update this PR if needed.

Please note that if you close this PR we presume that the feedstock has been rebuilt, so if you are going to perform the rebuild yourself don't close this PR until the your rebuild has been merged.

If this PR was opened in error or needs to be updated please add the bot-rerun label to this PR. The bot will close this PR and schedule another one. If you do not have permissions to add this label, you can use the phrase code>@<space/conda-forge-admin, please rerun bot in a PR comment to have the conda-forge-admin add it for you.

This PR was created by the regro-cf-autotick-bot. The regro-cf-autotick-bot is a service to automatically track the dependency graph, migrate packages, and propose package version updates for conda-forge. Feel free to drop us a line if there are any issues! This PR was generated by https://github.com/regro/autotick-bot/actions/runs/2226722187, please use this URL for debugging.

conda-forge-linter commented 2 years ago

Hi! This is the friendly automated conda-forge-linting service.

I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.

hmaarrfk commented 2 years ago

@conda-forge-admin please restart cis

hmaarrfk commented 2 years ago

@conda-forge-admin please rerender

hmaarrfk commented 2 years ago

@conda-forge/help-pypy any interest in helping push this package forward?

$BUILD_PREFIX/bin/x86_64-conda-linux-gnu-c++ -D_USE_MATH_DEFINES -D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS -Dopencv_python3_EXPORTS -I$SRC_DIR/build/3rdparty/ippicv/ippicv_lnx/icv/include -I$SRC_DIR/build/3rdparty/ippicv/ippicv_lnx/iw/include -I$SRC_DIR/build -I$SRC_DIR/modules/python/python3/include -I$SRC_DIR/build/modules/python3 -I$SRC_DIR/modules/core/include -I$SRC_DIR/modules/flann/include -I$SRC_DIR/opencv_contrib/modules/hdf/include -I$SRC_DIR/modules/imgproc/include -I$SRC_DIR/opencv_contrib/modules/intensity_transform/include -I$SRC_DIR/modules/ml/include -I$SRC_DIR/opencv_contrib/modules/phase_unwrapping/include -I$SRC_DIR/modules/photo/include -I$SRC_DIR/opencv_contrib/modules/plot/include -I$SRC_DIR/opencv_contrib/modules/quality/include -I$SRC_DIR/opencv_contrib/modules/reg/include -I$SRC_DIR/opencv_contrib/modules/surface_matching/include -I$SRC_DIR/opencv_contrib/modules/xphoto/include -I$SRC_DIR/opencv_contrib/modules/alphamat/include -I$SRC_DIR/modules/dnn/include -I$SRC_DIR/opencv_contrib/modules/dnn_superres/include -I$SRC_DIR/modules/features2d/include -I$SRC_DIR/opencv_contrib/modules/freetype/include -I$SRC_DIR/opencv_contrib/modules/fuzzy/include -I$SRC_DIR/opencv_contrib/modules/hfs/include -I$SRC_DIR/opencv_contrib/modules/img_hash/include -I$SRC_DIR/modules/imgcodecs/include -I$SRC_DIR/opencv_contrib/modules/line_descriptor/include -I$SRC_DIR/opencv_contrib/modules/saliency/include -I$SRC_DIR/opencv_contrib/modules/text/include -I$SRC_DIR/modules/videoio/include -I$SRC_DIR/opencv_contrib/modules/wechat_qrcode/include -I$SRC_DIR/opencv_contrib/modules/barcode/include -I$SRC_DIR/modules/calib3d/include -I$SRC_DIR/opencv_contrib/modules/cvv/include -I$SRC_DIR/opencv_contrib/modules/datasets/include -I$SRC_DIR/modules/highgui/include -I$SRC_DIR/opencv_contrib/modules/mcc/include -I$SRC_DIR/modules/objdetect/include -I$SRC_DIR/opencv_contrib/modules/rapid/include -I$SRC_DIR/opencv_contrib/modules/rgbd/include -I$SRC_DIR/opencv_contrib/modules/shape/include -I$SRC_DIR/opencv_contrib/modules/structured_light/include -I$SRC_DIR/modules/video/include -I$SRC_DIR/opencv_contrib/modules/videostab/include -I$SRC_DIR/opencv_contrib/modules/xfeatures2d/include -I$SRC_DIR/opencv_contrib/modules/ximgproc/include -I$SRC_DIR/opencv_contrib/modules/xobjdetect/include -I$SRC_DIR/opencv_contrib/modules/aruco/include -I$SRC_DIR/opencv_contrib/modules/bgsegm/include -I$SRC_DIR/opencv_contrib/modules/bioinspired/include -I$SRC_DIR/opencv_contrib/modules/ccalib/include -I$SRC_DIR/opencv_contrib/modules/dpm/include -I$SRC_DIR/opencv_contrib/modules/face/include -I$SRC_DIR/modules/gapi/include -I$SRC_DIR/opencv_contrib/modules/optflow/include -I$SRC_DIR/modules/stitching/include -I$SRC_DIR/opencv_contrib/modules/superres/include -I$SRC_DIR/opencv_contrib/modules/tracking/include -I$SRC_DIR/opencv_contrib/modules/stereo/include -I$SRC_DIR/modules/python/src2 -I$SRC_DIR/build/modules/python_bindings_generator -isystem $PREFIX/include/python3.9 -isystem $PREFIX/lib/pypy3.9/site-packages/numpy/core/include -fvisibility-inlines-hidden -std=c++11 -fmessage-length=0 -march=nocona -mtune=haswell -ftree-vectorize -fPIC -fstack-protector-strong -fno-plt -O2 -ffunction-sections -pipe -isystem $PREFIX/include -fdebug-prefix-map=$SRC_DIR=/usr/local/src/conda/libopencv-4.5.5 -fdebug-prefix-map=$PREFIX=/usr/local/src/conda-prefix -D__STDC_CONSTANT_MACROS   -fsigned-char -W -Wall -Werror=return-type -Werror=non-virtual-dtor -Werror=address -Werror=sequence-point -Wformat -Werror=format-security -Wmissing-declarations -Winit-self -Wpointer-arith -Wshadow -Wsign-promo -Wuninitialized -Wsuggest-override -Wno-delete-non-virtual-dtor -Wno-comment -Wimplicit-fallthrough=3 -Wno-strict-overflow -fdiagnostics-show-option -Wno-long-long -pthread -fomit-frame-pointer -ffunction-sections -fdata-sections  -msse -msse2 -msse3 -fopenmp -Wno-unused-function -Wno-deprecated-declarations -Wno-overloaded-virtual -Wno-undef -O3 -DNDEBUG  -DNDEBUG -fPIC -std=c++11 -MD -MT modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o -MF modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o.d -o modules/python3/CMakeFiles/opencv_python3.dir/__/src2/cv2.cpp.o -c $SRC_DIR/modules/python/src2/cv2.cpp
In file included from $SRC_DIR/modules/python/src2/cv2.cpp:5:
$SRC_DIR/modules/python/src2/cv2.hpp:20:10: fatal error: Python.h: No such file or directory
   20 | #include <Python.h>

148.log.txt

hmaarrfk commented 2 years ago

I don't think we fixed windows builds yet. I think it is using the cpython header

hmaarrfk commented 2 years ago

Windows builds seem to be ok. They are just slightly different than the linux builds in terms of include dir organization. I took this time to simplify this build considerably. Hopefully the build.sh file isn't super confusing anymore to new joiners

github-actions[bot] commented 2 years ago

Hi! This is the friendly conda-forge automerge bot!

I considered the following status checks when analyzing this PR:

Thus the PR was passing and merged! Have a great day!

mattip commented 2 years ago

Thanks @hmaarrfk