Couchbase Python and C++
Enabling Couchbase C++ for Windows ARM allows for the straightforward building of Couchbase Python (using CMAKE). This can be achieved by configuring specific environment variables or by modifying CMAKE to point to the designated system installed path.
set PYCBC_BUILD_TEMP=C:\User\source\repos\couchbase-python-client\build_arm64
set PYCBC_BUILD_TYPE=Release
set PYCBC_CMAKE_PARALLEL_THREADS=8
set PYCBC_CMAKE_SET_ARCH=ARM64
set PYCBC_OPENSSL_DIR=C:\User\source\repos\vcpkg\installed\arm64-windows-static
set PYCBC_PYTHON3_EXECUTABLE=C:\Users\AppData\Local\Programs\Python\Python311-arm64\python.exe
set PYCBC_PYTHON3_INCLUDE_DIR=C:\Users\AppData\Local\Programs\Python\Python311-arm64\Include
set PYCBC_PYTHON3_LIBRARY=C:\Users\AppData\Local\Programs\Python\Python311-arm64\libs\python3.lib
set PYCBC_PYTHON3_ROOT_DIR=C:\Users\AppData\Local\Programs\Python\Python311-arm64
set PYCBC_USE_OPENSSL=true
The primary dependency highlighted is Couchbase C++. A pull request (PR) has been submitted to Couchbase C++.
C++ Pull Request:
https://github.com/couchbase/couchbase-cxx-client/pull/844
Couch base team Internal ticket:
The Couchbase C++ team has initiated an internal ticket to facilitate this enablement support. It appears they merge above PR to their internal code base when following Jira PYCBC-1716 is actioned.
https://jira.issues.couchbase.com/browse/PYCBC-1716
They will provide Python Wheel according to their project priorities.
Git Hub Issues:
The original issues to track are below:
https://github.com/couchbase/couchbase-python-client/issues/64 - Python Issue
https://github.com/couchbase/couchbase-cxx-client/issues/843 - C++ Issue