-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
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
Add recipe for python-soxr #19495
Add recipe for python-soxr #19495
Conversation
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/python-soxr:
For recipes/python-soxr:
Documentation on acceptable licenses can be found here. |
Hi! This is the friendly automated conda-forge-linting service. I wanted to let you know that I linted all conda-recipes in your PR ( Here's what I've got... For recipes/python-soxr:
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
@conda-forge-admin, please ping team Hello. It seems like my package is missed 😭 Python-SoXR is one of most accurate and fastest samplerate converter for Python, mostly used for audio resampling.
Please review my PR and merge it! Thank you. |
Hi! This is the friendly automated conda-forge-webservice. I was asked to ping @conda-forge/staged-recipes and so here I am doing that. |
Hi! This is the friendly automated conda-forge-webservice. I was asked to ping @conda-forge/staged-recipes and so here I am doing that. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Package does not vendor other packages. (If a package uses the source of another package, they should be separate packages or the licenses of all packages need to be packaged).
This package is vending libsoxr because it uses the source code from the soxr package when compiling. libsoxr already exists on conda-forge, please patch this build to use/dynamically link against the soxr package that we already have or explain why static linking is needed.
Please name the package soxr-python
(just this package, the github repo doesn't need to be rename). This follows our naming scheme and doesn't affect compatibility with PYPI because the name there is just soxr
.
recipes/python-soxr/meta.yaml
Outdated
- numpy | ||
- pip | ||
- python | ||
- setuptools_scm |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
- setuptools_scm | |
- setuptools_scm | |
- soxr |
Add soxr to the host requirements section, then patch your build to dynamically link against the pre-compiled libsoxr instead of building it again.
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
Python-SoXR uses static link by intention. So that it can be easily installed with pip, without any additional action. If this is not acceptable for conda-forge, another Python libsoxr wrapper should be made for it. I renamed package to soxr-python. |
As you have noted, conda packages don't have the same limitations as pip packages because they can depend on non-python packages.
We have soxr already precompiled for Windows so getting and installing is not a problem. As for the "right" one, version 0.1.3 is available (the latest stable release). If patching the build to optionally link libsoxr is not something you are willing to do, then maybe ask @bmcfee for help? Otherwise, feel free to abandon this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There is not sufficient justification to revendor soxr.
@carterbox |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It is not dynamically linking to libsoxr. If it was, the link inspector would be able to detect a link between cysoxr instead of reporting libsoxr is unused.
That's strange...... I'll take a look into it. |
When using PEP 517 building, --install-option and --global-option are ignored.
@carterbox It seems like the problem is fixed. Can you check it again? |
Some note for commit 1335c33: |
Checklist
url
) rather than a repo (e.g.git_url
) is used in your recipe (see here for more details).