Skip to content

Commit 9271160

Browse files
zelosleonenichmor
andauthored
feat(bindings): add recipe parsing in python bindings (#1872)
Co-authored-by: nichmor <[email protected]>
1 parent 788a7e1 commit 9271160

File tree

9 files changed

+1233
-38
lines changed

9 files changed

+1233
-38
lines changed

py-rattler-build/Cargo.lock

Lines changed: 14 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

py-rattler-build/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,15 @@ tokio = { version = "1.47.1", features = [
3030
] }
3131
rattler_conda_types = "0.39.2"
3232
rattler_config = "0.2.9"
33+
rattler_networking = { version = "0.25.11" }
3334
clap = "4.5.47"
3435
url = "2.5.4"
3536
chrono = "0.4.41"
3637
rattler_upload = "0.3.1"
3738
miette = "7.6.0"
39+
serde_json = "1.0.143"
40+
pythonize = "0.26.0"
41+
thiserror = "2.0.16"
3842

3943
[build-dependencies]
4044
pyo3-build-config = "0.26.0"

py-rattler-build/rattler_build/__init__.py

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,19 @@
77
upload_package_to_prefix_py,
88
upload_package_to_anaconda_py,
99
upload_packages_to_conda_forge_py,
10+
RattlerBuildError,
11+
)
12+
13+
from .recipe import (
14+
Recipe,
15+
Package,
16+
Build,
17+
Requirements,
18+
About,
19+
Source,
20+
TestType,
21+
TestTypeEnum,
22+
SelectorConfig,
1023
)
1124

1225
from . import recipe_generation
@@ -26,6 +39,16 @@
2639
"upload_package_to_anaconda",
2740
"upload_packages_to_conda_forge",
2841
"recipe_generation",
42+
"Recipe",
43+
"Package",
44+
"Build",
45+
"Requirements",
46+
"RattlerBuildError",
47+
"About",
48+
"Source",
49+
"TestType",
50+
"TestTypeEnum",
51+
"SelectorConfig",
2952
]
3053

3154

0 commit comments

Comments
 (0)