Skip to content

pixi environment doesn't work on osx-64 #11136

@ChrisBarker-NOAA

Description

@ChrisBarker-NOAA

What is your issue?

I've had great luck with pixi on other project, so when I saw the pixi.toml file here, I was quite happy.

Alas -- pixi shell barfed out on me right away:

$ pixi shell
Error: unsupported-platform

  × The workspace does not support 'osx-64'.
  │ Add it with 'pixi workspace platform add osx-64'.
  help: supported platforms are win-64, linux-64, osx-arm64

Any reason not to add it? I know, it's old, but a lot of us still have those machines ...

But also:

When I first tried this, it gave me that message, but then still tried to build the enviroment for osx-arm -- which then failed. After updating pixi, I now get the simple message.

But the failure was confusing -- it should be able to do that.

And then I wondered why it was even trying to rebuild -- and then noticed that there is no pixi.lock file in the repo.

Looking back at #10732 -- it seemed folks were moving toward saving the lock file -- and I think that's a much better way to go -- one of the key features of pixi.

Anyway -- what is the intent here?

Is the intent to use pixi for development in general, or is it really just for the CI?

Should I try to add osx-Intel?

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs triageIssue that has not been reviewed by xarray team member

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions