Skip to content

PEP 517 deprecation warning when installing detect-secrets (missing pyproject.toml) #169

@saquibsaifee

Description

@saquibsaifee

Describe the bug

Pip emits a deprecation warning when installing detect-secrets because the package is built using the legacy setup.py bdist_wheel mechanism. The message notes that pip 25.3 will enforce this behaviour change and suggests using the standard PEP 517 build interface or adding a pyproject.toml file to the source tree.

Image

Expected behavior

No deprecation warning when installing; the package should build via the PEP 517 interface using a pyproject.toml file.

Impact

Users upgrading to newer versions of pip (e.g. 25.x) will be unable to install detect-secrets without explicitly enabling --use-pep517. This warning indicates that support for legacy builds will be removed soon, so packaging should be updated.

Additional context

A pull request to add a pyproject.toml file and resolve this deprecation warning has been opened: #168.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions