pybind / pybind/pybind11-stubgen

Roadmap

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

Nobody has claimed this yet.

bug enhancement good first issue help wanted
Dominant language
Python
Stars
361
Forks
75
PR merge metrics
No merged PRs in 30d

Description

Starting a meta-issue for roadmap brainstorming.
We should put these in issues and maybe assign them to a 2.6.0 & 3.0.0 project or milestone.

Short-Term Needs

  • documentation (RTD + Sphinx?):
    • Developer facing docs (how does this project work).
      • Covering existing code with in-code docstrings.
    • A little user facing docs (usage & common workflows)
  • better regeneration of silver stub files, using tox #287
  • fix local stub generation for development on non-Linux platforms #287
    • It is currently not possible to build it using the scripts on Mac OS and presumable Windows due to GNU coreutils-specific instructions like (readline -m). 
  • fix big bugs
    • fixing the sorting issue #231 / #275 / #238 and how it deals with cyclic dependencies is one of the more severe bugs we need to fix in stubgen.
    • Inconsistent current-module prefix stripping creates invalid .pyi code #301
    • Better support for enums & unions (multiple PRs & issues)
    • NumPy transition for pybind11 v3.0 #263
    • the Better handling of hidden builtins #278
  • pre-commit: run ruff (formatter & linter), replacing other tools like black & flake8 #290 then #307
  • checking stubs with mypy in CI

Mid or Long-Term

  • support testing/dev on Windows (local stub gen)
  • bugs: looking through all other smaller bugs open in our 13 PRs / 24 issues.
  • type checking the project code with mypy in CI
  • allow using pybind11-stubgen as a library (for customization and custom visitors)

Contributor guide

No contributing guide indexed for this repository

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.

Research direction

Start by reviewing the unchecked roadmap areas, including RTD/Sphinx documentation, tox-based development, ruff and mypy in CI, Windows support, and library use; follow the referenced issues such as #263, #290, and #307. Done means the brainstorming has been split into scoped, actionable issues or milestones with clear ownership and completion criteria.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
ci-cd, documentation, tooling
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.