aports/testing/pdal-python-plugins/enable-tests.patch
mio 8a7fb9df0b testing/pdal-python-plugins: upgrade to 1.6.2
https://github.com/PDAL/python-plugins/compare/1.2.1...1.6.2

- 1.6.2 includes numpy 2.1 support
- 1.6.1 includes pdal 2.8.0 support

Resolves build errors in 1.2.1 with pdal 2.8.0+:

```
/home/builder/builds/pdal-python-plugins/src/pdal-plugins-1.2.1/pdal/plang/Invocation.cpp: In member function 'void* pdal::plang::Invocation::extractArray(PyObject*, const std::string&, pdal::Dimension::Type, size_t&)':
/home/builder/builds/pdal-python-plugins/src/pdal-plugins-1.2.1/pdal/plang/Invocation.cpp:260:38: error: 'PyArray_Descr' has no member named 'elsize'
  260 |     if (static_cast<uint32_t>(dtype->elsize) != Dimension::size(t))
      |                                      ^~~~~~
/home/builder/builds/pdal-python-plugins/src/pdal-plugins-1.2.1/pdal/plang/Invocation.cpp:263:53: error: 'PyArray_Descr' has no member named 'elsize'
  263 |         oss << "dtype of array has size " << dtype->elsize
      |                                                     ^~~~~~
```
2025-01-13 06:31:14 +00:00

10 lines
216 B
Diff

--- a/pyproject.toml
+++ b/pyproject.toml
@@ -65,5 +65,5 @@
cmake.verbose = true
logging.level = "INFO"
-#[tool.scikit-build.cmake.define]
-#WITH_TESTS = "ON"
+[tool.scikit-build.cmake.define]
+WITH_TESTS = "ON"