-
Notifications
You must be signed in to change notification settings - Fork 49
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
Move from Pybind11 to nanobind #345
Commits on Aug 27, 2024
-
Configuration menu - View commit details
-
Copy full SHA for f004de9 - Browse repository at this point
Copy the full SHA f004de9View commit details -
[bindings/python] update CMake listfile, targets and instruction-set.…
…cpp for nanobind [bindings/python] cmake : nanobind's helper function already sets prefix and suffix for us.
Configuration menu - View commit details
-
Copy full SHA for d28e4eb - Browse repository at this point
Copy the full SHA d28e4ebView commit details -
[bindings/python] instruction-set.cpp : fix crashes because of lack o…
…f std::string support + add relevant nanobind stl support header
Configuration menu - View commit details
-
Copy full SHA for 7168637 - Browse repository at this point
Copy the full SHA 7168637View commit details -
[proxqp/sparse] explicitly delete copy ctor and operator, fixing conf…
…usion with is_copy_constructible-type traits
Configuration menu - View commit details
-
Copy full SHA for 14ab3a3 - Browse repository at this point
Copy the full SHA 14ab3a3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a0a97fa - Browse repository at this point
Copy the full SHA a0a97faView commit details -
[bindings/python] expose-workspace.hpp : do pybind11 -> nanobind swap
+ only concerns def_* methods and pickling (now managed manually through setting the relevant special methods)
Configuration menu - View commit details
-
Copy full SHA for 86863f2 - Browse repository at this point
Copy the full SHA 86863f2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 82d372f - Browse repository at this point
Copy the full SHA 82d372fView commit details -
[bindings/python] expose-settings.hpp : do pybind11 -> nanobind swap
+ concerns def_* methods and pickling (now managed manually through setting the relevant special methods) + remove module_local(), as it is not supported in nanobind: https://nanobind.readthedocs.io/en/latest/porting.html#removed-features
Configuration menu - View commit details
-
Copy full SHA for 887b5c3 - Browse repository at this point
Copy the full SHA 887b5c3View commit details -
[bindings/python] workspace, model : do pybind11 -> nanobind swap
+ concerns def_* methods and pickling (now managed manually through setting the relevant special methods) + remove module_local(), as it is not supported in nanobind: https://nanobind.readthedocs.io/en/latest/porting.html#removed-features + ::arg_v() no longer behaves the same. had to strip per-argument docstrings
Configuration menu - View commit details
-
Copy full SHA for ad7e215 - Browse repository at this point
Copy the full SHA ad7e215View commit details -
[bindings/python] remove optional.hpp
+ nanobind has no out-of-the-box utility for tl::optional AFAIK + nanobind requires C++17 - hence proxsuite will be using std::optional anyway
Configuration menu - View commit details
-
Copy full SHA for 54040cd - Browse repository at this point
Copy the full SHA 54040cdView commit details -
[bindings/python] expose-solver.hpp : switch to nanobind
+ this nuked a bunch of argument docstrings...
Configuration menu - View commit details
-
Copy full SHA for 16a8825 - Browse repository at this point
Copy the full SHA 16a8825View commit details -
[bindings/python] expose-{backward,parallel,qpobject}.hpp : switch to…
… nanobind + this nuked a bunch of argument docstrings...
Configuration menu - View commit details
-
Copy full SHA for 97909b4 - Browse repository at this point
Copy the full SHA 97909b4View commit details -
[bindings/python] expose-qpvector.hpp : upgrade to nanobind
+ change pybind11::return_value_policy to nanobind::rv_policy when relevant + include the nanobind header here (helps for IDEs) + change ctor init types from i64 to u64 -> nanobind is STRICT when it comes to integer signedness conversions
Configuration menu - View commit details
-
Copy full SHA for 520afab - Browse repository at this point
Copy the full SHA 520afabView commit details -
Configuration menu - View commit details
-
Copy full SHA for 783d88f - Browse repository at this point
Copy the full SHA 783d88fView commit details -
[bindings/python] cmake : add stub generation (basic)
pyproject.toml: add dependency on typing-extensions (required for stubgen on python<3.11) Make stub generation optional
Configuration menu - View commit details
-
Copy full SHA for 7de7adf - Browse repository at this point
Copy the full SHA 7de7adfView commit details -
Configuration menu - View commit details
-
Copy full SHA for bc0e35a - Browse repository at this point
Copy the full SHA bc0e35aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3ea4718 - Browse repository at this point
Copy the full SHA 3ea4718View commit details -
[bindings/python] remove macro PROXSUITE_PYTHON_EIGEN_READWRITE
+ nanobind handles things well already
Configuration menu - View commit details
-
Copy full SHA for a8256bf - Browse repository at this point
Copy the full SHA a8256bfView commit details -
Configuration menu - View commit details
-
Copy full SHA for aaeca09 - Browse repository at this point
Copy the full SHA aaeca09View commit details -
+ pickle expects to be loading a str instead of bytes
Configuration menu - View commit details
-
Copy full SHA for 54f42c6 - Browse repository at this point
Copy the full SHA 54f42c6View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0297676 - Browse repository at this point
Copy the full SHA 0297676View commit details -
[bindings/python] Fix overloaded dense.solve() signatures, switch nul…
…lopt for nanobind::none()
Configuration menu - View commit details
-
Copy full SHA for 8dccf3b - Browse repository at this point
Copy the full SHA 8dccf3bView commit details -
Configuration menu - View commit details
-
Copy full SHA for 395933c - Browse repository at this point
Copy the full SHA 395933cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9008bf9 - Browse repository at this point
Copy the full SHA 9008bf9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22fcd22 - Browse repository at this point
Copy the full SHA 22fcd22View commit details -
Configuration menu - View commit details
-
Copy full SHA for 603e208 - Browse repository at this point
Copy the full SHA 603e208View commit details -
Configuration menu - View commit details
-
Copy full SHA for 856e057 - Browse repository at this point
Copy the full SHA 856e057View commit details -
Configuration menu - View commit details
-
Copy full SHA for 4882f59 - Browse repository at this point
Copy the full SHA 4882f59View commit details -
Configuration menu - View commit details
-
Copy full SHA for b810caf - Browse repository at this point
Copy the full SHA b810cafView commit details -
Configuration menu - View commit details
-
Copy full SHA for e7394b3 - Browse repository at this point
Copy the full SHA e7394b3View commit details -
Configuration menu - View commit details
-
Copy full SHA for f004f5d - Browse repository at this point
Copy the full SHA f004f5dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 05632d2 - Browse repository at this point
Copy the full SHA 05632d2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 2723872 - Browse repository at this point
Copy the full SHA 2723872View commit details -
Configuration menu - View commit details
-
Copy full SHA for 94f13f1 - Browse repository at this point
Copy the full SHA 94f13f1View commit details -
Configuration menu - View commit details
-
Copy full SHA for 6d167e8 - Browse repository at this point
Copy the full SHA 6d167e8View commit details -
Configuration menu - View commit details
-
Copy full SHA for 3d637fd - Browse repository at this point
Copy the full SHA 3d637fdView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3804bae - Browse repository at this point
Copy the full SHA 3804baeView commit details -
Configuration menu - View commit details
-
Copy full SHA for bfc2bea - Browse repository at this point
Copy the full SHA bfc2beaView commit details -
Update bindings/python/helpers/instruction-set.cpp
Co-authored-by: Fabian Schramm <55981657+fabinsch@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 0e4db0a - Browse repository at this point
Copy the full SHA 0e4db0aView commit details -
Update bindings/python/src/expose-results.hpp
Co-authored-by: Fabian Schramm <55981657+fabinsch@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 449267f - Browse repository at this point
Copy the full SHA 449267fView commit details -
Update bindings/python/src/expose-helpers.hpp
Co-authored-by: Fabian Schramm <55981657+fabinsch@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d509b5e - Browse repository at this point
Copy the full SHA d509b5eView commit details -
[workflows] do not re-run linux, osx, win, arch CI and release CI whe…
…n updating CHANGELOG.md
Configuration menu - View commit details
-
Copy full SHA for 519a624 - Browse repository at this point
Copy the full SHA 519a624View commit details
Commits on Aug 30, 2024
-
Configuration menu - View commit details
-
Copy full SHA for c7c2b2a - Browse repository at this point
Copy the full SHA c7c2b2aView commit details -
Configuration menu - View commit details
-
Copy full SHA for d719663 - Browse repository at this point
Copy the full SHA d719663View commit details