Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove dependence on crate ra_ap_stdx #230

Merged
merged 3 commits into from
Oct 29, 2024

Conversation

jlapeyre
Copy link
Collaborator

  • Remove importing stdx::eprintln!. This was unused in any case
  • Vendor a very small macro format_to from ra_ap_stdx. This was the last feature that we used from that library.
  • Remove ra_ap_stdx from crates/oq3_syntax/Cargo.toml
  • Remove a macro call testing whether we are in the rust tree. CI failed locally with this test. We are never in the rust tree, so it should be removed in any case.

Closes #229

* Remove importing stdx::eprintln!. This was unused in any case
* Vendor a very small macro `format_to` from ra_ap_stdx. This was the last feature
  that we used from that library.
* Remove ra_ap_stdx from crates/oq3_syntax/Cargo.toml
* Remove a macro call testing whether we are in the rust tree. CI failed locally
  with this test. We are never in the rust tree, so it should be removed in
  any case.
@jlapeyre
Copy link
Collaborator Author

CI is failing:

error: package rowan v0.15.16 cannot be built because it requires rustc 1.77.0 or newer, while the currently active rustc version is 1.70.0

I built and ran CI locally with both versions. Maybe I refreshed the lock file inadvertently...

rowan 0.5.16 requires rust 1.77. We need to support rust 1.70
Apparently rowan 0.5.15 is enough
@jlapeyre
Copy link
Collaborator Author

@mtreinish

It looks like this PR is ok. The macos-11 CI is stuck. I've seen it in the past. Can't recall if it actually runs after a few hours.

@jakelishman
Copy link
Member

macos-11 is removed as an image - we'll need to update the runner to use macos-12 at least.

@jlapeyre
Copy link
Collaborator Author

macos-11 is removed as an image

I'll make a PR for that first, tomorrow (NY time)

macos-11 causes CI to fail, or hang, because the image for macos-11
is no longer available. macos-12 is also not available.
@jlapeyre
Copy link
Collaborator Author

@mtreinish, bump. I think is ok?

@jlapeyre jlapeyre merged commit 9c4fb16 into Qiskit:main Oct 29, 2024
7 checks passed
@jlapeyre jlapeyre deleted the upgrade-ra-ap-stdx branch October 29, 2024 11:54
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.

Build warning with Rust 1.81.0
2 participants