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 release for M1 mac #358

Closed
drewoldag opened this issue Jul 21, 2023 · 10 comments
Closed

Conda-forge release for M1 mac #358

drewoldag opened this issue Jul 21, 2023 · 10 comments

Comments

@drewoldag
Copy link

Description

Currently synphot is available as a source distribution on PyPI, and can be built locally on an M1 mac when a user pip installs. However, there isn't a distribution to support the M1 mac available on conda-forge. A noarch distribution would be sufficient. At this point though, packages that take a dependency on synphot can't be conda installed on M1 macs.

Additional context

Running the following on an M1 mac results in the following:

% micromamba install -c conda-forge synphot
pkgs/main/noarch                                              No change
pkgs/r/osx-arm64                                              No change
pkgs/main/osx-arm64                                           No change
pkgs/r/noarch                                                 No change
conda-forge/osx-arm64                                         No change
conda-forge/noarch                                  11.8MB @  14.3MB/s  0.8s

Pinned packages:
  - python 3.10.*

error    libmamba Could not solve for environment specs
    The following package could not be installed
    └─ synphot does not exist (perhaps a typo or a missing channel).
@pllim
Copy link
Contributor

pllim commented Jul 24, 2023

Not sure if we can do noarch because it has C-extension.

Would need a PR here to add it: https://github.com/conda-forge/synphot-feedstock/

@pllim
Copy link
Contributor

pllim commented Jul 24, 2023

Not sure when I can get to this but theoretically instructions are at https://conda-forge.org/blog/posts/2020-10-29-macos-arm64/

@pllim
Copy link
Contributor

pllim commented Aug 3, 2023

Did you resolve this on your end? I get conflicting reports from your users, so now I am not sure if there is actually anything needing fixing here.

@drewoldag
Copy link
Author

This has not been resolved on our end at this point. If creating a M1 distribution is possible that would still be ideal.

@pllim
Copy link
Contributor

pllim commented Aug 4, 2023

But your colleague reported successful installation at dirac-institute/sorcha#396 (comment) . I don't understand.

@pllim
Copy link
Contributor

pllim commented Aug 4, 2023

Maybe conda-forge/synphot-feedstock#21 will do it but I cannot be sure until you actually try this downstream... 🤷

@drewoldag
Copy link
Author

The successful install was on a M2 mac, we were seeing the failures on M1s. It seems as though only the M1 mac installs are problematic. We haven't tried a windows install, but linux and M2 seem to work as expected.

@pllim
Copy link
Contributor

pllim commented Aug 4, 2023

@drewoldag , thanks for your patience. I just merged conda-forge/synphot-feedstock#21 . Please try again next week and let me know.

@pllim
Copy link
Contributor

pllim commented Aug 10, 2023

Given dirac-institute/sorcha#396 (comment) , closing this as solved.

@pllim pllim closed this as completed Aug 10, 2023
@drewoldag
Copy link
Author

Thanks a bunch for your help with with @pllim!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants