setup-python icon indicating copy to clipboard operation
setup-python copied to clipboard

ERROR: failed to solve: python:3.11-slim: failed to do request: Head "https://registry-1.docker.io/v2/library/python/manifests/3.11-slim": EOF

Open ericmjl opened this issue 2 years ago • 1 comments

Description: During the GitHub Actions workflow for publishing a Python package to PyPI, the Docker build process fails repeatedly. The error occurs when attempting to load metadata for python:3.11-slim from Docker's official registry. The process ends with an EOF error, indicating a potential issue with the registry or network connectivity.

Action version:

  • GitHub Actions checkout@v4
  • GitHub Actions setup-python@v3

Platform:

  • [x] Ubuntu
  • [ ] macOS
  • [ ] Windows

Runner type:

  • [x] Hosted
  • [ ] Self-hosted

Tools version:

  • Python version: 3.11

Repro steps:

  1. Trigger the Release Python Package workflow on GitHub Actions.
  2. Observe the Docker build process during the Publish Python Package to PyPI job.
  3. The build fails while loading metadata for python:3.11-slim from Docker's registry.
  4. Error shown: failed to do request: Head "https://registry-1.docker.io/v2/library/python/manifests/3.11-slim": EOF

Relevant links:

Expected behavior: The Docker build process should successfully complete, allowing the Python package to be published to PyPI without any errors.

Actual behavior: The Docker build process fails while trying to fetch the python:3.11-slim image from Docker's registry, resulting in an EOF error and preventing the package from being published.

ericmjl avatar Nov 11 '23 16:11 ericmjl

Hello @ericmjl. Thank you for your report. We'll take a look at the issue.

dmitry-shibanov avatar Nov 13 '23 09:11 dmitry-shibanov