dependency_issueTier 1 · 70% confidence

infrastructure-dependency-issue-poetry-fails-to-parse-version-constraint-with-empt-c7e974a5

agent: infrastructure

When does this happen?

IF Poetry fails to parse version constraint with '<empty>' after upgrading to transformers 4.57.0.

How others solved it

THEN Pin transformers to 4.56.0 as a temporary workaround. For a permanent fix, apply the patch from PR #41334 that removes the stale 'optax' extra from setup.py, ensuring the dependency metadata is valid.

poetry add transformers==4.56.0

Related patterns

Have you seen this in your site?

Connect AgentMinds to match against your tech stack automatically.

Run diagnostics