Skip to content

[BUG] CI: sdist build fails with "Missing dependencies: setuptools==75.3.2" #120

Description

@danielesalpietro

Prerequisites

System Information

CI environment (GitHub-hosted runner), not a local install:

  • Runner: ubuntu-22.04
  • Python: 3.10.20
  • setuptools pinned in pyproject.toml: ==75.3.2
  • Workflow: .github/workflows/build-test.yml, .github/workflows/ci-pr.yml
  • Build command: python -m build --sdist --no-isolation

Problem Description

Build Test / build and PR Checks / build are currently failing on
every PR at the "Build sdist" step:

Getting build dependencies for sdist...
ERROR Missing dependencies:
    setuptools==75.3.2

The workflow installs setuptools==75.3.2 explicitly before running
python -m build --sdist --no-isolation, but build's dependency
check still reports it as missing. This is unrelated to any specific
PR's diff — pyproject.toml, setup.py, requirements.txt, and
MANIFEST.in are unchanged across affected PRs, so this looks like a
recently introduced fragility (possibly a GitHub-hosted runner image
update — the job logs also show a new "Node.js 20 is deprecated"
warning) around the exact setuptools==75.3.2 pin in
[build-system] requires.

This is currently blocking merges on approved PRs (e.g. #119).

Steps to Reproduce

Code snippets:
N/A — CI-only failure, not reproducible via a Python API call.

Steps to reproduce:

  1. Open or update any PR against main/dev.
  2. Wait for "Build Test" / "PR Checks" workflows to run.
  3. Observe "Build sdist" step fail with the error above.

Expected Behavior

python -m build --sdist --no-isolation succeeds using the pinned
setuptools version, as it did previously.

Additional Context

No response

Usage Statistics (Optional)

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions