Skip to content

Commit df9d7e3

Browse files
committed
build(ci): bump Bazel to 6.5.0 and update manylinux toolchain
- Bazel: Raise minimum to 6.5.0 and update repo version - CI: Use Bazel 6.5.0 in conda-build/test GitHub Actions - Docker: Switch manylinux image to bazel-6.5.0 tag - Toolchain: Use devtoolset-10 for wheel builds - Scope: Build/CI-only; no MLMD runtime or API changes Motivation: align CI/local builds with Bazel 6.5.0 for stability and modernize the wheel build toolchain.
1 parent 498372a commit df9d7e3

File tree

6 files changed

+6
-6
lines changed

6 files changed

+6
-6
lines changed

.github/workflows/conda-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
fi
4848
chmod +x /tmp/bazelisk
4949
sudo mv /tmp/bazelisk /usr/local/bin/bazel
50-
echo "USE_BAZEL_VERSION=6.1.0" >> $GITHUB_ENV
50+
echo "USE_BAZEL_VERSION=6.5.0" >> $GITHUB_ENV
5151
bazel --version
5252
5353
- name: Build the package

.github/workflows/conda-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ jobs:
4747
fi
4848
chmod +x /tmp/bazelisk
4949
sudo mv /tmp/bazelisk /usr/local/bin/bazel
50-
echo "USE_BAZEL_VERSION=6.1.0" >> $GITHUB_ENV
50+
echo "USE_BAZEL_VERSION=6.5.0" >> $GITHUB_ENV
5151
bazel --version
5252
5353
- name: Build the package

WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,4 +282,4 @@ ml_metadata_workspace()
282282

283283
# Specify the minimum required bazel version.
284284
load("@bazel_skylib//lib:versions.bzl", "versions")
285-
versions.check("6.1.0")
285+
versions.check("6.5.0")

ml_metadata/.bazelversion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,4 @@
1111
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
1212
# See the License for the specific language governing permissions and
1313
# limitations under the License.
14-
6.1.0
14+
6.5.0

ml_metadata/tools/docker_build/Dockerfile.manylinux2010

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,6 @@
1515
# Dockerfile for building a manylinux2010 MLMD wheel.
1616

1717
# This docker image is essentially pypa/manylinux2010 + bazel.
18-
FROM gcr.io/tfx-oss-public/manylinux2014-bazel:bazel-6.1.0
18+
FROM gcr.io/tfx-oss-public/manylinux2014-bazel:bazel-6.5.0
1919
WORKDIR /build
2020
CMD ["ml_metadata/tools/docker_build/build_manylinux.sh"]

ml_metadata/tools/docker_build/build_manylinux.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
WORKING_DIR=$PWD
2626

2727
function setup_environment() {
28-
source scl_source enable devtoolset-8
28+
source scl_source enable devtoolset-10
2929
source scl_source enable rh-python38
3030
if [[ -z "${PYTHON_VERSION}" ]]; then
3131
echo "Must set PYTHON_VERSION env to 39|310|311|"; exit 1;

0 commit comments

Comments
 (0)