Hacktoberfest 2026: los issues que los mantenedores marcaron para octubre, abiertos y aptos para principiantes. Explorar issues de Hacktoberfest

chore(flagd): protobuf modules are only generated by a build

Abierto
#446 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
3/5
Tiempo estimado
1-2 días
Aptitud para principiantes
68/100
Tipo de issue
Refactorización
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
python

Línea de trabajo

Start by comparing the flagd provider setup with the flagd testkit's hatch_build_sync.py and the poe test flow. Trace how protoc generation currently depends on the hatch-protobuf build hook, then update the provider's test and build configuration and CONTRIBUTING.md to use the uv-era workflow. Done means tests generate importable protobuf modules before running, builds package the generated output, and the documented commands work without hatch.

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

Descripción

The flagd provider's protobuf modules are generated only by the hatch-protobuf build hook, so nothing importable exists until a distribution is built.

Two consequences:

  • CI runs uv build for every package on every Python version, purely so this one package gets its generated modules.
  • CONTRIBUTING.md still tells contributors to run hatch build once and to test with hatch test. Both predate the move to uv, and hatch is not a dependency of the repo any more, so following the instructions fails.

Generating code is a test input, not an artifact of the build (pypa/hatch#1824). The flagd testkit already handles this correctly: hatch_build_sync.py is an ordinary script, poe test runs it first, and the build hook only ships what it produced. The flagd provider should do the same for protoc.

Lenguaje dominante
Python
Estrellas
27
Forks
33
Merge medio
5 h
PR fusionados (30 d)
10

Guía de contribución

Abrir la guía de contribución

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 open-feature/python-sdk-contrib

Todos los issues de open-feature/python-sdk-contrib

Issues similares

Más issues de Python

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.