nanobind Umbrella

Abierto
#32,560 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Refactorización
Claridad
Necesita aclaración
Estado de actividad
Activo
Stack tecnológico
cpp, python
Área
backend

Línea de trabajo

Start by reviewing the listed pull requests, especially #32532, #32547, and draft #32536, then read the nanobind discussions linked for the buffer issue. The remaining work spans buffer support, typecaster auditing, error handling, and conversion to nanobind; this umbrella issue does not define a single task or completion test, so identify a specific outstanding item before starting.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Maintenance

This is an umbrella issue to keep track of nanobind pull requests as we transition to nanobind. I have also made a project.

I'm using #32411 and my nanobind-experiment branch to represent the finished product.

Pull Requests
Phase 1 (Prepare for nanobind)
Pull Request Prerequisites Description
#32484 - Introduces mpl::format for error strings
#32547 - Cleans up transform_affine() to prepare for #32536
#32532 - Introduces mpl::array and mpl::defer. Adopts them in qhull.
#32576 #32532 Introduce mpl buffer functions to replace def_buffer()
#32536 (Draft) #32532 Fully adopts mpl::array and mpl::defer
#32581 (Draft) #32536 Replaces pybind11 type casters with mpl::convert
Pending #32581 Adds nanobind implementations of utilities (mpl::array, etc)
Phase 2 (Adopt nanobind as a static library)

Once all of Phase 1 lands, we can migrate individual modules. Most of these PRs will simply change py::foo to nb::foo as well as other minor renames.

Pull Request Description
Pending Migrate _backend_agg
Pending Migrate _c_internal_utils.cpython
Pending Migrate ft2font
Pending Migrate _image
Pending Migrate _path
Pending Migrate _qhull
Pending Migrate _tkagg
Pending Migrate _tri
Phase 3 (Adopt Split Mode)

Once all of Phase 2 lands, we can adopt Split Mode.

Pull Request Description
Pending Adopt Split Mode (will need help from Elliott to figure out what to do on wasm/3.14t/etc.)
Lenguaje dominante
Python
Estrellas
23.5k
Forks
8.6k
Merge medio
1 d 19 h
PR fusionados (30 d)
64

Preparar el entorno

Abrir en Codespaces

Inicia el contenedor de desarrollo del proyecto en tu navegador, con tu propia cuenta de GitHub.

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de matplotlib/matplotlib

Todos los issues de matplotlib/matplotlib

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.