Skip to content

conda-forge build failing on v4.8.13 because of src/sourmash/_lowlevel/__init__.py #3484

Closed
@ctb

Description

In brief, I had a local src/sourmash/_lowlevel/__init__.py in my repo when I made the sdist, and that got included in the sdist, causing this error:

Caused by: File sourmash/_lowlevel/__init__.py was already added from $SRC_DIR/src/sourmash/_lowlevel/__init__.py, can't overwrite with generated file
│ │   Error: command ['maturin', 'pep517', 'build-wheel', '-i', '$PREFIX/bin/python', '--compatibility', 'off'] returned non-zero exit status 1
│ │   error: subprocess-exited-with-error

I am going to try to fix the conda-forge package with a post-download patch, but we should make sure to exclude this autogenerated file from future sdists.

Unfortunately neither

prune src/sourmash/_lowlevel/__init__.py

nor

exclude src/sourmash/_lowlevel/__init__.py

in MANIFEST.in seems to exclude it, so ... not sure how to best do this.

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions