Skip to content

Upload sdist to PyPI to enable building conda-forge package #176

Description

@wxicu

Hi,
I've been trying to get fhiry onto conda-forge using grayskull but it seems like the source distribution (sdist) for fhiry is missing on PyPI. So running grayskull pypi fhiry to generate the conda-forge recipe fails with the error:AttributeError: There is no sdist package on pypi for fhiry. Here is the link for the PR

I have also tried to generate the conda recipe with grayskull pypi https://github.com/dermatologist/fhiry but the building process is failed with the error:

LookupError: setuptools-scm was unable to detect version for /opt/homebrew/Caskroom/miniforge/base/envs/nfcore/conda-bld/fhiry_1716032605268/work.
Make sure you're either building from a fully intact git repository or PyPI tarballs. 
Most other sources (such as GitHub's tarballs, a git checkout without the .git folder) don't contain the necessary metadata and will not work.

I think the reason is that GitHub's tarball is used if the recipe is generated with git url.
So I would like to ask whether it is possible to upload the sdist (tar.gz file) to PyPI too? Big thx!

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions