mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
python3Packages.pydantic-graph: 2.31.1 -> 2.51.0 (#567680)
This commit is contained in:
@@ -4,7 +4,8 @@
|
||||
fetchFromGitHub,
|
||||
|
||||
# build-system
|
||||
uv-build,
|
||||
hatchling,
|
||||
uv-dynamic-versioning,
|
||||
|
||||
# dependencies
|
||||
httpx2,
|
||||
@@ -13,20 +14,21 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "genai-prices";
|
||||
version = "0.1.3";
|
||||
version = "0.1.9";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pydantic";
|
||||
repo = "genai-prices";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-9fXJ+ZcQ7v2EjRx5LQVNsOSK32T4h0cAp4dKTTDRlpo=";
|
||||
hash = "sha256-DNNFYB2+Rvq/QTjBSf0bGrTpIm8VmmjIuojvNg+Hbxk=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/packages/python";
|
||||
|
||||
build-system = [
|
||||
uv-build
|
||||
hatchling
|
||||
uv-dynamic-versioning
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
|
||||
@@ -10,9 +10,10 @@
|
||||
uv-dynamic-versioning,
|
||||
|
||||
# dependencies
|
||||
anyio,
|
||||
genai-prices,
|
||||
griffelib,
|
||||
httpx,
|
||||
httpx2,
|
||||
opentelemetry-api,
|
||||
pydantic-graph,
|
||||
pydantic,
|
||||
@@ -22,14 +23,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pydantic-ai-slim";
|
||||
version = "2.31.1";
|
||||
version = "2.51.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pydantic";
|
||||
repo = "pydantic-ai";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-9kAUDDstOJP+s/eRZ6DtS7tZ16zIz7yxDpNJtAYiEmw=";
|
||||
hash = "sha256-vrbBnSFnmIzqFJUVd2dZ8tDaO4/XXsVZvUUH+idttw8=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/pydantic_ai_slim";
|
||||
@@ -40,9 +41,10 @@ buildPythonPackage (finalAttrs: {
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
anyio
|
||||
genai-prices
|
||||
griffelib
|
||||
httpx
|
||||
httpx2
|
||||
opentelemetry-api
|
||||
pydantic-graph
|
||||
pydantic
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
uv-dynamic-versioning,
|
||||
|
||||
# dependencies
|
||||
httpx,
|
||||
anyio,
|
||||
logfire-api,
|
||||
pydantic,
|
||||
typing-inspection,
|
||||
@@ -19,14 +19,14 @@
|
||||
|
||||
buildPythonPackage (finalAttrs: {
|
||||
pname = "pydantic-graph";
|
||||
version = "2.31.1";
|
||||
version = "2.51.0";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "pydantic";
|
||||
repo = "pydantic-ai";
|
||||
tag = "v${finalAttrs.version}";
|
||||
hash = "sha256-9kAUDDstOJP+s/eRZ6DtS7tZ16zIz7yxDpNJtAYiEmw=";
|
||||
hash = "sha256-vrbBnSFnmIzqFJUVd2dZ8tDaO4/XXsVZvUUH+idttw8=";
|
||||
};
|
||||
|
||||
sourceRoot = "${finalAttrs.src.name}/pydantic_graph";
|
||||
@@ -37,7 +37,7 @@ buildPythonPackage (finalAttrs: {
|
||||
];
|
||||
|
||||
dependencies = [
|
||||
httpx
|
||||
anyio
|
||||
logfire-api
|
||||
pydantic
|
||||
typing-inspection
|
||||
|
||||
Reference in New Issue
Block a user