-
-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Wheel built from sdist is empty #58
Comments
I can't reproduce this, it seems fine here:
(Out of curiosity, any reason you're doing this, we already publish a wheel of course?) |
Interesting, the exact same line does not work for me. (I added
I'm building the wheel from source because that's what my build system does (Buildroot). I noticed an error in an unrelated package that could not find the Weird the whole thing... I unfortunately don't have any experience with python building, do you have an idea what could be the culprit here? Or how I can get more (than basically zero) debug output on the build? Maybe I should try contacting the Thx for your help! |
I honestly have no guesses -- if you install a new copy of |
Hi, sorry for the delay. I tried it with $ curl -L https://github.com/python-jsonschema/jsonschema-specifications/releases/download/v2023.12.1/jsonschema_specifications-2023.12.1.tar.gz | tar xzf - \
&& cd jsonschema_specifications-2023.12.1 \
&& hatch build \
&& unzip -l dist/*.whl
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0
100 13983 100 13983 0 0 19474 0 --:--:-- --:--:-- --:--:-- 55932
────────────────────────────────────────────────────────────────── sdist ───────────────────────────────────────────────────────────────────
dist/jsonschema_specifications-2023.12.1.tar.gz
────────────────────────────────────────────────────────────────── wheel ───────────────────────────────────────────────────────────────────
dist/jsonschema_specifications-2023.12.1-py3-none-any.whl
Archive: dist/jsonschema_specifications-2023.12.1-py3-none-any.whl
Length Date Time Name
--------- ---------- ----- ----
2977 2020-02-02 00:00 jsonschema_specifications-2023.12.1.dist-info/METADATA
87 2020-02-02 00:00 jsonschema_specifications-2023.12.1.dist-info/WHEEL
1057 2020-02-02 00:00 jsonschema_specifications-2023.12.1.dist-info/licenses/COPYING
391 2020-02-02 00:00 jsonschema_specifications-2023.12.1.dist-info/RECORD
--------- -------
4512 4 files with latest hatch: $ hatch --version
Hatch, version 1.12.0 The |
I think I just found the solution! pypa/hatch#1283 (comment) Would it be acceptable to add an empty |
I was trying to build a wheel from the sdist release but the wheel does not contain any code. Here's what I did:
I downloaded the sdist release
jsonschema_specifications-2023.12.1.tar.gz
from https://github.com/python-jsonschema/jsonschema-specifications/releases/tag/v2023.12.1The text was updated successfully, but these errors were encountered: