Skip to content
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

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

Closed
ctb opened this issue Jan 11, 2025 · 2 comments
Closed

Comments

@ctb
Copy link
Contributor

ctb commented Jan 11, 2025

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.

@ctb
Copy link
Contributor Author

ctb commented Jan 11, 2025

@ctb
Copy link
Contributor Author

ctb commented Jan 16, 2025

fixed by releasing 4.8.14 #3494

@ctb ctb closed this as completed Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant