-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
quarto: 1.5.57 -> 1.6.30 #349683
quarto: 1.5.57 -> 1.6.30 #349683
Conversation
|
19a60fc
to
5cd360d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(See #349444 (comment).)
0ce43f6
to
9c5c005
Compare
Marked with the following warning:
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello.
Thanks for trying to resolve this issue. Apologies for not catching this earlier via the passthru tests when bumping deno.
I won't be helping maintain this separate deno
expression. Until the quarto devs are more positive and friendly towards downstream consumer repos I'd appreciate not being CCed in issues/PRs for this particular expression.
If @emilazy is happy with the combination of using knownVulnerabilities
+ hiding deno 1 under this folder then I'm happy.
Otherwise our only option might be to drop quarto for the time-being.
I'd also recommend getting approval from the maintainers for this package before merging :)
I made a post on the quarto discussion giving some background and disputing some of the statements. Hopefully it'll do more good than bad 😅 the goal was to put things into perspective a bit.
I'll be focusing on what I can fix for next time at the very least.
Cheers
9c5c005
to
987a2ea
Compare
Hey, thanks for the feedback. I've updated the maintainers list. The command being used to test the binary ( Both team have different priorities and I think that's mostly fine. The javascript ecosystem moves so fast, I'm not that surprised if teams have trouble keeping up with changes. The PR here, if accepted, seems like a good compromise and I think addresses some of their teams concerns as well. Hopefully Deno's plans to offer LTS in 2.1 helps with this situation too. One more CC to the maintainers @minijackson @MrTarantoga for good measure. Thanks all. Edit: Ah, okay |
Do things work if bumping up to the pre-release version? I tried 1.6.30 locally with the following changes, and
I haven't tried anything else yet (I stumbled on this while newly trying to use quarto with molten-nvim, so I have no experience with this package before). |
Thanks for chiming in. That does indeed work and should have been the first thing I checked. I'll will check pre-releases in the future. I'm not seeing anything wrong with the basic functionality and the project I use this for also doesn't have any issues with it, so I think we can move forward with this instead. |
987a2ea
to
c274e99
Compare
thank you for this @detroyejr and @tjni I was just bit by the bug #349444 and am glad there's a fix! However I'm not sure I understand why this works, latest quarto pre-realese doesn't rely on Deno 2 either? |
This is my best guess at the moment for why this works. When nixpkgs jumped from 1 to 2, I assumed this broke because of the major version change. However, quarto now uses a newer minor version of deno 1 as of 3 weeks ago and that's probably the reason this pre-release works. In other words, 1.41.0 -> 1.46.3 is compatible (the last version of deno v1 nixpkgs supported) and 1.46.3 - > 2 works well enough based on this PR, but 1.41.0 -> 2 does not. If quarto was built from source we'd have other deno issues to solve as noted by the quarto team, but there's enough compatibility between the two versions that this works for now. |
I see this makes sense btw, and sorry for the off topic, but there's a matrix channel dedicated to the R language where we coordinate, review each other's PRs and so on https://matrix.to/#/#r:nixos.org would be nice if you all could join |
@emilazy would you mind taking another look at this one? we think we found a way to move forward on Deno 2. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Result of nixpkgs-review pr 349683
run on x86_64-linux 1
6 packages built:
- quarto
- quartoMinimal
- rstudio
- rstudio-server
- rstudioServerWrapper
- rstudioWrapper
1.6.30 is still a pre-release, but I think it's acceptable since the package is currently broken, due to the Deno 2 issue.
From the release schedule point of view, I think the Quarto breaking change is also fine, for the same reason.
Sorry if I have been slow to respond. I don't have many occasions to use Quarto anymore, so if someone wants to replace me as maintainer, feel free to step up!
I’m a little hesitant about this one. I’m definitely glad that it no longer involves reintroducing Deno 1! But it seems like Quarto upstream may be unwilling to support any package that doesn’t pin their entire exact dependency tree, which is obviously ot viable for us, and I’m not sure that we have any easy way of marking that users should go to us for support first. If they’re worried about support burden, then shipping a preview release might make that situation worse. From the discussions, it seems likely that Quarto not working with the version of Deno we package will continue to happen in future, so I’m a bit worried about the sustainability of this package. On the other hand, I don’t think that upstreams should have an absolute veto on what we package, and it’s unclear to me how much the feelings on our package expressed reflect that of individual Quarto contributors vs. project‐wise consensus. This PR is an improvement over the status quo, since our current package is completely non‐functional, so I’m removing my blocking review, but I’d feel more confident if someone else were to approve this one. I’ll link it in the review requests chat. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think we should keep doing what's convenient for us, just as upstream is doing what is convenient for them, with the understanding that they don't have resources to help us. Perhaps we'll find out over time that they're right and that maintenance becomes a huge burden, in which case we can change course.
In the meantime, this change looks good to me too.
I guess shipping a patched ubuntu binary would be a solution ? |
Thanks for sorting out this fix @detroyejr! 🙏 🙏 |
@shriv assuming you're using nixpkgs unstable it usually only takes a few days. You can see where it's currently available here. |
Thanks @detroyejr! I am indeed using |
The
deno
package now points to Deno v2 as of last week (#347484). However, there's currently a compatibility issue with quarto that's causing some problems so I've pinned to the previous version.Fixes #349444.
CC maintainers @minijackson @MrTarantoga
Things done
nix.conf
? (See Nix manual)sandbox = relaxed
sandbox = true
nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)Add a 👍 reaction to pull requests you find important.