From e522995ba83ceebc4b093547116b203931a44334 Mon Sep 17 00:00:00 2001 From: laggykiller Date: Fri, 24 May 2024 07:09:53 +0800 Subject: [PATCH] Update nanobind to latest release --- .github/workflows/check_and_fix.yml | 2 +- pyproject.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/check_and_fix.yml b/.github/workflows/check_and_fix.yml index 2ef861b..ba0b30e 100644 --- a/.github/workflows/check_and_fix.yml +++ b/.github/workflows/check_and_fix.yml @@ -34,7 +34,7 @@ jobs: run: isort . - name: nanobind stubgen run: | - pip install "nanobind @ git+https://github.com/wjakob/nanobind.git" + pip install nanobind python -m nanobind.stubgen \ -m apngasm_python._apngasm_python \ -o src-python/apngasm_python/_apngasm_python.pyi \ diff --git a/pyproject.toml b/pyproject.toml index 2c31bfa..57f0196 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -35,7 +35,7 @@ lint = [ [build-system] # How pip and other frontends should build this project requires = [ "py-build-cmake==0.2.0a12", - "nanobind @ git+https://github.com/wjakob/nanobind.git", + "nanobind>=2.0.0", "conan>=2.0" ] build-backend = "py_build_cmake.build"