bazel-contrib / bazel-contrib/rules_mypy

Last version in Bazel Central Registry is outdated

Open
#97 1 comment 3 reactions 0 assignees View on GitHub
Dominant language
Starlark
Stars
12
Forks
13
PR merge metrics
No merged PRs in 30d

Description

Thanks for your work!

The latest version on the Bazel Central Registry is out of date at the moment (0.32.0):

https://registry.bazel.build/modules/rules_mypy

That makes the setup instructions like this non-functional:

```starlark
bazel_dep(name = "rules_mypy", version = "0.36.0")
```

A workaround is something like the following:

```starlark
archive_override(
module_name = "rules_mypy",
strip_prefix = "rules_mypy-0.36.0",
integrity = "sha256-EysOdAn37Zk+I0gvzjOenkWJbwa3Bq9U+faDyVY/RuI=",
urls = ["https://github.com/theoremlp/rules_mypy/archive/refs/tags/v0.36.0.tar.gz"],
)
```

Contributor guide

Open the contributing guide

Research direction

Start with the Bazel Central Registry entry at https://registry.bazel.build/modules/rules_mypy and compare its latest published version with the repository's 0.36.0 release. Check the registry's update process and the version and integrity details in the issue. Done means the registry exposes 0.36.0 so the documented bazel_dep declaration works without the archive_override workaround.

Written by the indexing model from the issue text.

Assessment

Domain
build-system
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.