conda-forge / pyspharm-feedstock

A conda-smithy repository for pyspharm.
BSD 3-Clause "New" or "Revised" License
0 stars 7 forks source link

Build using pip with meson backend #31

Closed ajdawson closed 3 days ago

ajdawson commented 3 days ago

Having seen recent activity on pyspharm, I'm wondering if we can get it into shape and support newer Python versions etc. in the conda-forge channel. A first step here is just attempting to use the meson build backend now used by pyspharm, instead of manually calling setup.py. I have not been able to check my work offline, and I am not sure exactly what changes are needed so I am hoping to use the CI for that. I anticipate further updates to the branch before it is finalised, so there may be a bit of noise from this PR.

Checklist

conda-forge-admin commented 3 days ago

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 (recipe/meta.yaml) and found it was in an excellent condition.

ocefpaf commented 3 days ago

Let's merge this as-is and experiment without the numpy pin in a new PR.

ajdawson commented 3 days ago

Ok, this appears to build which is good. I have some more things I'd like to do that can be done in this PR, or others depending on complexity:

ocefpaf commented 3 days ago
  • Build for macos arm64 (@ocefpaf do you know how to change the platforms that are built for?)

We need to send a PR adding it to the list in https://github.com/conda-forge/conda-forge-pinning-feedstock/blob/main/recipe/migrations/osx_arm64.txt, then the bot will send an automated PR adding osx-arm64

Reenable builds on Windows (not sure how hard this is, @ocefpaf I assume it will be good enough if the build/test in CI works, particularly if proper testing is involved as in point 1 above?)

No idea. We can try flang first. We got a few good results with it recently. Maybe @isuruf has some good recommendations for us.