diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a9336b6b6..4c08243e5 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -22,13 +22,6 @@ jobs: matrix: os: ['ubuntu-latest', 'windows-2022', 'macos-latest'] python: ['3.8', '3.9', '3.10', '3.11', '3.12.0-rc.1', 'pypy3.9', 'pypy3.10'] - exclude: - - os: 'macos-latest' - python: 'pypy3.9' - - os: 'macos-latest' - python: 'pypy3.10' - - os: 'windows-2022' - python: '3.12.0-rc.1' name: "Python ${{ matrix.python }} / ${{ matrix.os }}" runs-on: ${{ matrix.os }} diff --git a/cmake/darwin-ld-pypy.sym b/cmake/darwin-ld-pypy.sym index 1863c1340..bb98d2747 100644 --- a/cmake/darwin-ld-pypy.sym +++ b/cmake/darwin-ld-pypy.sym @@ -268,6 +268,7 @@ -U _PyPyFloat_AS_DOUBLE -U _PyPyFloat_AsDouble -U _PyPyFloat_Check +-U _PyPyFloat_CheckExact -U _PyPyFloat_FromDouble -U _PyPyFloat_FromString -U _PyPyFloat_Type diff --git a/src/nb_internals.cpp b/src/nb_internals.cpp index 0fd307b01..7e3d4ff4c 100644 --- a/src/nb_internals.cpp +++ b/src/nb_internals.cpp @@ -319,7 +319,6 @@ NB_NOINLINE void init(const char *name) { nb_internals *p = new nb_internals(); - str nb_name("nanobind"); p->nb_module = PyModule_NewObject(nb_name.ptr()); diff --git a/tests/test_stl.cpp b/tests/test_stl.cpp index aa3fb04ff..9115654b6 100644 --- a/tests/test_stl.cpp +++ b/tests/test_stl.cpp @@ -418,8 +418,8 @@ NB_MODULE(test_stl_ext, m) { .def_rw("movable", &ClassWithMovableField::movable); // test67 std::vector - m.def("flip_vector_bool", [](std::vector vec) { - vec.flip(); + m.def("flip_vector_bool", [](std::vector vec) { + vec.flip(); return vec; }); }