@@ -8,29 +8,24 @@ module(
88bazel_dep (name = "bazel_skylib" , version = "1.4.1" )
99bazel_dep (name = "buildifier_prebuilt" , version = "7.3.1" )
1010bazel_dep (name = "platforms" , version = "0.0.8" )
11- bazel_dep (name = "rules_python" , version = "0.40 .0" )
12- bazel_dep (name = "rules_uv" , version = "0.21 .0" )
11+ bazel_dep (name = "rules_python" , version = "1.0 .0" )
12+ bazel_dep (name = "rules_uv" , version = "0.44 .0" )
1313
1414# configuration
1515PYTHON_VERSION = "3.12"
1616
1717PYTHON_VERSION_SNAKE = PYTHON_VERSION .replace ("." , "_" )
1818
1919python = use_extension ("@rules_python//python/extensions:python.bzl" , "python" )
20- python .toolchain (
21- is_default = True ,
22- python_version = PYTHON_VERSION ,
23- )
24- use_repo (python , "python_" + PYTHON_VERSION_SNAKE , "python_versions" )
20+ python .toolchain (python_version = PYTHON_VERSION )
21+ use_repo (python , "python_versions" )
2522
2623pip = use_extension ("@rules_python//python/extensions:pip.bzl" , "pip" )
2724pip .parse (
2825 enable_implicit_namespace_pkgs = True ,
2926 experimental_index_url = "https://pypi.org/simple" , # use Bazel downloader
3027 hub_name = "rules_pydeps_pip" ,
3128 python_version = PYTHON_VERSION ,
32- requirements_by_platform = {
33- "//pydeps/private:requirements.txt" : "*" ,
34- },
29+ requirements_by_platform = {"//pydeps/private:requirements.txt" : "*" },
3530)
3631use_repo (pip , "rules_pydeps_pip" )
0 commit comments