upgrade to pybind11 2.10.1
1 unresolved thread
1 unresolved thread
Might require remove dune-py before use but not sure
Edited by Andreas Dedner
Merge request reports
Activity
@robert.kloefkorn @samuel.burbulla @christi @tkoch if you have time would be great if you could test this
added 1 commit
- 38ac7a52 - upgrade python version adding 3.11 and 3.12 to list
There is an issue in my GitHub CI with the Mac runner. No issues locally.
--- calling make for dune-common --- build directory: build-cmake cmake --build . -- [ 20%] Building CXX object python/dune/typeregistry/CMakeFiles/_typeregistry.dir/_typeregistry.cc.o [ 20%] Building CXX object CMakeFiles/dunecommon.dir/dune/common/debugalign.cc.o [ 20%] Building CXX object CMakeFiles/dunecommon.dir/dune/common/debugallocator.cc.o In file included from /Users/runner/work/dune-mmesh/dune-common/python/dune/typeregistry/_typeregistry.cc:8: In file included from /Users/runner/work/dune-mmesh/dune-common/dune/python/common/typeregistry.hh:21: In file included from /Users/runner/work/dune-mmesh/dune-common/dune/python/pybind11/pybind11.h:45: In file included from /Users/runner/work/dune-mmesh/dune-common/dune/python/pybind11/attr.h:13: /Users/runner/work/dune-mmesh/dune-common/dune/python/pybind11/cast.h:446:36: error: member access into incomplete type 'PyFrameObject' (aka '_frame') " " + handle(frame->f_code->co_filename).cast<std::string>() + ^ /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame' typedef struct _frame PyFrameObject; ^ In file included from /Users/runner/work/dune-mmesh/dune-common/python/dune/typeregistry/_typeregistry.cc:8: In file included from /Users/runner/work/dune-mmesh/dune-common/dune/python/common/typeregistry.hh:21: In file included from /Users/runner/work/dune-mmesh/dune-common/dune/python/pybind11/pybind11.h:45: In file included from /Users/runner/work/dune-mmesh/dune-common/dune/python/pybind11/attr.h:13: /Users/runner/work/dune-mmesh/dune-common/dune/python/pybind11/cast.h:448:29: error: member access into incomplete type 'PyFrameObject' (aka '_frame') handle(frame->f_code->co_name).cast<std::string>() + "\n"; ^ /Library/Frameworks/Python.framework/Versions/3.11/include/python3.11/pytypedefs.h:22:16: note: forward declaration of '_frame' typedef struct _frame PyFrameObject; ...
Edit: Sorry, which was not running with this branch.
Edited by Samuel Burbulla
mentioned in commit 2bc426e9
picked the changes into the branch
cherry-pick-2bc426e9
with commit b2bd2868mentioned in commit b2bd2868
mentioned in merge request !1253 (merged)
Please register or sign in to reply