From a76ea0d613b270ca65ab4cadd8da06f688b5ec89 Mon Sep 17 00:00:00 2001 From: Hyungtae Lim Date: Tue, 28 Jan 2025 10:12:07 -0500 Subject: [PATCH] minor bump up to manage error related to `align_val_t` error. --- CMakeLists.txt | 2 +- python/CMakeLists.txt | 4 ++++ python/README.md | 20 +++++++++++++++++--- python/pyproject.toml | 2 +- 4 files changed, 23 insertions(+), 5 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt index 0843998..e611962 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -2,7 +2,7 @@ set(CMAKE_CXX_STANDARD 17) set(CMAKE_CXX_STANDARD_REQUIRED ON) cmake_minimum_required(VERSION 3.18) project(robin - VERSION 1.2.0 + VERSION 1.2.1 DESCRIPTION "Robust outlier rejection based on measurement compatibility graphs" LANGUAGES CXX ) diff --git a/python/CMakeLists.txt b/python/CMakeLists.txt index aecc849..84646cc 100644 --- a/python/CMakeLists.txt +++ b/python/CMakeLists.txt @@ -6,6 +6,10 @@ project(robin_python_bindings) set(CMAKE_BUILD_TYPE Release) set(CMAKE_POSITION_INDEPENDENT_CODE ON) +# Specify the C++ standard to handle a build error related to `std::align_val_t_error` in Xenium. +set(CMAKE_CXX_STANDARD 17) +set(CMAKE_CXX_STANDARD_REQUIRED ON) + find_package(Python COMPONENTS Interpreter Development.Module REQUIRED) find_package(pybind11 CONFIG REQUIRED) diff --git a/python/README.md b/python/README.md index 613b919..19fc0ee 100644 --- a/python/README.md +++ b/python/README.md @@ -4,7 +4,21 @@ pip install . ``` -# Usage +## Usage ```python -import robin_py -``` \ No newline at end of file +import spark_robin +``` + +Please refer to `example.py` + +## Test + +Once you run + +``` +python example.py +``` + +it should not show any errors. + + diff --git a/python/pyproject.toml b/python/pyproject.toml index 7a946d9..93a3a9e 100644 --- a/python/pyproject.toml +++ b/python/pyproject.toml @@ -4,7 +4,7 @@ build-backend = "scikit_build_core.build" [project] name = "spark_robin" -version = "1.2.0" +version = "1.2.1" requires-python = ">=3.8" description ='Python binding for Robin' authors = [