Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rules_resim/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ rules_resim_repositories()
## Updating the CLI Versions and Sums

To update the checksums for the available versions, run the following script after ensuring any new
versions are added to it. This will update the `//private:cli_versions.json` file.
versions are added to it. This will update the `//private:sources.bzl` file.
```bash
bazel run //scripts:generate_cli_checksums
```
2 changes: 1 addition & 1 deletion rules_resim/examples/.bazelversion
Original file line number Diff line number Diff line change
@@ -1 +1 @@
8.4.2
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was causing CI to fail since the devcontainer doesn't have this version. We should just install bazelisk on it.

7.6.1
40 changes: 40 additions & 0 deletions rules_resim/private/sources.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -1320,6 +1320,46 @@ SOURCES = {
"sha256": "6f17796c23a79419d7ab93460b5eb1f66866d5043ce591a576b0656b8d09a334",
},
],
"v0.31.0": [
{
"cpu": "@platforms//cpu:x86_64",
"name": "linux-amd64",
"os": "@platforms//os:linux",
"sha256": "4d4c9cdee14e2cb12a68d2db4e394d5515960363e8b758d0ed0da0cd7313d8eb",
},
{
"cpu": "@platforms//cpu:arm64",
"name": "darwin-arm64",
"os": "@platforms//os:osx",
"sha256": "6095a0853de47634c1b213559f8ce27bfc92cd82978b62bc697c246ed9aaa4c8",
},
{
"cpu": "@platforms//cpu:x86_64",
"name": "darwin-amd64",
"os": "@platforms//os:osx",
"sha256": "749f4847b4665f52bdcbc524dee78fd52c506707f7ac123cd8267f6c8dafc3ad",
},
],
"v0.32.0": [
{
"cpu": "@platforms//cpu:x86_64",
"name": "linux-amd64",
"os": "@platforms//os:linux",
"sha256": "c237d018fccfe7718674663737326c2ff706bce63373286f07f6a64ceea82759",
},
{
"cpu": "@platforms//cpu:arm64",
"name": "darwin-arm64",
"os": "@platforms//os:osx",
"sha256": "90f88fd8d76fc318c1200f0618d1060aff7bc49b005d4117e9904cfe0012833c",
},
{
"cpu": "@platforms//cpu:x86_64",
"name": "darwin-amd64",
"os": "@platforms//os:osx",
"sha256": "6c670ce36932144060d7629dd9f3df75df50c38856205abeb9542b3a51ef8c80",
},
],
"v0.4.0": [
{
"cpu": "@platforms//cpu:x86_64",
Expand Down
3 changes: 2 additions & 1 deletion rules_resim/scripts/generate_cli_checksums.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"v0.12.0", "v0.13.0", "v0.14.0", "v0.15.0", "v0.16.0", "v0.16.1", "v0.17.0", "v0.18.0",
"v0.19.0", "v0.20.0", "v0.21.0", "v0.22.0", "v0.23.0", "v0.23.1", "v0.23.2", "v0.24.0",
"v0.25.0", "v0.26.0", "v0.27.0", "v0.27.1", "v0.27.2", "v0.28.0", "v0.29.0", "v0.30.0",
"v0.31.0", "v0.32.0",
]
# fmt: on

Expand All @@ -43,7 +44,7 @@
]
URL_TEMPLATE = "https://github.com/resim-ai/api-client/releases/download/{}/resim-{}"

sem = asyncio.Semaphore(100)
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This fails if you run from a mediocre connection.

sem = asyncio.Semaphore(8)


async def compute_hash(client: httpx.AsyncClient, url: str, pbar: tqdm) -> str:
Expand Down