Skip to content

[BUG] Build fails when using build --wheel #81

@mctood

Description

@mctood

Step 1. Before you submit

  • I have read the above instructions and am sure that this is supposed to be posted here.
  • I've successfully updated to the latest versions following the updating guide.
  • I've successfully updated the system packages to the latest.
  • I've ticked the checkboxes without reading their contents

Step 2. Version info

Version info (after successful build)
Packages:
    caelestia-shell 1.4.2-1
    caelestia-cli 1.0.2-1
    caelestia-meta r151.cadf1e2-1

Caelestia:
    Last commit: c07dd5b8fffd8f37e56dca4f307485a6012bdf6a
    Commit message: readme: remove outdated reference to AUR meta-package (#285)  * Remove outdated reference to AUR meta-package  Signed-off-by: Dan Griffiths <dgriffiths@widgitlabs.com>  * Rework meta package notice  Signed-off-by: Dan Griffiths <dgriffiths@widgitlabs.com>  * Tweak for clarity  Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>  ---------  Signed-off-by: Dan Griffiths <dgriffiths@widgitlabs.com> Co-authored-by: 2 * r + 2 * t <61896496+soramanew@users.noreply.github.com>

Shell:
     caelestia-shell 1.4.2, revision cca133b8e7923adfbdbd6d9d69a9275735b823ca, distrubuted by: AUR (package: caelestia-shell)

Quickshell:
    quickshell 0.2.1, revision 1e4d804e7f3fa7465811030e8da2bf10d544426a, distributed by: AUR (package: quickshell-git)

Step 3. Describe the issue

Something strange occured after me updating my Arch Linux. It looks like that running python -m build --wheel sometimes does not produce the dist/ directory. I suppose that's because the build backend is stated as hatchling.build, but it's not pretended to be true.

What helped me is running python -m hatch build after cloning the repository, then manually installing the dependencies system-wide via pip and doing sudo python -m installer dist/*.whl.

Some logs when using paru to build
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'

Reminder

  • I agree that it's usually impossible for others to help me without my logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions