-
Notifications
You must be signed in to change notification settings - Fork 25
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
[c++/python] Address C++ warnings in Python build #2581
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #2581 +/- ##
=======================================
Coverage 90.26% 90.26%
=======================================
Files 37 37
Lines 4007 4007
=======================================
Hits 3617 3617
Misses 390 390
Flags with carried forward coverage won't be shown. Click here to find out more.
|
* Rename new `bld` flag 'allow-tiledb-dep' with 'no-tiledb-deprecated' * Add flag for disabling the deprecated API to `bld.ps1`
Note: This change removes the TileDB deprecation warnings from some but not most CI. When TileDB is built downstream (e.g. as part of TileDB-Py), then the deprecations are still built into the API. |
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.
🚢
1. Add `TILEDB_REMOVE_DEPRECATIONS` as a CMake option that can be passed to the external TileDB build. 2. Update CI to build TileDB without the deprecated API. 3. Address a few misc. warnings in PyBind. * Use `is` instead of `==` for PyBind type checks. * Use `TileDBSOMAPyError` instead of `TileDBSOMAError` when generating errors in `query_conditions.cc` (remove redefinition). * Remove unused variables. Note: This PR does not prevent deprecated warnings in all CI. If TileDB is built downstream or downloaded, the deprecated API will still be included.
1. Add `TILEDB_REMOVE_DEPRECATIONS` as a CMake option that can be passed to the external TileDB build. 2. Update CI to build TileDB without the deprecated API. 3. Address a few misc. warnings in PyBind. * Use `is` instead of `==` for PyBind type checks. * Use `TileDBSOMAPyError` instead of `TileDBSOMAError` when generating errors in `query_conditions.cc` (remove redefinition). * Remove unused variables. Note: This PR does not prevent deprecated warnings in all CI. If TileDB is built downstream or downloaded, the deprecated API will still be included. Co-authored-by: Julia Dark <[email protected]>
Issue and/or context: #2513
Changes:
TILEDB_REMOVE_DEPRECATIONS
as a CMake option that can be passed to the external TileDB build.is
instead of==
for PyBind type checks.TileDBSOMAPyError
instead ofTileDBSOMAError
when generating errors inquery_conditions.cc
(remove redefinition).