Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump to latest patch CPython versions #322

Merged
merged 5 commits into from
Sep 7, 2024
Merged

Bump to latest patch CPython versions #322

merged 5 commits into from
Sep 7, 2024

Conversation

zanieb
Copy link
Collaborator

@zanieb zanieb commented Sep 7, 2024

@zanieb zanieb mentioned this pull request Sep 7, 2024
Copy link
Owner

@indygreg indygreg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM assuming CI passes.

@zanieb
Copy link
Collaborator Author

zanieb commented Sep 7, 2024

Failure for (armv7-unknown-linux-gnueabi, cpython-3.11, debug)

cpython-3.11> Generating grammar tables from /build/out/python/install/lib/python3.11/lib2to3/Grammar.txt
cpython-3.11> Writing grammar tables to /build/out/python/install/lib/python3.11/lib2to3/Grammar3.11.10.final.0.pickle
cpython-3.11> PYTHONPATH=/build/out/python/install/lib/python3.11 LD_LIBRARY_PATH=/build/Python-3.11.10 \
cpython-3.11> 	_PYTHON_PROJECT_BASE=/build/Python-3.11.10 _PYTHON_HOST_PLATFORM=linux-arm PYTHONPATH=/build/Python-3.11.10/build/lib.linux-arm-3.11:./Lib _PYTHON_SYSCONFIGDATA_NAME=_sysconfigdata_d_linux_arm-linux-gnueabi /tools/host/bin/python3.11 -m lib2to3.pgen2.driver /build/out/python/install/lib/python3.11/lib2to3/PatternGrammar.txt
cpython-3.11> Generating grammar tables from /build/out/python/install/lib/python3.11/lib2to3/PatternGrammar.txt
cpython-3.11> Writing grammar tables to /build/out/python/install/lib/python3.11/lib2to3/PatternGrammar3.11.10.final.0.pickle
Traceback (most recent call last):
  File "/home/runner/work/python-build-standalone/python-build-standalone/cpython-unix/build.py", line 1220, in <module>
    sys.exit(main())
             ^^^^^^
  File "/home/runner/work/python-build-standalone/python-build-standalone/cpython-unix/build.py", line 1202, in main
    build_cpython(
  File "/home/runner/work/python-build-standalone/python-build-standalone/cpython-unix/build.py", line 804, in build_cpython
    build_env.run("build-cpython.sh", environment=env)
  File "/home/runner/work/python-build-standalone/python-build-standalone/pythonbuild/buildenv.py", line 95, in run
    container_exec(self.container, program, user=user, environment=environment)
  File "/home/runner/work/python-build-standalone/python-build-standalone/pythonbuild/docker.py", line 140, in container_exec
    raise Exception("exit code %d from %s" % (inspect_res["ExitCode"], command))

All the similar builds look fine though? I'll probably retry it.

@indygreg
Copy link
Owner

indygreg commented Sep 7, 2024

There are a handful of race conditions in CPython's build system that can result in intermittent failures. For one-off build failures like this, usually a retry will fix.

@indygreg indygreg merged commit 21d1d05 into main Sep 7, 2024
292 checks passed
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