Publish version_utils@0.1.0#5205
Conversation
|
Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (version_utils) have been updated in this PR. |
|
@bazel-io skip_check compatibility_level |
|
I'll check the failures, all of them are in Windows, where I hadn't tested it I think! :S |
|
Actually, I did test it across all platforms! And it worked on Windows! So I'm a bit surprised... I think the error could be because I'm using a symlink, @meteorcloudy is this expected? :-? |
|
Maybe something doesn't work here https://github.com/bazelbuild/continuous-integration/blob/470f89c17ca8e7b52bb95184d24ab65d3d7f8cb3/buildkite/bazel-central-registry/bcr_presubmit.py#L256 ? Can you help debug this? You can reproduce locally with https://github.com/bazelbuild/bazel-central-registry/tree/main/docs#reproduce-presubmit-builds-locally |
|
Just a small update, I've been trying to get a Windows VM working, and then, get Bazel to run. I've now got it to run, but I'm getting a Python failure 😅 TL;DR I'll continue trying to get this up-and-running to repro and investigate what's going on, but... is there a better / simpler way to test this failure in e.g. a Windows docker image with everything setup or something along those lines? :-? |
|
Sorry, we are not using any Windows docker image, but I would expect the bazel build to be hermetic. |
Yeah, I was expecting it too, but somehow, I'm getting this failure: I'll continue working on this later today, maybe it's something silly and easy to work around, or maybe I'm doing something wrong :) I'll keep you posted! |
|
@meteorcloudy I've managed to install Python 3.11 and both |
|
@meteorcloudy I got a reply in Slack, the issue is the architecture, I'll try to get an |
|
I've tried with a local VM but it's dog-slog in my mac :-/ So, I decided to try with a GCP Windows VM and that has worked... up to a new error: I managed to get past that error installing MSYS2 with Chocolatey, then had another error where I needed Bazel ̶H̶e̶r̶m̶e̶t̶i̶s̶m̶ for the win!? 🤣😅 Anyway, I've now managed to repro the issue, I get the same error as buildkite: Checking the contents of the directory: So, But, somehow, I can't read it either in PowerShell: However, I can read the target file: |
|
But, I've now tried launching |
|
I've managed to get it to work by removing the symlink by hand and making another symlink with the absolute path to I'll try to debug / go through |
Although relative links are valid in Windows, it seems that they fail under some circumstances. For example, see bazelbuild/bazel-central-registry#5205
|
@meteorcloudy I've made a fix to make all symlinks in the test repo absolute, let me know if that fix looks ok! |
Although relative links are valid in Windows, it seems that they fail under some circumstances. For example, see bazelbuild/bazel-central-registry#5205
Although relative links are valid in Windows, it seems that they fail under some circumstances. For example, see bazelbuild/bazel-central-registry#5205
Although relative links are valid in Windows, it seems that they fail under some circumstances. For example, see bazelbuild/bazel-central-registry#5205
meteorcloudy
left a comment
There was a problem hiding this comment.
Thanks for contributing and fixing the presubmit!
Release: https://github.com/jjmaestro/bazel_version_utils/releases/tag/v0.1.0
Automated by Publish to BCR