Skip to content

Python 3.14 support#46

Merged
kenhong merged 2 commits intovoyage-ai:mainfrom
fzowl:python-314
Jan 28, 2026
Merged

Python 3.14 support#46
kenhong merged 2 commits intovoyage-ai:mainfrom
fzowl:python-314

Conversation

@fzowl
Copy link
Copy Markdown
Contributor

@fzowl fzowl commented Jan 27, 2026

No description provided.

@fzowl
Copy link
Copy Markdown
Contributor Author

fzowl commented Jan 28, 2026

@kenhong I checked the PR:

  • i cloned the repo, switched to my branch
  • created a Python 3.14 venv
  • installed the project, with dependencies
  • run pytest (with exported api key)
    All tests passed.

@kenhong kenhong merged commit 86422e1 into voyage-ai:main Jan 28, 2026
12 of 18 checks passed
fzowl added a commit to fzowl/voyageai-python that referenced this pull request Mar 21, 2026
The previous fix (voyage-ai#46) swapped the pydantic import order but still fell
back to the broken pydantic.v1 path since Extra was removed in v2.

- Remove pydantic.v1 fallback and Extra import
- Replace Extra.forbid with string "forbid"
- Replace min_items with min_length (v2 rename)
- Replace .parse_obj() with .model_validate()
- Replace .dict() with .model_dump()
- Bump pydantic lower bound to >=2.7.4 (already required transitively
  by langchain-text-splitters via langchain-core)

Fixes voyage-ai#36
fzowl added a commit to fzowl/voyageai-python that referenced this pull request Mar 21, 2026
The previous fix (voyage-ai#46) swapped the pydantic import order but still fell
back to the broken pydantic.v1 path since Extra was removed in v2.

- Remove pydantic.v1 fallback and Extra import
- Replace Extra.forbid with string "forbid"
- Replace min_items with min_length (v2 rename)
- Replace .parse_obj() with .model_validate()
- Replace .dict() with .model_dump()
- Bump pydantic lower bound to >=2.7.4 (already required transitively
  by langchain-text-splitters via langchain-core)

Fixes voyage-ai#36
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.

2 participants