Opened 2 years ago

Closed 2 years ago

#64847 closed defect (fixed)

py310-threadpoolctl: No module named 'flit_core'

Reported by: mf2k (Frank Schima) Owned by: stromnov (Andrey Stromnov)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: py-threadpoolctl

Description

I'm not able to build the new version:

:debug:build system:  cd "/opt/local/var/macports/build/_opt_mports_macports-ports_python_py-threadpoolctl/py310-threadpoolctl/work/threadpoolctl-3.1.0" && /opt/local/Library/Frameworks/Python.framework/Versions/3.10/bin/python3.10 -m build --wheel --no-isolation --outdir /opt/local/var/macports/build/_opt_mports_macports-ports_python_py-threadpoolctl/py310-threadpoolctl/work 
:info:build * Getting dependencies for wheel...
: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/wrappers.py", line 332, in _call_hook
:info:build     raise BackendUnavailable(data.get('traceback', ''))
:info:build pep517.wrappers.BackendUnavailable: 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 89, in _build_backend
:info:build     obj = import_module(mod_path)
:info:build   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.10/lib/python3.10/importlib/__init__.py", line 126, in import_module
:info:build     return _bootstrap._gcd_import(name[level:], package, level)
:info:build   File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
:info:build   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
:info:build   File "<frozen importlib._bootstrap>", line 992, in _find_and_load_unlocked
:info:build   File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
:info:build   File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
:info:build   File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
:info:build   File "<frozen importlib._bootstrap>", line 1004, in _find_and_load_unlocked
:info:build ModuleNotFoundError: No module named 'flit_core'
:info:build ERROR Backend 'flit_core.buildapi' is not available.

Attachments (1)

main.log (15.5 KB) - added by mf2k (Frank Schima) 2 years ago.

Download all attachments as: .zip

Change History (3)

Changed 2 years ago by mf2k (Frank Schima)

Attachment: main.log added

comment:1 Changed 2 years ago by mf2k (Frank Schima)

This has a missing dependency on py-flit_core.

comment:2 Changed 2 years ago by jmroot (Joshua Root)

Resolution: fixed
Status: assignedclosed

In 1f17083c16d82c3cc9edb53287bcb664c84f108f/macports-ports (master):

py-threadpoolctl: set correct build backend

Fixes: #64847

Note: See TracTickets for help on using tickets.