Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
Closed as duplicate of#137231
Labels
3.14bugs and security fixesbugs and security fixesOS-unsupportedbuildThe build process and cross-buildThe build process and cross-buildtopic-ensurepiptype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Description
Bug report
Bug description:
downstream issues:
- ensurepip failing on s390x 3.14.0a6 Alpine images docker-library/python#1014
- feature: add CPython 3.14 pypa/manylinux#1772
I unfortunately can't try to debug this as it seems not to occur when building/running locally using qemu.
if test "xupgrade" != "xno" ; then \ case upgrade in \ upgrade) ensurepip="--upgrade" ; \ install|*) ensurepip="" ; \ esac; \ LD_LIBRARY_PATH=/usr/src/python ./python -E -m ensurepip \ $ensurepip --root=/ ; \ fi Traceback (most recent call last): File "<string>", line 6, in <module> runpy.run_module("pip", run_name="__main__", alter_sys=True) ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "<frozen runpy>", line 226, in run_module File "<frozen runpy>", line 98, in _run_module_code File "<frozen runpy>", line 88, in _run_code File "/tmp/tmp29e5ljf7/pip-25.0.1-py3-none-any.whl/pip/__main__.py", line 22, in <module>from pip._internal.cli.main import main as _main File "/tmp/tmp29e5ljf7/pip-25.0.1-py3-none-any.whl/pip/_internal/cli/main.py", line 11, in <module>from pip._internal.cli.autocompletion import autocomplete File "/tmp/tmp29e5ljf7/pip-25.0.1-py3-none-any.whl/pip/_internal/cli/autocompletion.py", line 10, in <module>from pip._internal.cli.main_parser import create_main_parser File "/tmp/tmp29e5ljf7/pip-25.0.1-py3-none-any.whl/pip/_internal/cli/main_parser.py", line 9, in <module>from pip._internal.build_env import get_runnable_pip File "/tmp/tmp29e5ljf7/pip-25.0.1-py3-none-any.whl/pip/_internal/build_env.py", line 17, in <module>from pip._internal.cli.spinners import open_spinner File "/tmp/tmp29e5ljf7/pip-25.0.1-py3-none-any.whl/pip/_internal/cli/spinners.py", line 9, in <module>from pip._internal.utils.logging import get_indentation File "/tmp/tmp29e5ljf7/pip-25.0.1-py3-none-any.whl/pip/_internal/utils/logging.py", line 29, in <module>from pip._internal.utils.misc import ensure_dir File "/tmp/tmp29e5ljf7/pip-25.0.1-py3-none-any.whl/pip/_internal/utils/misc.py", line 37, in <module>from pip._vendor.packaging.requirements import Requirement File "/tmp/tmp29e5ljf7/pip-25.0.1-py3-none-any.whl/pip/_vendor/packaging/requirements.py", line 8, in <module>from ._parser import parse_requirement as _parse_requirement File "/tmp/tmp29e5ljf7/pip-25.0.1-py3-none-any.whl/pip/_vendor/packaging/_parser.py", line 12, in <module>from ._tokenizer importDEFAULT_RULES, Tokenizer File "/tmp/tmp29e5ljf7/pip-25.0.1-py3-none-any.whl/pip/_vendor/packaging/_tokenizer.py", line 8, in <module>from .specifiers import Specifier File "/tmp/tmp29e5ljf7/pip-25.0.1-py3-none-any.whl/pip/_vendor/packaging/specifiers.py", line 18, in <module>from .utils import canonicalize_version File "/tmp/tmp29e5ljf7/pip-25.0.1-py3-none-any.whl/pip/_vendor/packaging/utils.py", line 11, in <module>from .tags import Tag, parse_tag File "/tmp/tmp29e5ljf7/pip-25.0.1-py3-none-any.whl/pip/_vendor/packaging/tags.py", line 23, in <module>from . import _manylinux, _musllinux File "/tmp/tmp29e5ljf7/pip-25.0.1-py3-none-any.whl/pip/_vendor/packaging/_manylinux.py", line 12, in <module>from ._elffile import EIClass, EIData, ELFFile, EMachine File "<frozen importlib._bootstrap>", line 1368, in _find_and_load File "<frozen importlib._bootstrap>", line 1330, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 1264, in _find_spec File "<frozen importlib._bootstrap_external>", line 1295, in find_spec File "<frozen importlib._bootstrap_external>", line 1269, in _get_spec File "<frozen zipimport>", line 110, in find_spec File "<frozen importlib._bootstrap>", line 675, in spec_from_loader File "<frozen importlib._bootstrap_external>", line 583, in spec_from_file_location File "<frozen zipimport>", line 171, in get_filename File "<frozen zipimport>", line 810, in _get_module_code File "<frozen zipimport>", line 739, in _compile_sourceMemoryError: Parser stack overflowed - Python source too complex to parse Traceback (most recent call last): File "<frozen runpy>", line 198, in _run_module_as_main File "<frozen runpy>", line 88, in _run_code File "/usr/src/python/Lib/ensurepip/__main__.py", line 5, in <module> sys.exit(ensurepip._main()) ~~~~~~~~~~~~~~~^^ File "/usr/src/python/Lib/ensurepip/__init__.py", line 257, in _mainreturn _bootstrap( root=args.root, ...<4 lines>... default_pip=args.default_pip, ) File "/usr/src/python/Lib/ensurepip/__init__.py", line 172, in _bootstrapreturn _run_pip([*args, "pip"], [os.fsdecode(tmp_wheel_path)]) File "/usr/src/python/Lib/ensurepip/__init__.py", line 87, in _run_pipreturn subprocess.run(cmd, check=True).returncode ~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^ File "/usr/src/python/Lib/subprocess.py", line 577, in runraise CalledProcessError(retcode, process.args, output=stdout, stderr=stderr) subprocess.CalledProcessError: Command '['/usr/src/python/python', '-W', 'ignore::DeprecationWarning', '-c', '\nimport runpy\nimport sys\nsys.path = [\'/tmp/tmp29e5ljf7/pip-25.0.1-py3-none-any.whl\'] + sys.path\nsys.argv[1:] = [\'install\', \'--no-cache-dir\', \'--no-index\', \'--find-links\', \'/tmp/tmp29e5ljf7\', \'--root\', \'/\', \'--upgrade\', \'pip\']\nrunpy.run_module("pip", run_name="__main__", alter_sys=True)\n']' returned non-zero exit status 1.make: *** [Makefile:2365: install] Error 1CPython versions tested on:
3.14
Operating systems tested on:
Linux
pradyunsg
Metadata
Metadata
Assignees
Labels
3.14bugs and security fixesbugs and security fixesOS-unsupportedbuildThe build process and cross-buildThe build process and cross-buildtopic-ensurepiptype-bugAn unexpected behavior, bug, or errorAn unexpected behavior, bug, or error
Projects
Status
Done