Closed quist00 closed 4 months ago
Hi @quist00, I am running Mac OS Ventura on an M2 Mac and my transition script is using pandoc v. 2.19.2, so older versions must be possible somehow.
I cannot remember how I installed it, though.
Okay, perhaps it is somehow M1 specific and/or has something to do with the R dependency calculator, as I have pandoc 2.19 running on my system itself, but whne I run Rscript establish-template.R template/
I get the result below.
(base) @.*** lesson-transition % Rscript establish-template.R template/
Warning message:
package ‘cli’ was built under R version 4.3.1
ℹ creating a new sandpaper lesson
ℹ Updating workflows
ℹ Workflows/files updated:
ℹ Removing boilerplate
ℹ Provisioning pandoc
ℹ Fetching Pandoc releases info from github...
Error in pandoc_release_asset()
:
! Pandoc binaries for arm64 on Mac are available for 3.1.2 and above only
Backtrace:
▆
└─pandoc::pandoc_install("2.19.2")
└─pandoc:::pandoc_release_asset(version)
└─rlang::abort("Pandoc binaries for arm64 on Mac are available for 3.1.2 and above only")
Execution halted
David Palmquist Analyst/Programmer Pollak Library
P: 657-278-3041
[Cal State Fullerton]
From: Toby Hodges @.> Date: Monday, February 12, 2024 at 6:45 AM To: carpentries/lesson-transition @.> Cc: Palmquist, David @.>, Mention @.> Subject: [External] Re: [carpentries/lesson-transition] Update pandoc version to 3.1.2 min required by M architecture (PR #96) External Email Use Caution and Confirm Sender
Hi @quist00https://urldefense.com/v3/__https://github.com/quist00__;!!GF3VTAzAMGBM8A!yIl_LT0ndDY4NUNmAvnjFELynVJsvFGD_p_lUW5lOwv3bGYbt61OCsHAZRC0bECdulhjybEiAMOt2TgwKbc_d1Zd8L0pxqI$, I am running Mac OS Ventura on an M2 Mac and my transition script is using pandoc v. 2.19.2, so older versions must be possible somehow.
I cannot remember how I installed it, though.
— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https://github.com/carpentries/lesson-transition/pull/96*issuecomment-1938814972__;Iw!!GF3VTAzAMGBM8A!yIl_LT0ndDY4NUNmAvnjFELynVJsvFGD_p_lUW5lOwv3bGYbt61OCsHAZRC0bECdulhjybEiAMOt2TgwKbc_d1ZdGXDr7Ug$, or unsubscribehttps://urldefense.com/v3/__https://github.com/notifications/unsubscribe-auth/ACIAOIQRQKZAXMXVFNSXL73YTITJ7AVCNFSM6AAAAABDD4XIEWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZYHAYTIOJXGI__;!!GF3VTAzAMGBM8A!yIl_LT0ndDY4NUNmAvnjFELynVJsvFGD_p_lUW5lOwv3bGYbt61OCsHAZRC0bECdulhjybEiAMOt2TgwKbc_d1ZdOCAFL2E$. You are receiving this because you were mentioned.Message ID: @.***>
@tobyhodges - I ran into the same issue as @quist00 when doing the lesson transition for the Trainer Training curriculum. I was able to successfully complete the transition after updating pandoc version to 3.1.2. I'm running an M1 with Ventura 13.3.1.
I'm going to try merging this, since @DamienIrving reported the same problem. If it breaks the workflow for folks on other systems, we will have to explore more complicated approaches.
The minimum Pandoc version that runs on Mac M processors is 3.1.2. After this modification, I as able to successfully convert Python for the Humanities lesson without any apparent issues. Pushed to my own fork for testing: https://quist00.github.io/python-humanities-lesson/