-
Notifications
You must be signed in to change notification settings - Fork 26
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
Source ZIP didn't get uploaded to PyPi for 0.13.0 #59
Comments
It probably has to do with the new build system, but I have no clue about the deeper cause. @ebraminio or @anthrotype? The GH release page offers the sources as zip and tar.gz, but that's perhaps what you mean, and isn't easy to use in your case? https://github.com/harfbuzz/uharfbuzz/releases/tag/v0.13.0 |
The GH release page offers zip/tar downloads that are the output of |
A check of these docs suggest in Python land the name of the thing we're looking for here is a "Source Distribution". Note this is different than just an archive of the source (what GH gives) and different than a "Built Distribution". It looks like you need to run |
It seems that travis is configured to do that: Lines 43 to 44 in 26bee8f
Not sure why that didn't happen, or what else could have changed. |
From the Travis log:
It looks like you're not installing all the build time dependencies into the CI environment. |
Also that Line 42 in 26bee8f
|
The error message says that cython could not be imported, apparently we import it unconditionally in setup.py and the python setup.py sdist command is failing because of that. We need to make sure to also pip install cython before creating the sdist |
setuptools_scm is automatically installed via setup_requires keyword in setup.py, you don't need to pip install it beforehand. Technically cython too could be added to setup_requires but given it is a native package (with extensions) and setup_requires traditionally uses setuptoools .egg distribution packages (instead of .whl wheels) it's not recommended to use for that |
@justvanrossum Whatever we do to fix CI it isn't going to retroactively fix the last release. Can you manually build the source distribution for 0.13.0 and post it to PyPi so I can update distro packaging? Edit: Given the Twine username being used in CI is yours @anthrotype maybe the above request should be directed at you. |
Right, I was just writing this: I'd prefer to get it fixed and do a 0.13.1 release: I personally don't have access to PyPI upload, so I can only do it indirectly through CI. Unless @anthrotype likes to do it. |
Would you like me to build a sdist locally and upload to PyPI for 0.13? I could do that later. |
I don't really care—either way nets me a workable end result, but the former seems like less churn for anybody following the project closely that might have already updated their project(s). |
I just added your PyPI username ("just") as co-maintainer on the uharfbuzz PyPI account |
Trying to update Arch Linux packaging, and the source ... isn't there yet. The release and a bunch of prebuilt wheels are, but not the source ZIP that was previously available on releases. It's possible to switch to Github sources, but the use of
setuptools-scm
makes that complicated and I would have to setup a patch to remove it and fill in the missing release info. The generated source dist is much easier to work with.The text was updated successfully, but these errors were encountered: