File
Blob: build/deps/python.MODULE.bazel
| 1 | python = use_extension("@rules_python//python/extensions:python.bzl", "python") |
| 2 | python.toolchain(python_version = "3.13") |
| 3 | use_repo(python, "python_3_13") |
| 4 | |
| 5 | pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") |
| 6 | pip.parse( |
| 7 | hub_name = "v8_python_deps", |
| 8 | python_version = "3.13", |
| 9 | # TODO(alexeagle): switch back to upstream when v8 comes via bzlmod |
| 10 | # requirements_lock = "@v8//:bazel/requirements.txt", |
| 11 | requirements_lock = "//build/deps:v8.requirements.txt", |
| 12 | ) |
| 13 | pip.parse( |
| 14 | hub_name = "py_deps", |
| 15 | python_version = "3.13", |
| 16 | requirements_lock = "//build/deps:requirements.txt", |
| 17 | ) |
| 18 | use_repo(pip, "py_deps", "v8_python_deps") |
| 19 | |
| 20 | pyodide = use_extension("//build/deps:dep_pyodide.bzl", "pyodide") |
| 21 | use_repo(pyodide, "all_pyodide_wheels_20240829.4", "all_pyodide_wheels_20250808", "beautifulsoup4_src_0.26.0a2", "beautifulsoup4_src_0.28.2", "beautifulsoup4_src_development", "fastapi_src_0.26.0a2", "fastapi_src_0.28.2", "fastapi_src_development", "pyodide-0.26.0a2", "pyodide-0.28.2", "pyodide-lock_20240829.4.json", "pyodide-lock_20250808.json", "pyodide-snapshot-baseline-4569679fb.bin", "pyodide-snapshot-baseline-61eedf943.bin", "pyodide-snapshot-ew-py-package-snapshot_fastapi-v2.bin", "pyodide-snapshot-ew-py-package-snapshot_numpy-v2.bin", "pyodide-snapshot-package_snapshot_fastapi-a6ccb56fe.bin", "pyodide-snapshot-package_snapshot_numpy-60c9cb28e.bin", "pyodide-snapshot-snapshot_a6b652a95810783f5078b9a5dbd4a07c30718acb4ff724e82c25db7353dd7f2d.bin", "pyodide_0.26.0a2_2024-03-01_79.capnp.bin", "pyodide_0.28.2_2025-01-16_10.capnp.bin", "pyodide_dev.capnp.bin", "pytest-asyncio_src_0.26.0a2", "pytest-asyncio_src_0.28.2", "pytest-asyncio_src_development", "python-workers-runtime-sdk_src_0.26.0a2", "python-workers-runtime-sdk_src_0.28.2", "python-workers-runtime-sdk_src_development", "scipy_src_0.26.0a2", "shapely_src_0.28.2", "shapely_src_development") |