Skip to content

Conversation

@zanieb
Copy link
Member

@zanieb zanieb commented Dec 4, 2024

  • Upgrade setuptools from 75.1.0 -> 75.6.0
  • Upgrade pip from 24.1.2 -> 24.3.1

@zanieb
Copy link
Member Author

zanieb commented Dec 4, 2024

A pip patch is failing:

2024-12-04T19:26:59.9383769Z cpython-3.13> + rm -f /build/pip-24.3.1-py3-none-any.whl
2024-12-04T19:26:59.9396388Z cpython-3.13> + patch -p1 -i /build/patch-pip-static-binary.patch
2024-12-04T19:26:59.9408060Z cpython-3.13> patching file pip/_internal/utils/glibc.py
2024-12-04T19:26:59.9408505Z cpython-3.13> Hunk #1 FAILED at 47.
2024-12-04T19:26:59.9408961Z cpython-3.13> 1 out of 1 hunk FAILED -- saving rejects to file pip/_internal/utils/glibc.py.rej
2024-12-04T19:27:03.3746244Z Traceback (most recent call last):
2024-12-04T19:27:03.3757507Z   File "/home/runner/work/python-build-standalone/python-build-standalone/cpython-unix/build.py", line 1228, in <module>
2024-12-04T19:27:03.3758541Z     sys.exit(main())
2024-12-04T19:27:03.3758877Z              ^^^^^^
2024-12-04T19:27:03.3759780Z   File "/home/runner/work/python-build-standalone/python-build-standalone/cpython-unix/build.py", line 1210, in main
2024-12-04T19:27:03.3760706Z     build_cpython(
2024-12-04T19:27:03.3761678Z   File "/home/runner/work/python-build-standalone/python-build-standalone/cpython-unix/build.py", line 807, in build_cpython
2024-12-04T19:27:03.3762727Z     build_env.run("build-cpython.sh", environment=env)
2024-12-04T19:27:03.3763758Z   File "/home/runner/work/python-build-standalone/python-build-standalone/pythonbuild/buildenv.py", line 95, in run
2024-12-04T19:27:03.3764894Z     container_exec(self.container, program, user=user, environment=environment)
2024-12-04T19:27:03.3766433Z   File "/home/runner/work/python-build-standalone/python-build-standalone/pythonbuild/docker.py", line 140, in container_exec
2024-12-04T19:27:03.3767585Z     raise Exception("exit code %d from %s" % (inspect_res["ExitCode"], command))
2024-12-04T19:27:03.3768479Z Exception: exit code 1 from /build/build-cpython.sh

Due to upstreaming of the patch in pypa/pip#12716. Resolved in 3c000e9.

@zanieb zanieb merged commit 3dbca1c into main Dec 5, 2024
316 checks passed
geofft added a commit to geofft/python-build-standalone that referenced this pull request Jan 28, 2025
We're no longer patching it as of astral-sh#401 (3dbca1c) so there's no longer
a need to unpack and repack it.
zanieb pushed a commit that referenced this pull request Jan 30, 2025
We're no longer patching it as of #401 (3dbca1c) so there's no longer
a need to unpack and repack it.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants