Skip to content

Warning for Python 3.14 user that encounter error type infer on regex #421

@TimotiusAnrez

Description

@TimotiusAnrez

Version
See the console output for PyABSA, Torch, Transformers Version

  • pyabsa 2.4.2
  • torch 2.9.1+cu130
  • transformers 4.57.6

Describe the bug

this is not a bug report perse but just a quick note to update documentation to warning all python 3.14 user before deciding to use PyABSA.

due to PyABSA using Spacy which in turn use pydantic 2.12.5 this library will throw an error type infer on regex. Base of both of this issue:

pydantic has not release support for Python 3.14+. Hence any library that is affeceted issues 1 will be affected. Hence this issue is written for any future user that want to use python 3.14 want to use PyABSA will have to wait for official support from pydantic or use python 3.13 for their virtual environment.

In the mean time i suggest to provide a warning for user to use 3.13 until further update from pydantic, or keep this issue open so that they can find the fix faster, since official docs only list python 3.8 + as prerequisites.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions