towhee-io / towhee

Towhee is a framework that is dedicated to making neural data processing pipelines simple and fast.
https://towhee.io
Apache License 2.0
3.16k stars 246 forks source link

[Bug]: TypeError: constr() got an unexpected keyword argument 'regex' #2654

Closed pyftxdy closed 11 months ago

pyftxdy commented 1 year ago

Is there an existing issue for this?

Current Behavior

In my project I have to use pydantic==2.1.* But towhee needs to use pydantic<2 how can I solve it

Expected Behavior

No response

Steps To Reproduce

No response

Environment

- Towhee version(e.g. v0.1.3 or 8b23a93):
- OS(Ubuntu or CentOS):
- CPU/Memory:
- GPU:
- Others:

Anything else?

No response

junjiejiangjjj commented 1 year ago

The changes in pydantic are too substantial, we have not yet adapted to them.

stale[bot] commented 1 year ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Rotten issues close after 30d of inactivity. Close the stale issues and pull requests after 7 days of inactivity. Reopen the issue with /reopen.