From 9cc43a31403ed98524503d3c794d17b1ed3e3756 Mon Sep 17 00:00:00 2001 From: "Xingjun.Wang" Date: Tue, 14 Apr 2026 15:57:33 +0800 Subject: [PATCH] Fix GPG KEY (#1678) * refactor hf datasets utils and fix issue * update datasets version * fix download cli * add engine=python for stream loading csv * fix dataset builder for csv engine=python * fix datasets csv OverflowError * update UT commit scheduler test level * fix python gpg key --- docker/Dockerfile.extra_install | 6 +++--- docker/Dockerfile.ubuntu_base | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docker/Dockerfile.extra_install b/docker/Dockerfile.extra_install index 3a8db4e5..f8070bd3 100644 --- a/docker/Dockerfile.extra_install +++ b/docker/Dockerfile.extra_install @@ -32,13 +32,13 @@ RUN wget -O /tmp/boost.tar.gz https://archives.boost.io/release/1.80.0/source/bo #install and config python copy from https://github.com/docker-library/python/blob/1b7a1106674a21e699b155cbd53bf39387284cca/3.10/bookworm/Dockerfile ARG PYTHON_VERSION={python_version} ENV PATH /usr/local/bin:$PATH -ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D +ENV GPG_KEY="A035C8C19219BA821ECEA86B64E628F8D684696D 7169605F62C751356D054A26A821E680E5FA6305" ENV PYTHON_VERSION {python_version} #install and config python copy from https://github.com/docker-library/python/blob/1b7a1106674a21e699b155cbd53bf39387284cca/3.10/bookworm/Dockerfile ARG PYTHON_VERSION={python_version} ENV PATH /usr/local/bin:$PATH -ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D +ENV GPG_KEY="A035C8C19219BA821ECEA86B64E628F8D684696D 7169605F62C751356D054A26A821E680E5FA6305" ENV PYTHON_VERSION {python_version} RUN set -eux; \ @@ -46,7 +46,7 @@ RUN set -eux; \ wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; \ GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ - gpg --batch --keyserver hkp://keyserver.ubuntu.com --recv-keys "$GPG_KEY"; \ + gpg --batch --keyserver hkp://keyserver.ubuntu.com --recv-keys $GPG_KEY; \ gpg --batch --verify python.tar.xz.asc python.tar.xz; \ gpgconf --kill all; \ rm -rf "$GNUPGHOME" python.tar.xz.asc; \ diff --git a/docker/Dockerfile.ubuntu_base b/docker/Dockerfile.ubuntu_base index 0cd5b896..f56be6f7 100644 --- a/docker/Dockerfile.ubuntu_base +++ b/docker/Dockerfile.ubuntu_base @@ -35,7 +35,7 @@ RUN wget -O /tmp/boost.tar.gz https://archives.boost.io/release/1.80.0/source/bo #install and config python copy from https://github.com/docker-library/python/blob/1b7a1106674a21e699b155cbd53bf39387284cca/3.10/bookworm/Dockerfile ARG PYTHON_VERSION={python_version} ENV PATH /usr/local/bin:$PATH -ENV GPG_KEY A035C8C19219BA821ECEA86B64E628F8D684696D +ENV GPG_KEY="A035C8C19219BA821ECEA86B64E628F8D684696D 7169605F62C751356D054A26A821E680E5FA6305" ENV PYTHON_VERSION {python_version} RUN set -eux; \ @@ -43,7 +43,7 @@ RUN set -eux; \ wget -O python.tar.xz "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz"; \ wget -O python.tar.xz.asc "https://www.python.org/ftp/python/${PYTHON_VERSION%%[a-z]*}/Python-$PYTHON_VERSION.tar.xz.asc"; \ GNUPGHOME="$(mktemp -d)"; export GNUPGHOME; \ - gpg --batch --keyserver hkp://keyserver.ubuntu.com --recv-keys "$GPG_KEY"; \ + gpg --batch --keyserver hkp://keyserver.ubuntu.com --recv-keys $GPG_KEY; \ gpg --batch --verify python.tar.xz.asc python.tar.xz; \ gpgconf --kill all; \ rm -rf "$GNUPGHOME" python.tar.xz.asc; \