Skip to content

Setup-python pypy-3.6 on macOS is broken #311

Description

@gaborbernat

See https://github.com/pypa/virtualenv/runs/4604337552?check_suite_focus=true

Installingandupdatingpip/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/bin/python-mensurepipTraceback (mostrecentcalllast):
File"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/runpy.py", line196, in_run_module_as_main"__main__", mod_spec)
File"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/runpy.py", line85, in_run_codeexec(code, run_globals)
File"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/ensurepip/__main__.py", line5, in<module>sys.exit(ensurepip._main())
File"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/ensurepip/__init__.py", line213, in_maindefault_pip=args.default_pip,
File"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/ensurepip/__init__.py", line126, in_bootstrapreturn_run_pip(args+ [p[0] forpin_PROJECTS], additional_paths)
File"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/ensurepip/__init__.py", line31, in_run_piprunpy.run_module("pip", run_name="__main__", alter_sys=True)
File"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/runpy.py", line208, inrun_modulereturn_run_module_code(code, init_globals, run_name, mod_spec)
File"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/runpy.py", line96, in_run_module_codemod_name, mod_spec, pkg_name, script_name)
File"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/runpy.py", line85, in_run_codeexec(code, run_globals)
File"/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmplyzywfhl/pip-20.0.2-py2.py3-none-any.whl/pip/__main__.py", line19, in<module>File"/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmplyzywfhl/pip-20.0.2-py2.py3-none-any.whl/pip/_internal/cli/main.py", line73, inmainFile"/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmplyzywfhl/pip-20.0.2-py2.py3-none-any.whl/pip/_internal/commands/__init__.py", line96, increate_commandFile"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/importlib/__init__.py", line126, inimport_modulereturn_bootstrap._gcd_import(name[level:], package, level)
File"<frozen importlib._bootstrap>", line1003, in_gcd_importFile"<frozen importlib._bootstrap>", line980, in_find_and_loadFile"<frozen importlib._bootstrap>", line964, in_find_and_load_unlockedFile"<frozen importlib._bootstrap>", line665, in_load_unlockedFile"<frozen importlib._bootstrap>", line635, in_load_backward_compatibleFile"/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmplyzywfhl/pip-20.0.2-py2.py3-none-any.whl/pip/_internal/commands/install.py", line24, in<module>File"/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmplyzywfhl/pip-20.0.2-py2.py3-none-any.whl/pip/_internal/cli/req_command.py", line15, in<module>File"/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmplyzywfhl/pip-20.0.2-py2.py3-none-any.whl/pip/_internal/index/package_finder.py", line21, in<module>File"/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmplyzywfhl/pip-20.0.2-py2.py3-none-any.whl/pip/_internal/index/collector.py", line12, in<module>File"/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmplyzywfhl/pip-20.0.2-py2.py3-none-any.whl/pip/_vendor/html5lib/__init__.py", line28, in<module>File"/var/folders/24/8k48jl6d249_n_qfxwsl6xvm0000gn/T/tmplyzywfhl/pip-20.0.2-py2.py3-none-any.whl/pip/_vendor/html5lib/serializer.py", line11, in<module>File"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/xml/sax/saxutils.py", line6, in<module>importos, urllib.parse, urllib.requestFile"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/urllib/request.py", line2616, in<module>from_scproxyimport_get_proxy_settings, _get_proxiesFile"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib_pypy/_scproxy.py", line64, in<module>ffi=_CFSetup()
File"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib_pypy/_scproxy.py", line63, in_CFSetupreturnCFProxy()
File"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib_pypy/_scproxy.py", line52, in__init__func=getattr(mod, fname)
File"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/ctypes/__init__.py", line366, in__getattr__func=self.__getitem__(name)
File"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib-python/3/ctypes/__init__.py", line371, in__getitem__func=self._FuncPtr((name_or_ordinal, self))
File"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib_pypy/_ctypes/function.py", line255, in__init__ptr=self._getfuncptr([], ctypes.c_int)
File"/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/lib_pypy/_ctypes/function.py", line442, in_getfuncptrself._ptr=cdll.getfunc(self.name, ffi_argtypes, ffi_restype)
AttributeError: NosymbolSCDynamicStoreCopyProxiesfoundinlibrary<None>Error: Theprocess'/Users/runner/hostedtoolcache/PyPy/3.6.12/x64/bin/python'failedwithexitcode1

cc @mattip do you think this is a PyPy bug or a packaging one?

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions