module( name = "simple_python_dsl_example", version = "0.1", ) # Databuild dep - overridden so ignore version bazel_dep(name = "databuild", version = "0.0") local_path_override( module_name = "databuild", path = "../..", ) bazel_dep(name = "rules_python", version = "1.3.0") python = use_extension("@rules_python//python/extensions:python.bzl", "python") python.toolchain( python_version = "3.12", ) pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip") pip.parse( hub_name = "pypi", python_version = "3.12", requirements_lock = "//:requirements_lock.txt", ) use_repo(pip, "pypi")