-
-
Notifications
You must be signed in to change notification settings - Fork 12
Quarto 1.4.549 #36
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.4.549 #36
Conversation
|
Hi! This is the friendly automated conda-forge-linting service. I just wanted to let you know that I linted all conda-recipes in your PR ( |
|
@SaravananSathyanandhaQC would you like to be added as a maintainer? |
|
I haven't seen this before, I think this is new now that we're trying to build 1.4. It looks like Are you on the Conda Forge Matrix server? We could chat there to work through some of the issues in a more real-time way if you'd like! |
|
💭 While we're in here, should we consider updating these patches so they don't require offsets or fuzzing? |
|
This patch gets me past the error, but now I get a warning. diff --git a/package/src/common/configure.ts b/package/src/common/configure.ts
index e5f83603e..a77316b26 100644
--- a/package/src/common/configure.ts
+++ b/package/src/common/configure.ts
@@ -154,7 +154,9 @@ export function copyPandocScript(config: Configuration, targetDir: string) {
}
if (Deno.build.os !== "windows") {
- info("> creating pandoc symlink");
+ info("> creating pandoc symlink in " + targetDir);
+ Deno.run({cmd: ["mkdir", "-p", targetDir]});
Deno.run({
cwd: targetDir,
cmd: ["ln", "-s", linkTarget, "pandoc"]Warning: |
|
I seem to have also gotten a build without that warning, but not sure how. After installing that locally-built package, I can do Indeed, no such file is there. Although it does actually render a website! I have to set this down for now, but hopefully the above was helpful :) |
|
@cderv any thoughts on the symlink issue we're seeing and upstreaming the patch? |
|
Are the dependencies for Quarto being downloaded as a part of edit: I'd be in favor of upstreaming whatever you need so you don't have to keep patching Quarto! |
Awesome, thanks :)
I'm not completely sure! I've been learning as I go and the configuration process has been a bit mystifying to me. Apologies for needing my hand held a little bit here :) Is there any documentation on the configuration process you could point me to, or if not, perhaps we could collaborate to make some? I see from the following from my test build:
|
|
Ok, I think I see what is happening (and you are essentially correct in your comment above). Typically, when we Because we never place I think the right fix is to respect the vendoring flag when attempting to make that symlink as well. Does that make sense? |
Note that if we are being instructed not to vendor binaries, Pandoc won't be present in the architecture specific directory, so just skip this step. See conda-forge/quarto-feedstock#36
|
Ok, I've made the upstream fix here: this just missed a patch release of Quarto 1.4, so is in our pre-release builds of Quarto 1.5. For the time being, I think it may make sense to just use that commit to patch 1.4.449 (or .450) until we release our next path release (I can back port this to our 1.4 branch)- does that work? |
|
Right on @dragonstyle, thank you for your expertise here! I will try and do a test build with a patch from the commit you linked. I'll include information about the expected lifetime of the patch in the patch message, and link back to your comment above so future us can get back on the same page :) May be a bit later tonight, or even tomorrow. Not sure yet :) |
|
Got a successful build with this change, commit pushing shortly. However, when I test, I still get so much spam when I run Every time a page loads, dozens of these print. But in the browser, everything seems to be working great. |
TODO: Revert this commit when the next Quarto release >1.4.550 is out
|
I was able to get this to build with this heavy-handed patch: e86cb4b I'm not sure how / if this could be addressed upstream. @dragonstyle thoughts? |
|
That's a reasonable patch for the time being - I will make an upstream change that will probably just force rebuilding it when configure is run, but that will have the same issue as the other upstream fix (need to keep the patch for now). That JS handles auto-reload of previews (e.g. run quarto preview, then modify the qmd and ensure reload happens), just FYI. |
|
Sounds great. I'll try building a couple more of my projects and then I think we can merge this. |
|
I was able to build ~5 different projects, some using Jupyter, some using LaTex, some RevealJS. Let's go! |
|
OSX build had a timeout downloading mamba forge. I think we need some magic incantations to either update the feedstock or just re-run. |
|
@conda-forge-admin, please rerender |
|
Hi! This is the friendly automated conda-forge-webservice. I tried to rerender for you, but it looks like there was nothing to do. This message was generated by GitHub actions workflow run https://github.com/conda-forge/quarto-feedstock/actions/runs/7924564999. |
|
@conda-forge-admin, please restart ci |
|
I'm not sure why some of the builds aren't being restarted. I'm going to wait it out and then restart CI again and see if that works. 😩 |
Note that if we are being instructed not to vendor binaries, Pandoc won't be present in the architecture specific directory, so just skip this step. See conda-forge/quarto-feedstock#36
|
(Upstream fix to preview issue here: quarto-dev/quarto-cli@78ae90e ) Both fixes are back ported and will be in our next patch release of 1.4 (no ETA at this time) Thank you for all your work on this @mfisher87 !!! |
|
Amazing! Same to you @dragonstyle , pleasure working with you :) |
|
hey @mfisher87 ! Sorry I was off past week. Thanks a lot for the all the work, and thanks @dragonstyle for helping with this ! Awesome ! |
|
❤️ Welcome back, hope you had a restful break! :) It's always a pleasure working with you all. |
Removes a patch as per #33
Checklist
0(if the version changed)conda-smithy(Use the phrase@conda-forge-admin, please rerenderin a comment in this PR for automated rerendering)