-
Notifications
You must be signed in to change notification settings - Fork 172
Description
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:
- Premature warning about Python 3.14 in pydantic.v1 pydantic/pydantic#12618 pydantic
- python 3.14 regex issue, and pydantic incompatible explosion/spaCy#13902
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.