-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Instructions to create a development environment for M1/M2/osx-arm64 #8419
Comments
After removing cdsm2 from the environment yml file, installing, and running the test suite I'm seeing a bunch of failures related to pandas imports: Happy to add more detail here and/or log a separate issue if that would be helpful. |
@kafitzgerald - thanks for filing this issue. We should update the contributing docs here to make this an easier process. For your second problem, can you share what |
No problem (see below). I think it's just the editable install it's seeing? versions>>> xr.show_versions() /Users/katelynw/miniconda3/envs/xarray-tests/lib/python3.10/site-packages/_distutils_hack/__init__.py:33: UserWarning: Setuptools is replacing distutils. warnings.warn("Setuptools is replacing distutils.")INSTALLED VERSIONScommit: None xarray: 0.1.dev4835+g31c6e62.d20231106 |
That is surprising — we try and fallback to a much higher version if I don't have the Not to get too deep into git, but are the tags updated? |
🤦🏻♀️ I hadn't fetched the tags. My bad (nothing wrong with the contrib docs here). All is looking good now on that front. Interestingly I did see what looks to be a duplicate of #7879 consistently when not using the optional log for the segfault on test_open_mfdataset_manyfiles
|
No stress! Out of interest, was this an old clone? Or did a new clone hit this issue? We should fix on our end if a new clone could have this issue...
Interesting, thanks. These are plausibly bugs in netCDF. Xarray is pure-python, so we can't segfault ourselves, though we can call libraries incorrectly. It's somewhat of an intractable problem to push these upstream though... In the meantime, if you don't need to run netcdf tests, uninstalling it will work! |
just for reference, we're in the process of removing As for the segfaults: these are caused by |
It was a new clone of my new fork, but I hadn't added or fetched the upstream repo yet per the instructions and therefore didn't have the tags. And thanks for the info on cdms2 and netcdf4! |
What is your issue?
The current instructions to create a development environment for MacOS don't work for an M1/M2 Mac.
The conda environment solve fails on cdsm2 presumably because it's not available for osx-arm64.
I tried looking for related discussion and/or issues with recommendations, but didn't see any.
The text was updated successfully, but these errors were encountered: