Skip to content

Relax anthropic version pin to allow >=0.46.0,<1.0.0#995

Open
Br1an67 wants to merge 1 commit intodatalab-to:masterfrom
Br1an67:fix/issue-927-relax-anthropic-pin
Open

Relax anthropic version pin to allow >=0.46.0,<1.0.0#995
Br1an67 wants to merge 1 commit intodatalab-to:masterfrom
Br1an67:fix/issue-927-relax-anthropic-pin

Conversation

@Br1an67
Copy link

@Br1an67 Br1an67 commented Mar 1, 2026

Summary

Relax the anthropic version constraint from ^0.46.0 (which resolves to >=0.46.0,<0.47.0) to >=0.46.0,<1.0.0.

The current strict upper bound prevents users from installing marker-pdf alongside packages that require newer anthropic versions (e.g., pydantic-ai requires anthropic>=0.52.0).

The marker code only uses stable API features (anthropic.Anthropic, client.messages.create, RateLimitError, APITimeoutError), so newer 0.x versions should be compatible.

Closes #927

Changes

  • Changed anthropic = "^0.46.0" to anthropic = ">=0.46.0,<1.0.0" in pyproject.toml

@github-actions
Copy link
Contributor

github-actions bot commented Mar 1, 2026

CLA Assistant Lite bot All contributors have signed the CLA ✍️ ✅

@Br1an67
Copy link
Author

Br1an67 commented Mar 1, 2026

I have read the CLA Document and I hereby sign the CLA

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Strict anthropic version pin (<0.47.0) causes conflicts with modern packages

1 participant