Skip to content

[langchain-tests] Python 3.14: pydantic.v1.errors.ConfigError: unable to infer type for attribute "name" #34291

@amotl

Description

@amotl

Checked other resources

  • This is a feature request, not a bug report or usage question.
  • I added a clear and descriptive title that summarizes the feature request.
  • I used the GitHub search to find a similar feature request and didn't find it.
  • I checked the LangChain documentation and API reference to see if this feature already exists.
  • This is not related to the langchain-community package.

Package (Required)

  • langchain-tests

Feature Description

Support Python 3.14.

Use Case

When updating to Python 3.14, we observe this error on our CI. It is raised when calling generate_schema_pydantic_v1_from_2() in langchain_tests/unit_tests/chat_models.py.

pydantic.v1.errors.ConfigError: unable to infer type for attribute "name"

-- https://github.com/crate/langchain-cratedb/actions/runs/20115392189/job/57723468334?pr=76#step:6:114

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature requestRequest for an enhancement / additional functionalitystandard-testsRelated to the package `standard-tests`

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions