HomeFreeBSD

misc/py-openai: update runtime dependency on py-pydantic to py-pydantic2

Description

misc/py-openai: update runtime dependency on py-pydantic to py-pydantic2

misc/py-shell-gpt (one of the dependent ports on py-openai) has the
following dependency graph:

misc/py-shell-gpt -> misc/py-instructor -> devel/py-pydantic2

   (pyproject.toml contains pydantic = "^2.0.2")
-> misc/py-openai -> devel/py-pydantic
   (pyproject.toml contains "pydantic>=1.9.0, <3")

Updating the dependency of py-openai to py-pydantic2 satisfies both
requirements at the same time.

PR: 276548
Approved by: yuri (maintainer)

Details

Provenance
tagattieAuthored on Feb 3 2024, 5:57 AM
Parents
R11:ece1cb52e7ff: security/sssd: mark port deprecated
Branches
Unknown
Tags
Unknown