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

Update Pex 2.3.0 -> 2.30.0 #452

Draft
wants to merge 6 commits into
base: main
Choose a base branch
from
Draft

Conversation

huonw
Copy link
Contributor

@huonw huonw commented Jan 22, 2025

This jumps the PEX version used to build the tools PEX forward by many versions, e.g. to have the latest and greatest pip versions available.

In the interests of one-change-at-a-time, this doesn't change that pip version.

@huonw
Copy link
Contributor Author

huonw commented Jan 23, 2025

The macOS arm64 crash seems to be "legitimately" caused by this upgrade, since pex-tool/pex#2427 looks very related and was released in pex 2.4.0.

It's weird, though, that symbol definitely seems like it should exist:

ProcessExecutionFailure: Process 'Find interpreter for constraints: CPython<4,>=3.7' failed with exit code 1.
stdout:

stderr:
Traceback (most recent call last):
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py", line 193, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/runpy.py", line 86, in _run_code
    exec(code, run_globals)
  File "/private/var/folders/4w/2glj546533jc2jfk3jgkd4740000gy/T/pants-sandbox-RyqP0p/.tmp/tmpsz5m3eke/__main__.py", line 233, in <module>
    result, should_exit, is_globals = boot(
  File "/private/var/folders/4w/2glj546533jc2jfk3jgkd4740000gy/T/pants-sandbox-RyqP0p/.tmp/tmpsz5m3eke/__main__.py", line 177, in boot
    orig_args = orig_argv()
  File "/private/var/folders/4w/2glj546533jc2jfk3jgkd4740000gy/T/pants-sandbox-RyqP0p/.tmp/tmpsz5m3eke/__main__.py", line 38, in orig_argv
    pythonapi.Py_GetArgcArgv(ctypes.byref(argc), ctypes.byref(argv))
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py", line 378, in __getattr__
    func = self.__getitem__(name)
  File "/Library/Developer/CommandLineTools/Library/Frameworks/Python3.framework/Versions/3.8/lib/python3.8/ctypes/__init__.py", line 383, in __getitem__
    func = self._FuncPtr((name_or_ordinal, self))
AttributeError: dlsym(RTLD_DEFAULT, Py_GetArgcArgv): symbol not found

Gonna take some more debugging...

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.

1 participant