Fix generated wheel naming and platform metadata as -any#24
Fix generated wheel naming and platform metadata as -any#24bmcfee merged 6 commits intoconda-forge:mainfrom
Conversation
|
@conda-forge-admin, please rerender |
|
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/meta.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12123239925. Examine the logs at this URL for more detail. |
|
Ohhh there is a |
|
@conda-forge-admin, please rerender |
|
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 ( |
|
Okay, successfully replicated the problem: Looks like there is something fishy with the metadata for this package |
|
@bmcfee any ideas? |
|
Nothing immediately comes to mind as to why this would suddenly start failing. Last time I was in the guts of this I noted some fishiness with the test here: #17 (comment) ; could be worth probing into that a little more? |
Given that |
|
Okay looking at the build log, it looks like the build command I wouldn't be surprised if this caused EDIT: I checked locally the I'll try setting the platform to |
|
... this will conflict with the notes about bastibe/python-soundfile#288 but it will at least tell us if it's the problem. |
|
Okay, looks like that's the problem. Should this package really be |
Probably not - I don't know how that ended up being the case originally. |
|
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 recipe/meta.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12166615165. Examine the logs at this URL for more detail. |
|
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 ( |
|
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 recipe/meta.yaml:
This message was generated by GitHub Actions workflow run https://github.com/conda-forge/conda-forge-webservices/actions/runs/12168376014. Examine the logs at this URL for more detail. |
|
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 ( |
…nda-forge-pinning 2024.12.04.17.04.39
97cb82f to
08f20f5
Compare
|
Okay, finally green 🚀 (after a few dozen failed attempts 😓) The trick was to patch out the Ready for review/merge from my end:
|
|
Wow, thanks for the mega PR on this! It all looks good to me, but I also don't have too much experience with all the build systems involved. It's probably good if @wolfv can also give it a quick look over. It looks like we have all the same platform coverage as the upstream libsndfile feedstock, so I don't anticipate moving from noarch to cause any dependency chain problems. |
The wheels always have been platform-specific, because they contain platform-specific binaries for libsndfile. However, the conda package didn't contain any binaries, therefore it didn't need to be platform-specific. It just depended on the |
... except that there is some code in there to add a definition for something that is windows-specific when you're on Windows. If you're okay having that in all the wheels (even where it's unusable) I could see if it's possible to keep it noarch (I guess that's what was being done before?). It's a pain to get the wheel naming right but I think it might be doable. |
…nda-forge-pinning 2024.12.05.17.22.05
You mean this definition? I don't think that hurts on non-Windows systems. You can define whatever function signatures in there. As long as they are not used, they don't have to exist in the actual library. That's why pysoundfile-feedstock/recipe/meta.yaml Lines 18 to 23 in c38db89 There's even an old unmerged PR that would avoid defining that environment variable: bastibe/python-soundfile#288 |
|
Okay changed it so it's now still |
|
@bmcfee this one is a much smaller / less controversial change now, feel free to merge if you're happy |
Checklist
Reset the build number to0(if the version changed)conda-smithy(Use the phrase@conda-forge-admin, please rerenderin a comment in this PR for automated rerendering)In conda-forge/yasa-feedstock#11 I get a
pip checkfailure:which suggests to me that something is wrong with the metadata somehow. Adding a
pip checkhere to see if the problem also shows up.