Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

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

Open
#446 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
68/100
Issue type
Refactor
Clarity
Mostly clear
Activity status
Active
Tech stack
python

Research direction

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.

Written by the indexing model from the issue text.

Description

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.

Dominant language
Python
Stars
27
Forks
33
Avg merge
11h 10m
Merged PRs (30d)
14

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from open-feature/python-sdk-contrib

All issues in open-feature/python-sdk-contrib

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.