Skip to content

v0.46.0 Breaking CI build pipelines #660

@fervand1

Description

@fervand1

Summary

The latest release v0.46.0 is breaking the pipelines which were previously working. The following error is raised.

      [stderr]
      error: invalid command 'bdist_wheel'

      hint: This error likely indicates that `mypackage @ file:///D:/test/myrepo/mypackage`
      depends on `wheel`, but doesn't declare it as a build dependency. If `mypackage @
      file:///D:/test/myrepo/mypackage` is a first-party package, consider adding `wheel` to
      its `build-system.requires`. Otherwise, `uv pip install wheel` into the environment and re-run with
      `--no-build-isolation`.

Although wheel is not the direct dependency, I have following configuration, where wheel is dependency of mybuildtools package.

[build-system]
requires = ["setuptools", "mybuildtools"]
build-backend = "setuptools.build_meta"

What has changed in the new release that is causing the issue and why it needs to be explicit dependency and not sub dependency? I think the previous version was doing it correctly.

Note: If I downgrade to v0.45.0, the pipelines are succeeding correctly

Platform

Windows 11

Version

v0.46.0

Python version

3.10

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions