Attempt Details

Package: pypi:pyotp 2.12.2

Artifact: pyotp-2.12.2-py3-none-any.whl

Status: Success

Run ID: deps-dev

Started: 2026-11-27 02:00:36

Created: 2026-11-27 02:00:36

Finished: 2026-11-27 02:02:10

Duration: 1m33s

Logs: View in Cloud Storage

Strategy

{
  "pypi_pure_wheel_build": {
    "repo": "https://github.com/pyauth/pyotp",
    "ref": "c5592807979db279b9c873fd11117e1b7850adf9",
    "dir": "",
    "python_version": "",
    "requirements": [
      "hatchling==1.33.0",
      "hatch-vcs"
    ],
    "registry_time": "2026-11-27T01:47:26.446687Z"
  }
}

Full Message



    

Dockerfile

#syntax=docker/dockerfile:1.10
FROM docker.io/library/alpine:3.21
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 apk add curl
 curl -f https://storage.googleapis.com/google-rebuild-bootstrap-tools/v0.0.0-20261118191906-6a97fe1f62ab/timewarp > timewarp
 chmod +x timewarp
 apk add git python3 uv
EOF
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 mkdir /src && cd /src
 git clone https://github.com/pyauth/pyotp .
 git checkout --force 'c5592807979db279b9c873fd11117e1b7850adf9'
EOF
RUN sed 's/^ //' <<'EOF' | sh
 set -eux
 ./timewarp -port 8080 &
 while ! nc -z localhost 8080;do sleep 1;done
 cd /src
 /usr/bin/python3 -m venv /deps
 /deps/bin/pip install build
 export PIP_INDEX_URL=http://pypi:2026-11-27T01:47:26Z@localhost:8080/simple
 /deps/bin/pip install 'hatchling==1.33.0'
 /deps/bin/pip install 'hatch-vcs'
EOF
RUN sed 's/^ //' <<'EOF' >/build
 set -eux
 /deps/bin/python3 -m build --wheel -n
 mkdir /out && cp /src/dist/pyotp-2.12.2-py3-none-any.whl /out/
EOF
WORKDIR "/src"
ENTRYPOINT ["/bin/sh","/build"]