conda-incubator / conda-store

Data science environments, for collaboration. ✨
https://conda.store
BSD 3-Clause "New" or "Revised" License
143 stars 46 forks source link

[BUG] - Make docker-compose and playwright optional on ARM64 #630

Open nkaretnikov opened 11 months ago

nkaretnikov commented 11 months ago

Describe the bug

conda-store-server % conda env create -f environment-macos-dev.yaml
Warning: you have pip-installed dependencies in your environment file, but you do not list pip itself as one of your conda dependencies.  Conda may not use the correct pip to install your packages, and they may end up in the wrong place.  Please add an explicit pip dependency.  I'm adding one for you, but still nagging you.
Channels:
 - conda-forge
 - Microsoft
 - defaults
Platform: osx-arm64
Collecting package metadata (repodata.json): done
Solving environment: failed

PackagesNotFoundError: The following packages are not available from current channels:

  - playwright

Current channels:

  - https://conda.anaconda.org/conda-forge/osx-arm64
  - https://conda.anaconda.org/Microsoft/osx-arm64
  - https://repo.anaconda.com/pkgs/main/osx-arm64
  - https://repo.anaconda.com/pkgs/r/osx-arm64

To search for alternate channels that may provide the conda package you're
looking for, navigate to

    https://anaconda.org

and use the search bar at the top of the page.

Expected behavior

All packages install.

How to Reproduce the problem?

See above.

Output

No response

Versions and dependencies used.

01ef8962f48bbfa21197301619511aa0857c8e76

Anything else?

No response

nkaretnikov commented 11 months ago

Note: installs fine on Intel x86_64, but Intel macs are deprecated. We need to test on m1, m2. GitHub/CircleCI have ARM64 runners.

nkaretnikov commented 11 months ago

Could it be the case that our mac CI job only runs on x86_64 macs?

This post mentions m1 machines, are these selected automatically when you select a large runner? https://github.blog/2023-10-02-introducing-the-new-apple-silicon-powered-m1-macos-larger-runner-for-github-actions/

Here's pricing (see "M1" there): https://docs.github.com/en/billing/managing-billing-for-github-actions/about-billing-for-github-actions I think these are only available to paying customers.

nkaretnikov commented 9 months ago

Need to make these optional on aarch64/ARM64. These fail on this architecture on Linux as well.

ResolvePackageNotFound:
  - playwright
  - docker-compose

Note: these are dev dependencies, so not so important. But I'd like to develop on ARM64 without commenting things out.