Bug 276065 - www/py-fastapi: Update the pydantic dependency to pydantic2
Summary: www/py-fastapi: Update the pydantic dependency to pydantic2
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Yuri Victorovich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-01-01 21:31 UTC by Yuri Victorovich
Modified: 2024-01-01 23:46 UTC (History)
0 users

See Also:
bugzilla: maintainer-feedback? (wen)


Attachments
patch (740 bytes, patch)
2024-01-01 21:31 UTC, Yuri Victorovich
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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(-)