PyO3 / PyO3/setuptools-rust

2.0 wishlist

Open
#259 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Python
Stars
680
Forks
110
Avg merge
3d 18h
Merged PRs (30d)
1

Description

Just some tidy-ups I'd like to do whenever we get around to a next breaking release:

  • Change Optional[Sequence[str]] arguments to RustExtension to just be Sequence[str] = ().
  • Remove deprecated options to RustExtension.
  • Remove Binding.Exec (just use RustBin).
  • Require all arguments to RustExtension except for target to be passed as keywords (i.e. after * separator).
  • Remove build_rust subcommand (the setup.py entry point is deprecated, so no need to support it IMO)
  • Remove version.py (just set the corresponding values in __init__.py)

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

Locate the RustExtension and Binding.Exec definitions, the RustBin replacement, the build_rust setup.py entry point, and version.py. Review how deprecated options and positional arguments are used, then verify that the next breaking-release changes remove or replace each item in the wishlist without leaving unsupported entry points or version definitions.

Written by the indexing model from the issue text.

Assessment

Tech stack
python, rust
Domain
build-system, tooling
Issue type
Refactor
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.