Use typeguard for runtime input validation.

Open
#324 1 comment 0 reactions 1 assignee View on GitHub

@agriyakhetarpal is already working on this.

Since Dec 27, 2024.

Assessment

This issue has not been assessed yet.

Description

In https://github.com/pypa/distutils/pull/311#discussion_r1898190101_, I explore the possibility of using typeguard (or pydantic but for the Rust build dependency) to perform parameter validation.

Although I'd love to have a built-in language feature to perform such validations (and other transforms), I haven't had the opportunity to drive this effort forward, so a third-party library is our only option.

Dominant language
Python
Stars
59
Forks
94
PR merge metrics
No merged PRs in 30d

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.

More from pypa/distutils

All issues in pypa/distutils

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.