Skip to content

CI: poetry audit fails due to broken safety 3.8.x import #207

@jeff-schnitter

Description

@jeff-schnitter

Body:

Problem

The poetry audit step in both test-pr.yml and test-daily.yml fails with:

cannot import name 'build_client_session' from 'safety.auth'

This is caused by safety 3.8.x shipping a broken import. The poetry-audit-plugin depends on safety>=3.0.0,<4.0.0, so pip resolves to the latest broken version.

Fix

Pin safety<3.8.0 in the workflow install step to use the last working version.

References

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