Skip to content

Commit 8ae5c46

Browse files
committed
bulk cleanup
1 parent 5c67d68 commit 8ae5c46

66 files changed

Lines changed: 98 additions & 107 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

CMakeLists.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,6 @@ nanobind_add_module(
111111
$<TARGET_OBJECTS:python_native>
112112
$<TARGET_OBJECTS:python_numpy>
113113
$<TARGET_OBJECTS:python_pandas>
114-
$<TARGET_OBJECTS:python_pybind11>
115114
$<TARGET_OBJECTS:python_connection>
116115
$<TARGET_OBJECTS:python_expression>
117116
$<TARGET_OBJECTS:python_relation>

src/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# this is used for clang-tidy checks
22
add_subdirectory(pyrelation)
33
add_subdirectory(pyexpression)
4-
add_subdirectory(pybind11)
54
add_subdirectory(numpy)
65
add_subdirectory(native)
76
add_subdirectory(jupyter)
@@ -25,6 +24,7 @@ add_library(
2524
pyrelation.cpp
2625
pyresult.cpp
2726
pystatement.cpp
27+
pyutil.cpp
2828
python_dependency.cpp
2929
python_import_cache.cpp
3030
python_replacement_scan.cpp

src/common/exceptions.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
1-
#include "duckdb_python/pybind11/exceptions.hpp"
1+
#include "duckdb_python/exceptions.hpp"
22

33
#include "duckdb/common/exception.hpp"
44
#include "duckdb/common/exception/list.hpp"
55
#include "duckdb/common/error_data.hpp"
66
#include "duckdb/common/string_util.hpp"
7-
#include "duckdb_python/pybind11/pybind_wrapper.hpp"
7+
#include "duckdb_python/nb/casters.hpp"
88

99
namespace nb = nanobind;
1010

src/dataframe.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "duckdb_python/pybind11/dataframe.hpp"
1+
#include "duckdb_python/dataframe.hpp"
22
#include "duckdb_python/pyconnection/pyconnection.hpp"
33

44
namespace duckdb {

src/duckdb_python.cpp

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#include "duckdb_python/pybind11/pybind_wrapper.hpp"
1+
#include "duckdb_python/nb/casters.hpp"
22

33
#include "duckdb/common/atomic.hpp"
44
#include "duckdb/common/vector.hpp"
@@ -9,14 +9,14 @@
99
#include "duckdb_python/pystatement.hpp"
1010
#include "duckdb_python/pyrelation.hpp"
1111
#include "duckdb_python/expression/pyexpression.hpp"
12-
#include "duckdb_python/pybind11/exceptions.hpp"
12+
#include "duckdb_python/exceptions.hpp"
1313
#include "duckdb_python/typing.hpp"
1414
#include "duckdb_python/functional.hpp"
1515
#include "duckdb/common/box_renderer.hpp"
1616
#include "duckdb/function/function.hpp"
17-
#include "duckdb_python/pybind11/conversions/exception_handling_enum.hpp"
18-
#include "duckdb_python/pybind11/conversions/python_udf_type_enum.hpp"
19-
#include "duckdb_python/pybind11/conversions/python_csv_line_terminator_enum.hpp"
17+
#include "duckdb_python/nb/conversions/exception_handling_enum.hpp"
18+
#include "duckdb_python/nb/conversions/python_udf_type_enum.hpp"
19+
#include "duckdb_python/nb/conversions/python_csv_line_terminator_enum.hpp"
2020
#include "duckdb/common/enums/statement_type.hpp"
2121
#include "duckdb/common/adbc/adbc-init.hpp"
2222

src/include/duckdb_python/arrow/arrow_array_stream.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#include "duckdb/function/table/arrow.hpp"
1616
#include "duckdb/main/client_config.hpp"
1717
#include "duckdb/main/config.hpp"
18-
#include "duckdb_python/pybind11/pybind_wrapper.hpp"
18+
#include "duckdb_python/nb/casters.hpp"
1919

2020
#include "duckdb/common/string.hpp"
2121
#include "duckdb/common/vector.hpp"

src/include/duckdb_python/arrow/arrow_export_utils.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#pragma once
22

3-
#include "duckdb_python/pybind11/pybind_wrapper.hpp"
3+
#include "duckdb_python/nb/casters.hpp"
44

55
namespace duckdb {
66

src/include/duckdb_python/arrow/filter_pushdown_visitor.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
#include "duckdb/function/table/arrow/arrow_duck_schema.hpp"
1313
#include "duckdb/planner/expression.hpp"
1414
#include "duckdb/planner/table_filter.hpp"
15-
#include "duckdb_python/pybind11/pybind_wrapper.hpp"
15+
#include "duckdb_python/nb/casters.hpp"
1616

1717
namespace duckdb {
1818

src/include/duckdb_python/arrow/polars_filter_pushdown.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#include "duckdb/planner/table_filter_set.hpp"
1212
#include "duckdb/main/client_properties.hpp"
13-
#include "duckdb_python/pybind11/pybind_wrapper.hpp"
13+
#include "duckdb_python/nb/casters.hpp"
1414

1515
namespace duckdb {
1616

src/include/duckdb_python/arrow/pyarrow_filter_pushdown.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
#include "duckdb/function/table/arrow/arrow_duck_schema.hpp"
1212
#include "duckdb/planner/table_filter_set.hpp"
1313
#include "duckdb/main/client_properties.hpp"
14-
#include "duckdb_python/pybind11/pybind_wrapper.hpp"
14+
#include "duckdb_python/nb/casters.hpp"
1515

1616
namespace duckdb {
1717

0 commit comments

Comments
 (0)