Details
-
Technical task
-
Resolution: Unresolved
-
Not Evaluated
-
None
-
None
-
f9736b9c5 (dev), abb3223d2 (6.8)
Description
Currently the blocker is with `shibokenmodule` depending on `Shiboken6::shiboken6` to generate:
- `shiboken_module_wrapper.cpp`
- `shiboken_python.h
Which in turn creates the `Shiboken` python module file. But it seems I got the dependency backwards. Neither generator nor the apiextractor actually depend on shiboken libraries. So instead, we should look at packaging shiboken_generator as a standalone and build shiboken library with it. I.e.
[build-system] requires = ["scikit-build-core", "shiboken6_generator"] build-backend = "scikit_build_core.build" [project] name = "shiboken6" dependencies = [ ]
[build-system] requires = ["scikit-build-core"] build-backend = "scikit_build_core.build" [project] name = "shiboken6_generator" dependencies = [ "shiboken6" ]
(not sure if all shiboken6_generator dependency should be moved to shiboken6)
Another uncertainty is if the buildsystem can be convinced to not check for the `dependencies` during the build process, which I think it would be the case.
Attachments
Gerrit Reviews
For Gerrit Dashboard: PYSIDE-3010 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
624209,4 | Fix flake8 warnings in shiboken6 scripts | dev | pyside/pyside-setup | Status: MERGED | +2 | +1 |
624301,2 | Fix flake8 warnings in shiboken6 scripts | 6.8 | pyside/pyside-setup | Status: MERGED | +2 | 0 |