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

Support old Rust on R-universe builder (Rust 1.61 on ubuntu:jammy) #39

Merged
merged 5 commits into from
Jan 18, 2023

Conversation

eitsupi
Copy link
Member

@eitsupi eitsupi commented Jan 18, 2023

Trying to fix #37 for R-universe.

@eitsupi eitsupi added the bug Something isn't working label Jan 18, 2023
@eitsupi eitsupi marked this pull request as ready for review January 18, 2023 15:39
@eitsupi eitsupi changed the title Support old Rust on R-universe builder Support old Rust on R-universe builder (Rust 1.61 on ubuntu:jammy) Jan 18, 2023
@@ -10,6 +10,6 @@ name = "prqlr"
[dependencies]
extendr-api = { git = "https://github.com/extendr/extendr", rev = "f511254b1be180528a1711e4c87473966a1010d0" }
# extendr-api = "0.3.1"
prql-compiler = { git = "https://github.com/PRQL/prql", rev = "1b4217c01c590c51a3e80c8a11b28f78f109a110", default-features = false }
prql-compiler = { git = "https://github.com/eitsupi/prql", rev = "996a783b56186c3711e065a5b347e6489155085e", default-features = false }
Copy link
Member Author

Choose a reason for hiding this comment

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

The commit is on PRQL/prql#1561
Unfortunately, it seems that cargo shipped with Rust 1.61 cannot refer to this commit unless the fork URL is specified.

Copy link
Member Author

Choose a reason for hiding this comment

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

I mistakenly thought I could only install from a fork, but that must have been because I had not yet pushed the commit to PR.
Updated by #40

Copy link
Member Author

Choose a reason for hiding this comment

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

Hmm, from playing around locally, it seems that Rust 1.61 sometimes installs this and sometimes doesn't, so it still seems basically correct that it can't......

@eitsupi
Copy link
Member Author

eitsupi commented Jan 18, 2023

It works.
image

Windows builds are failing, but this is obviously a different problem. (r-universe-org/help#219)

@eitsupi eitsupi merged commit 0a59c95 into main Jan 18, 2023
@eitsupi eitsupi deleted the try-other-ref branch January 18, 2023 15:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Rust version compatibility
1 participant