Skip to content

Commit ad57d76

Browse files
committed
Update data server build step to run with ubuntu 20.04 and change platform tag
This should ensure that the generated wheels are compatible with the `manylinux_2_31` platform tag, since that's the version of glibc shipped with ubuntu 20.04. This aligns us with https://peps.python.org/pep-0600/ instead of reconfiguring our CI workflow to build on a system with glibc<=2.17 to keep supporting the `manylinux2014` tag (https://peps.python.org/pep-0599/)
1 parent 9c25f00 commit ad57d76

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -142,11 +142,11 @@ jobs:
142142
fail-fast: false
143143
matrix:
144144
mode: ['native']
145-
platform: ['ubuntu-22.04', 'macos-12']
145+
platform: ['ubuntu-20.04', 'macos-12']
146146
rust_version: ['1.65.0']
147147
include:
148148
- mode: 'universal'
149-
platform: 'ubuntu-22.04'
149+
platform: 'ubuntu-20.04'
150150
rust_version: '1.65.0'
151151
steps:
152152
- uses: actions/checkout@ac593985615ec2ede58e132d2e21d2b1cbd6127c # v3.3.0

tensorboard/data/server/pip_package/build.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ def main():
3838
mac_platform = "macosx_11_0"
3939
platform_name = {
4040
# using platform tag values from TensorFlow releases
41-
"Linux": "manylinux2014",
41+
"Linux": "manylinux_2_31",
4242
"Darwin": mac_platform,
4343
}.get(platform.system())
4444

0 commit comments

Comments
 (0)