Skip to content

Make win-arm64 and osx-arm64 migrators native - #6319

Draft
jaimergp wants to merge 2 commits into
mainfrom
winarm64native
Draft

Make win-arm64 and osx-arm64 migrators native#6319
jaimergp wants to merge 2 commits into
mainfrom
winarm64native

Conversation

@jaimergp

@jaimergp jaimergp commented Jul 16, 2026

Copy link
Copy Markdown
Member

Description:

Once smithy 2026.7 is out, GHA will be the default CI provider for Windows x64 and arm64. This means we don't need to cross-compile. I want to avoid the migrator creating cross-compiling PRs when that happens. Is this the way to prevent that from happening? Or does it need a new migrator?

We can do the same with osx-arm64, so I also added it here.

Checklist:

  • Pydantic model updated or no update needed

Cross-refs, links to issues, etc:

Comment thread conda_forge_tick/migrators/arch.py
@jaimergp
jaimergp requested review from baszalmstra and isuruf July 16, 2026 11:04
@jaimergp jaimergp changed the title Make win-arm64 migrator native Make win-arm64 and osx-arm64 migrators native Jul 16, 2026
migrator_version = 1
build_platform = {"osx_arm64": "osx_64"}
migrator_version = 2
build_platform = {"osx_arm64": "osx_arm64"}

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

I think we can also clear this one because what matters is that arches defines the non-default provider.

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

yes please

allowed_schema_versions = {0, 1}
migrator_version = 1
build_platform = {"osx_arm64": "osx_64"}
migrator_version = 2

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Do we need to bump this? Will this restart the migrator?

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

I don't think we want to bump this, because yes, new migrator_version cause everything in scope to be rebuilt; we don't want to rebuild all feedstocks that added osx-arm64 builds.

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.

2 participants