Bug 276065

Summary: www/py-fastapi: Update the pydantic dependency to pydantic2
Product: Ports & Packages Reporter: Yuri Victorovich <yuri>
Component: Individual Port(s)Assignee: Yuri Victorovich <yuri>
Status: Closed FIXED    
Severity: Affects Only Me Flags: bugzilla: maintainer-feedback? (wen)
Priority: ---    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch none

Description Yuri Victorovich freebsd_committer freebsd_triage 2024-01-01 21:31:27 UTC
Created attachment 247396 [details]
patch

Hi Wen,


FastAPI does support pydantic2.
This is needed in order to port one other package due to conflicts with pydantic 1.x.

Thank you,
Yuri
Comment 1 Wen Heping freebsd_committer freebsd_triage 2024-01-01 22:29:58 UTC
Approved.
Thank you !
Comment 2 Yuri Victorovich freebsd_committer freebsd_triage 2024-01-01 23:46:25 UTC
Committed, thanks!
Comment 3 commit-hook freebsd_committer freebsd_triage 2024-01-01 23:46:56 UTC
A commit in branch main references this bug:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5df1971570c18897746995e21b2e98da8774faac

commit 5df1971570c18897746995e21b2e98da8774faac
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-01-01 23:45:15 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-01-01 23:45:15 +0000

    www/py-fastapi: Update dependency to use pydantic2 for pydantic 2.x

    PR:             276065
    Approved by:    wen@ (maintainer)

 www/py-fastapi/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)