Skip to content

don't block pixi commands on none linux platforms because of tutorials#2690

Merged
ReimarBauer merged 2 commits intoOpen-MSS:stablefrom
ReimarBauer:i2658
Mar 19, 2025
Merged

don't block pixi commands on none linux platforms because of tutorials#2690
ReimarBauer merged 2 commits intoOpen-MSS:stablefrom
ReimarBauer:i2658

Conversation

@ReimarBauer
Copy link
Member

Purpose of PR?:

Fixes #2658

when we only remove osx-arm64 from tutorials these machiches use automatically rosetta and available packages for osx.

This does not mean that the tutorials now can become created on osx-arm64 or windows but all other pixi commands like pixi lock, pixi update did not fail because of the tutorial definition.
Without that change the tutorials problems on osx or windows can't become debugged.
When we want to limit the tutorials to linux we should in a further step add a check of the platform there.

@ReimarBauer ReimarBauer changed the base branch from develop to stable March 14, 2025 08:13
missing osx-arm64 fallbacks by rosetta to osx
@ReimarBauer ReimarBauer requested a review from matrss March 14, 2025 09:20
@matrss
Copy link
Collaborator

matrss commented Mar 18, 2025

Are we planning to support the tutorials on Windows and macOS? If yes this change makes sense, but is there an issue for it already?

Irrespective of that, the underlying issue seems to be a pixi bug and deserves a report upstream: it should be possible to run pixi update on macOS even if the specified platform is Linux only. Doing an update on Linux for a Windows only project works fine for example, and it should for any combination of platforms.

@ReimarBauer
Copy link
Member Author

Irrespective of that, the underlying issue seems to be a pixi bug and deserves a report upstream: it should be possible to run pixi update on macOS even if the specified platform is Linux only. Doing an update on Linux for a Windows only project works fine for example, and it should for any combination of platforms.

ah ok, I was not aware on that.

@ReimarBauer
Copy link
Member Author

Are we planning to support the tutorials on Windows and macOS? If yes this change makes sense, but is there an issue for it already?

initially it was partly, I focused for the refactoring on linux first. It was just difficult without having these platforms to understand the differences in the window managers, etc.

@ReimarBauer
Copy link
Member Author

workaround until this is solved
prefix-dev/pixi#3382

@ReimarBauer ReimarBauer merged commit ed0ecee into Open-MSS:stable Mar 19, 2025
8 of 11 checks passed
@ReimarBauer ReimarBauer deleted the i2658 branch March 19, 2025 07:27
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.

pixi update / pixi lock on OSX-64, ARM-OSX-64, WIN-64 fails

2 participants