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
Installation Instructions 2022/23 #138
Comments
@joelostblom do you know that the version of bash that Macs are using by default is 3.2? What do you get if you run |
Sorry this became quite long xp The summary is that it would be better to switch to a new version of Bash or to Zsh, but all the solutions I could think of two years ago would require a rather big time investment to make sure they work properly, so I stuck with old Bash on Macs. Yes, the default version on Macs is ancient =( I believe it is due to a licensing change that made MacOS stop including new updates of Bash. This is annoying and leads to some new features breaking (e.g. tab cycling and I had to write the setup instructions slightly different for bash on mac). A few years ago, MacOS switch to Zsh as their default terminal, which is great and what I have been using myself for several years. I think we should eventually change from Bash to Zsh everywhere in the MDS, but it is currently hard to run on Windows unless we go full WSL2. Checking that WSL2 works well on windows for everything in MDS is a rather big undertaking and I would like us to have someone on the teaching team that runs this daily themselves before recommending it to students, so I opened #72 for that earlier. So when I was thinking about this two years ago, I saw the following alternatives:
|
Thanks, @joelostblom for the detailed explanation. Updating this seems important to me, and we have evidence that works. However, I am switching to Mac this year, and doesn't seem a good idea to update this so close to the start of the year. We should do it during the year. I have finished the installation in a Mac M2 (#139) and here I will paste the most important changes so you can check them on Linux. Also, there are 2 cases I have not changed yet but are not working. Comments are welcomed.
Here is the result. I am not sure why it is saying that
|
I agree that updating it this close to the start of the year is risky, so doing it later sounds like a good plan! I went ahead and did the Linux instructions update now as well so that there is time to revise before next week. I went through your checklist and opened two PRs with updates, here are my replies to the points above:
👍 I did the same to the Linux instructions.
👍 I did the same to the Linux instructions.
I added the new steps in #141.
Hmm, it does work for me. Did you run the second curl command to download the help script? (
Odd, it works for me with jinja 3.1.2 🤷♂️
I added this too. I also asked the doc team to create a new release, but it will probably not happen in time.
I think this was pinned last year because there was issues with an older version being installed. There are currently issues on Linux with webpdf export, I have noted them in #141 |
Windows installation works without problems after trying #140 🎉
|
I have just realized this message appears on the script and I think it is not necessary @joelostblom
|
I tried adding support for win 11 in #145 |
The text was updated successfully, but these errors were encountered: