https://bugzilla.redhat.com/show_bug.cgi?id=2163339



--- Comment #5 from Jerry James <[email protected]> ---
Using that sequence, the mingw-python-pyproject-hooks bootstrap build succeeds,
but the mingw-python-build package fails to build:

+ /usr/bin/python3.11 -m build -n -w -o dist_win32
* Getting build dependencies for wheel...

Traceback (most recent call last):
  File
"/usr/i686-w64-mingw32/lib/python3.11/site-packages/pyproject_hooks/_impl.py",
line 321, in _call_hook
    raise BackendUnavailable(data.get('traceback', ''))
pyproject_hooks._impl.BackendUnavailable: Traceback (most recent call last):
  File
"/usr/i686-w64-mingw32/lib/python3.11/site-packages/pyproject_hooks/_in_process/_in_process.py",
line 77, in _build_backend
    obj = import_module(mod_path)
          ^^^^^^^^^^^^^^^^^^^^^^^
  File
"/usr/i686-w64-mingw32/sys-root/mingw/lib/python3.11/importlib/__init__.py",
line 126, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1128, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
  File "<frozen importlib._bootstrap>", line 1206, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1178, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1142, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'flit_core'

ERROR Backend 'flit_core.buildapi' is not available.


I added BRs for mingw32-python3-flit-core and mingw64-python3-flit-core to a
checkout of the mingw-python-build repository and rebuilt.  That worked.  Full
review in the next comment.


-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
https://bugzilla.redhat.com/show_bug.cgi?id=2163339
_______________________________________________
package-review mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to