diff --git a/WORKSPACE b/WORKSPACE index ff43dcf5a..151e93218 100755 --- a/WORKSPACE +++ b/WORKSPACE @@ -9,6 +9,10 @@ load("//haskell:repositories.bzl", "rules_haskell_dependencies") rules_haskell_dependencies() +load("@rules_python//python:repositories.bzl", "py_repositories") + +py_repositories() + load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive") http_archive( diff --git a/haskell/repositories.bzl b/haskell/repositories.bzl index 580b85b47..6c14965d9 100644 --- a/haskell/repositories.bzl +++ b/haskell/repositories.bzl @@ -58,9 +58,9 @@ def rules_haskell_dependencies(): maybe( http_archive, name = "rules_python", - sha256 = "94750828b18044533e98a129003b6a68001204038dc4749f40b195b24c38f49f", - strip_prefix = "rules_python-0.21.0", - url = "https://github.com/bazelbuild/rules_python/releases/download/0.21.0/rules_python-0.21.0.tar.gz", + sha256 = "690e0141724abb568267e003c7b6d9a54925df40c275a870a4d934161dc9dd53", + strip_prefix = "rules_python-0.40.0", + url = "https://github.com/bazelbuild/rules_python/releases/download/0.40.0/rules_python-0.40.0.tar.gz", ) maybe( diff --git a/rules_haskell_tests/MODULE.bazel b/rules_haskell_tests/MODULE.bazel index 14b048127..395b3fa6b 100644 --- a/rules_haskell_tests/MODULE.bazel +++ b/rules_haskell_tests/MODULE.bazel @@ -29,7 +29,7 @@ bazel_dep( ) bazel_dep( name = "rules_python", - version = "0.21.0", + version = "0.40.0", ) bazel_dep( name = "rules_nixpkgs_go",