Skip to content

Conversation

@mtreinish
Copy link
Member

Summary

With Apple deprecating the platform support and removing it in future OS versions, github is similarly marking the end of support for x86_64 macOS suppport in github actions:

https://github.blog/changelog/2025-09-19-github-actions-macos-13-runner-image-is-closing-down/

With this our hands our tied as we rely on github actions to test and build on the platform in CI. As the platform is still supported for now this commit starts the process of dropping it as a supported platform by downgrading it to tier 2. This means that we are no longer running tests on x86_64 macOS in PR CI jobs, it is relegated to only run during the wheel builds. This commit makes the necessary CI configuration changes to do this and adds a release note to document the downgrade of support. We should update the platform support docs page at:

https://quantum.cloud.ibm.com/docs/en/guides/install-qiskit#operating-system-support

when we are preparing the 2.3.0 release to indicate this change there too.

Details and comments

With Apple deprecating the platform support and removing it in future OS
versions, github is similarly marking the end of support for x86_64
macOS suppport in github actions:

https://github.blog/changelog/2025-09-19-github-actions-macos-13-runner-image-is-closing-down/

With this our hands our tied as we rely on github actions to test and
build on the platform in CI. As the platform is still supported for now
this commit starts the process of dropping it as a supported platform by
downgrading it to tier 2. This means that we are no longer running tests
on x86_64 macOS in PR CI jobs, it is relegated to only run during the
wheel builds. This commit makes the necessary CI configuration changes
to do this and adds a release note to document the downgrade of
support. We should update the platform support docs page at:

https://quantum.cloud.ibm.com/docs/en/guides/install-qiskit#operating-system-support

when we are preparing the 2.3.0 release to indicate this change there
too.
@mtreinish mtreinish added this to the 2.3.0 milestone Sep 22, 2025
@mtreinish mtreinish requested a review from a team as a code owner September 22, 2025 02:51
@mtreinish mtreinish added type: qa Issues and PRs that relate to testing and code quality Changelog: API Change Include in the "Changed" section of the changelog ci: test wheels Run the wheel-build scripts as an additional CI run for this PR labels Sep 22, 2025
@qiskit-bot
Copy link
Collaborator

One or more of the following people are relevant to this code:

  • @Qiskit/terra-core

@coveralls
Copy link

coveralls commented Sep 22, 2025

Pull Request Test Coverage Report for Build 17940500877

Warning: This coverage report may be inaccurate.

This pull request's base commit is no longer the HEAD commit of its target branch. This means it includes changes from outside the original pull request, including, potentially, unrelated coverage changes.

Details

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • 186 unchanged lines in 3 files lost coverage.
  • Overall coverage increased (+0.02%) to 88.296%

Files with Coverage Reduction New Missed Lines %
crates/circuit/src/parameter/parameter_expression.rs 1 82.79%
crates/qasm2/src/lex.rs 4 92.01%
crates/circuit/src/dag_circuit.rs 181 84.55%
Totals Coverage Status
Change from base Build 17859742834: 0.02%
Covered Lines: 92726
Relevant Lines: 105017

💛 - Coveralls

The previous commit left the macos x86_64 build in the first wheel build
stage. This however meant we were treating the job as a tier 1 platform
build still and also running PGO on the build. Since we reserve those
for tier 1 platforms it wasn't a good fit. Also, from the single test run
the new macOS 15 intel runner is signficantly slower (which is not
definitive evidence due to the variability of cloud hosting performance)
so blocking the tier 1 platforms on the macOS intel build isn't
desireable. This commit fixes this by moving it to the second stage of
the build and disabling PGO for that build.
mtreinish added a commit to mtreinish/qiskit-documentation that referenced this pull request Sep 23, 2025
In Qiskit 2.3 the macOS x86_64 platform will be downgraded from tier 1
to tier 2 (see Qiskit/qiskit#15041 for more details). This is due to
lack of support from apple and limited resources available on Github
for the platform. This commit updates the documentation page for
platform support to reflect this change. This should not be merged
until Qiskit 2.3.0 as this change only takes effect in 2.3.0 and
2.2.x still has tier 1 support for the platform.
@mtreinish
Copy link
Member Author

I've pushed up a docs PR: Qiskit/documentation#3951 to update the platform support docs to reflect this change. We won't be able to merge that until we update the docs for 2.3.0 though.

Co-authored-by: Jake Lishman <jake@binhbar.com>
@jakelishman jakelishman added this pull request to the merge queue Sep 26, 2025
Merged via the queue into Qiskit:main with commit 7233686 Sep 26, 2025
29 of 31 checks passed
@mtreinish mtreinish deleted the macos-intel-tier-2 branch October 7, 2025 14:00
@github-project-automation github-project-automation bot moved this to Ready in Qiskit 2.3 Oct 7, 2025
@jakelishman jakelishman moved this from Ready to Done in Qiskit 2.3 Oct 7, 2025
aaryav-3 pushed a commit to aaryav-3/qiskit that referenced this pull request Oct 21, 2025
* Drop macOS x86_64 to tier 2

With Apple deprecating the platform support and removing it in future OS
versions, github is similarly marking the end of support for x86_64
macOS suppport in github actions:

https://github.blog/changelog/2025-09-19-github-actions-macos-13-runner-image-is-closing-down/

With this our hands our tied as we rely on github actions to test and
build on the platform in CI. As the platform is still supported for now
this commit starts the process of dropping it as a supported platform by
downgrading it to tier 2. This means that we are no longer running tests
on x86_64 macOS in PR CI jobs, it is relegated to only run during the
wheel builds. This commit makes the necessary CI configuration changes
to do this and adds a release note to document the downgrade of
support. We should update the platform support docs page at:

https://quantum.cloud.ibm.com/docs/en/guides/install-qiskit#operating-system-support

when we are preparing the 2.3.0 release to indicate this change there
too.

* Move macos-intel job to second wheel stage

The previous commit left the macos x86_64 build in the first wheel build
stage. This however meant we were treating the job as a tier 1 platform
build still and also running PGO on the build. Since we reserve those
for tier 1 platforms it wasn't a good fit. Also, from the single test run
the new macOS 15 intel runner is signficantly slower (which is not
definitive evidence due to the variability of cloud hosting performance)
so blocking the tier 1 platforms on the macOS intel build isn't
desireable. This commit fixes this by moving it to the second stage of
the build and disabling PGO for that build.

* Update .github/workflows/wheels-build.yml

Co-authored-by: Jake Lishman <jake@binhbar.com>

---------

Co-authored-by: Jake Lishman <jake@binhbar.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changelog: API Change Include in the "Changed" section of the changelog ci: test wheels Run the wheel-build scripts as an additional CI run for this PR type: qa Issues and PRs that relate to testing and code quality

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants