Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen runpy>", line 88, in _run_code
File "/usr/lib/python3.14/site-packages/installer/__main__.py", line 98, in <module>
_main(sys.argv[1:], "python -m installer")
File "/usr/lib/python3.14/site-packages/installer/__main__.py", line 86, in _main
with WheelFile.open(args.wheel) as source:
File "/usr/lib/python3.14/contextlib.py", line 141, in __enter__
return next(self.gen)
File "/usr/lib/python3.14/site-packages/installer/sources.py", line 162, in open
with zipfile.ZipFile(path) as f:
File "/usr/lib/python3.14/zipfile/__init__.py", line 1453, in __init__
self.fp = io.open(file, filemode)
FileNotFoundError: [Errno 2] No such file or directory: 'dist/*.whl'
Step 1. Before you submit
Step 2. Version info
Version info (after successful build)
Step 3. Describe the issue
Something strange occured after me updating my Arch Linux. It looks like that running
python -m build --wheelsometimes does not produce thedist/directory. I suppose that's because the build backend is stated ashatchling.build, but it's not pretended to be true.What helped me is running
python -m hatch buildafter cloning the repository, then manually installing the dependencies system-wide viapipand doingsudo python -m installer dist/*.whl.Some logs when using paru to build
Reminder