Skip to content

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

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

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions