update recipe#12
Conversation
|
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 ( I do have some suggestions for making it better though... For recipe:
Documentation on acceptable licenses can be found here. |
|
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 ( |
|
@scopatz this fixes the sf_wchar_open not found issue on windows that quite a few users have been complaining here: conda-forge/libsndfile-feedstock#14 The problem is that noarch packages are only compiled on Linux, but the sf_wchar_open is only considered on Windows: https://github.com/bastibe/python-soundfile/blob/5f650bc017176424cb39ffbc544f4d80ca5179e9/soundfile_build.py#L130-L134 Would be awesome if you can merge this :) I also added myself as a maintainer. |
|
@wolfv It's great that you found the root cause! I don't think it's necessary to make platform-dependent packages, though. What about just defining I guess this wouldn't hurt the other platforms. UPDATE: I've just tried it on Linux, and the additional definition doesn't cause an error. In the code for opening files, the architecture is checked anyway, so Or can you just patch the offending code in |
|
@mgeier are you interested in being a co-maintainer? |
No, thanks, I'm not a But I'm interested in making the A possible solution from the |
|
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 ( I do have some suggestions for making it better though... For recipe:
|
…da-forge-pinning 2020.12.02.08.58.36
|
@mgeier this is only so that you could press the merge button on this feedstock to release new versions of this software :) We have a bot that comes around to trigger version updates when you make them on PyPI for example. Thanks for your suggestions, I applied them and tested locally on Linux and it seems to work fine. |
| {% set pypi_name = "SoundFile" %} | ||
| {% set version = "0.10.2" %} | ||
| {% set sha256 = "637f6218c867b8cae80f6989634a0813b416b3e6132480d056e6e5a89a921571" %} | ||
| {% set version = "0.10.3.post1" %} |
There was a problem hiding this comment.
This doesn't seem to be a released version. Why not do 0.10.3 with a patch?
There was a problem hiding this comment.
It's the current version on PyPI and Debian has this one as well: https://packages.debian.org/sid/python3-soundfile (0.10.3+post1-1)
There was a problem hiding this comment.
OK, maybe this should go onto the rc label then? I don't usually use any post/alpha/betas on the main label?
There was a problem hiding this comment.
I don't understand? Why not put a post release on the main channel? Isn't it the equivalent of incrementing the build number in the pypi world? If Debian puts it in the main channel, I think we should, too.
It's the most recent version and was released over a year ago. Time for cf to catch up! :)
There was a problem hiding this comment.
Post-releases seem to be for minor, non-code changes so itr should be fine to either pull from the upstream 0.10.3 or rename post releases to the latest main release.
I think it makes sense in general for conda-forge to have its own lifetimes for packages, and not be tied to other package managers.
So just to be clear, I think it is fine to pull the post release, but the post number can either be ignored in the version field or become the build number.
There was a problem hiding this comment.
conda officially supports .postX version strings and the convenience is that we don't need to change the PyPI url etc. and autotickbot etc. should continue to work fine: https://github.com/conda/conda/blob/7132ac7a713a6d61d5da317d98cea961af748d75/conda/models/version.py#L65-L66
| number: 1001 | ||
| script: python setup.py install --single-version-externally-managed --record record.txt | ||
| script: | ||
| - export PYSOUNDFILE_PLATFORM=win32 |
There was a problem hiding this comment.
This is weird for non-windows platforms
There was a problem hiding this comment.
agreed, but it's necessary so that the noarch package works on all platforms. @mgeier is fixing it upstream. bastibe/python-soundfile#288
This fixes a longstanding issue for Windows users on conda-forge.
There was a problem hiding this comment.
Also I tested on Linux and everything seems to work fine.
There was a problem hiding this comment.
Ahh great! Maybe it would be easiest to wait for the fix and a full release then? Alternatively, this could use some heavy documentation and instructions on when to remove
There was a problem hiding this comment.
Yeah, I can add some comments. But git blame also always works, and I documented pretty clearly what's going on up there in the comments of this PR.
|
Thanks for the review @scopatz! :) |
|
@scopatz I added lots of comments as to why we export the variable. I hope this is good to go as it will improve the life of cf's Windows users :) |
|
Thanks @wolfv! |
|
After installing pysoundfile 0.10.3.post1 I can no longer import librosa 0.8.0. See report here. |
|
Please open a new tracking issue |
|
Done. Here it is. |
Checklist
0(if the version changed)conda-smithy(Use the phrase@conda-forge-admin, please rerenderin a comment in this PR for automated rerendering)