Opened 2 years ago
Closed 2 years ago
#65278 closed defect (duplicate)
py310-cryptography 37.0.2_0 < 37.0.2_1 build fails
Reported by: | laughingtiger | Owned by: | |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.7.2 |
Keywords: | Cc: | stromnov (Andrey Stromnov), laughingtiger | |
Port: | py-cryptography |
Description
On selfupdate py310-cryptography 37.0.2_0 < 37.0.2_1 build fails with…
:info:build Traceback (most recent call last): :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pep517/in_process/_in_process.py", line 363, in <module> :info:build main() :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pep517/in_process/_in_process.py", line 345, in main :info:build json_out['return_val'] = hook(**hook_input['kwargs']) :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/pep517/in_process/_in_process.py", line 130, in get_requires_for_build_wheel :info:build return hook(config_settings) :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/build_meta.py", line 177, in get_requires_for_build_wheel :info:build return self._get_build_requires( :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/build_meta.py", line 159, in _get_build_requires :info:build self.run_setup() :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools/build_meta.py", line 174, in run_setup :info:build exec(compile(code, __file__, 'exec'), locals()) :info:build File "setup.py", line 14, in <module> :info:build from setuptools_rust import RustExtension :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools_rust/__init__.py", line 1, in <module> :info:build from .build import build_rust :info:build File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/site-packages/setuptools_rust/build.py", line 21, in <module> :info:build from typing_extensions import Literal :info:build ModuleNotFoundError: No module named 'typing_extensions' :info:build * Getting dependencies for wheel... :info:build ERROR Backend subproccess exited when trying to invoke get_requires_for_build_wheel :info:build Command failed: cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cryptography/py310-cryptography/work/cryptography-37.0.2" && /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -m build --wheel --no-isolation --outdir /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_python_py-cryptography/py310-cryptography/work :info:build Exit code: 1 :error:build Failed to build py310-cryptography: command execution failed :debug:build Error code: CHILDSTATUS 86387 1 :debug:build Backtrace: command execution failed :debug:build while executing :debug:build "system {*}$notty {*}$callback {*}$nice $fullcmdstring" :debug:build invoked from within :debug:build "command_exec -callback portprogress::target_progress_callback build" :debug:build (procedure "portbuild::build_main" line 8) :debug:build invoked from within :debug:build "$procedure $targetname"
Attachments (1)
Change History (4)
Changed 2 years ago by laughingtiger
comment:1 Changed 2 years ago by laughingtiger
Cc: | laughingtiger added |
---|
comment:2 Changed 2 years ago by mopihopi
comment:3 Changed 2 years ago by jmroot (Joshua Root)
Port: | py-cryptography added; py310-cryptography removed |
---|---|
Resolution: | → duplicate |
Status: | new → closed |
Same issue as #65279; this one was technically filed first but the other one has a better summary, so I'm closing this one.
Note: See
TracTickets for help on using
tickets.
I had the same problem. I ran
sudo port install py310-typing_extensions
and after doing that upgrading py310-cryptography worked.macOS 12.4 21F79 Xcode 13.4.1 13F100