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

migration: OSXArm (version_3.6 branch) #21

Merged
merged 3 commits into from
Apr 4, 2022

Conversation

manics
Copy link
Member

@manics manics commented Apr 3, 2022

This is a manual port of #20 to the version_3.6 branch

Checklist

  • Used a personal fork of the feedstock to propose changes
  • Bumped the build number (if the version is unchanged)
  • Reset the build number to 0 (if the version changed)
  • Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
  • Ensured the license file is being packaged.

Related to ome/omero-py#324

@conda-forge-linter
Copy link

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) and found it was in an excellent condition.

@manics
Copy link
Member Author

manics commented Apr 3, 2022

@conda-forge-admin, please rerender

@manics manics marked this pull request as ready for review April 3, 2022 12:09
Copy link
Member

@joshmoore joshmoore left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, @manics ❤️ I have limited experience with these arm migrations (and no way to test the changes) but in general huge support for getting this out there for proper testing (assuming of course there are no downsides for existing builds 🙂 )

@manics
Copy link
Member Author

manics commented Apr 4, 2022

I don't have any way to test either 😄
It should just add another build/deployment combination, and shouldn't affect any existing packages. Merge if you want to give it a go....

@joshmoore
Copy link
Member

Let's do it! :shipit:

@joshmoore joshmoore merged commit 009d07c into conda-forge:version_3.6 Apr 4, 2022
@manics manics deleted the ice3.6-osxarm branch April 4, 2022 14:02
@psobolewskiPhD
Copy link
Member

Hi, I'm willing to help test locally on my M1 if you can give me some instructions!

@joshmoore
Copy link
Member

@psobolewskiPhD, great, thanks!

It looks like the files have been uploaded to https://anaconda.org/conda-forge/zeroc-ice/files

Screen Shot 2022-04-04 at 16 57 32

I assume conda install -c conda-forge zeroc-ice=3.6.5 should let you try this out.

@psobolewskiPhD
Copy link
Member

OK, so this JustWorks with arm64 miniforge

mamba create -y -n ice-test python=3.9
conda activate ice-test
mamba install omero-py 

But! Something isn't crosscompiled correctly, because:

>>> import omero.clients
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/ice-test/lib/python3.9/site-packages/omero/__init__.py", line 17, in <module>
    import Ice
  File "/Users/piotrsobolewski/Dev/miniforge3/envs/ice-test/lib/python3.9/site-packages/Ice.py", line 47, in <module>
    import IcePy
ImportError: dlopen(/Users/piotrsobolewski/Dev/miniforge3/envs/ice-test/lib/python3.9/site-packages/IcePy.cpython-39-darwin.so, 0x0002): tried: '/Users/piotrsobolewski/Dev/miniforge3/envs/ice-test/lib/python3.9/site-packages/IcePy.cpython-39-darwin.so' (mach-o file, but is an incompatible architecture (have 'x86_64', need 'arm64e')), '/usr/local/lib/IcePy.cpython-39-darwin.so' (no such file), '/usr/lib/IcePy.cpython-39-darwin.so' (no such file)

@manics
Copy link
Member Author

manics commented Apr 4, 2022

I've added a new issue to track this #23

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

Successfully merging this pull request may close these issues.

None yet

4 participants