diff --git a/.gitignore b/.gitignore index 9daa9a8fc3..04b7efebbb 100644 --- a/.gitignore +++ b/.gitignore @@ -7,9 +7,6 @@ __pycache__/ *.so *.dylib -# Cython extensions -*.cpp - # Distribution / packaging .Python env/ diff --git a/pyproject.toml b/pyproject.toml index 0e822ea338..9d2d7d124f 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -2,7 +2,6 @@ requires = [ "scikit-build-core", "pybind11", - "Cython>=3", "numpy>=2.0.1" ] build-backend = "scikit_build_core.build" diff --git a/tiledb/__init__.py b/tiledb/__init__.py index 93ed6c3dfe..4bffb4e32e 100644 --- a/tiledb/__init__.py +++ b/tiledb/__init__.py @@ -2,15 +2,6 @@ import os import sys -# un-comment this section to fix Cython backtrace line-numbers in -# IPython/Jupyter. see https://bugs.python.org/issue32797#msg323167 -# --- -# try: -# from importlib.machinery import ExtensionFileLoader -# else: -# del ExtensionFileLoader.get_source -# --- - if os.name == "posix": if sys.platform == "darwin": lib_name = "libtiledb.dylib" diff --git a/tiledb/cc/array.cc b/tiledb/cc/array.cc index f3e3512512..392d1950b1 100644 --- a/tiledb/cc/array.cc +++ b/tiledb/cc/array.cc @@ -50,7 +50,6 @@ void init_array(py::module &m) { end.value())); }), py::keep_alive<1, 2>()) - // Temporary initializer while Array is converted from Cython to PyBind. .def(py::init([](const Context &ctx, py::object array) { tiledb_array_t *c_array = (py::capsule)array.attr("__capsule__")(); return std::make_unique(ctx, c_array, false); diff --git a/tiledb/numpyFlags.h b/tiledb/numpyFlags.h deleted file mode 100644 index be21064176..0000000000 --- a/tiledb/numpyFlags.h +++ /dev/null @@ -1,2 +0,0 @@ -// Turn off cython generated deprecation warnings -#define NPY_NO_DEPRECATED_API NPY_1_7_API_VERSION \ No newline at end of file