-
Notifications
You must be signed in to change notification settings - Fork 419
Move to Pybind 3.0 #4059
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 to Pybind 3.0 #4059
Conversation
|
Anyways, after I add python -m pytest libmambapy/tests
============================================================================== test session starts ===============================================================================
platform linux -- Python 3.11.13, pytest-8.4.1, pluggy-1.6.0
rootdir: /mnt/ubuntu_hdd/open_source/code/mamba
configfile: pyproject.toml
plugins: cov-6.2.1, xprocess-1.0.2, asyncio-1.1.0, rerunfailures-16.0.1, timeout-2.4.0
asyncio: mode=Mode.STRICT, asyncio_default_fixture_loop_scope=None, asyncio_default_test_loop_scope=function
collected 117 items
libmambapy/tests/test_legacy.py ... [ 2%]
libmambapy/tests/test_solver.py .............................. [ 28%]
libmambapy/tests/test_solver_libsolv.py ............................................ [ 65%]
libmambapy/tests/test_specs.py ................................. [ 94%]
libmambapy/tests/test_utils.py ...... [ 99%]
libmambapy/tests/test_version.py . [100%]
============================================================================== 117 passed in 0.15s ===============================================================================
munmap_chunk(): invalid pointer
Aborted (core dumped) |
|
Indeed, I believe I found it. |
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #4059 +/- ##
==========================================
+ Coverage 64.00% 64.14% +0.13%
==========================================
Files 303 303
Lines 38939 38853 -86
Branches 2880 2883 +3
==========================================
- Hits 24924 24923 -1
+ Misses 13948 13863 -85
Partials 67 67 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
|
@jjerphan Ready for review! |
jjerphan
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you, @AntoinePrv!
FYI, I can build with both pybind11 3 and pybind11 2 locally.
We will have to distribute build variants of libmambapy on pybind11 2 and 3 since users might use one or the others for a few minor versions I think.
I guess we can now perform a pre-release of 2.4.0 (or 2.3.3) to test this PR and #3802.
What do you think?
|
Ok, not waiting for the integration tests on pybind 2.0 before reverting. |
|
Also not waiting for this CI since it's the exact same commit as before. |
@AntoinePrv: so... are we going to get a pre-release? |
|
Yes, even a release. It's coming in the next few days. |
|
Looking forward to it! 😄 |
|
@shermansiu the prerelease is out. |
|
Thanks for letting me know! 😁 |
Description
This new implementation actually works with Pybind 2 and 3.
Type of Change
Checklist
pre-commit run --alllocally in the source folder and confirmed that there are no linter errors.Close #4024
Close #4030
Close #4056