Skip to content

Fix failing ci actions #4

Description

@Steake

The job failed because pip could not import the build backend setuptools.build_meta, resulting in the error: BackendUnavailable: Cannot import 'setuptools.build_meta'.

Solution:
Add setuptools as a build dependency in your requirements.txt, or explicitly install it before running pip install:

- name: Install dependencies
  run: |
    python -m pip install --upgrade pip
    pip install setuptools wheel
    pip install -r requirements.txt
    pip install pytest pytest-bdd coverage

Make sure your requirements.txt includes setuptools if you have build dependencies relying on it. This ensures pip can find setuptools.build_meta and avoids the error.

You can review and update the workflow here: .github/workflows/ci.yml

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions