Force rules_python to use version 0.24.0.

Copybara Import from https://github.com/bazelbuild/rules_java/pull/162

BEGIN_PUBLIC
Force rules_python to use version 0.24.0. (#162)

This version registers the python toolchains needed by rules_pkg and others.

Fixes #161.
Related to https://github.com/bazelbuild/bazel/issues/20458

Closes #162
END_PUBLIC

COPYBARA_INTEGRATE_REVIEW=https://github.com/bazelbuild/rules_java/pull/162 from katre:fix-ci 5f0ce85786e1775d67484330618604562851d499
PiperOrigin-RevId: 592238927
Change-Id: If20c2d23aef44eb9f6c54600b21d14162a5ecea1
diff --git a/MODULE.bazel b/MODULE.bazel
index 5a943fe..33e19ce 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -78,3 +78,9 @@
 
 # Dev dependencies
 bazel_dep(name = "rules_pkg", version = "0.9.1", dev_dependency = True)
+
+# Override rules_python version to deal with #161 and https://github.com/bazelbuild/bazel/issues/20458
+single_version_override(
+    module_name = "rules_python",
+    version = "0.24.0",
+)