-
Notifications
You must be signed in to change notification settings - Fork 0
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
Make site be buildable with Python 3 #45
Comments
There is an annoying problem here: - The site depends on `pygments.rb` - Pygments.rb in turn, communicates with a Python process using a pipe (reading and writing to stdin/stdout from Python running as a child process) - The version of Pygments.rb we use (?) do not work with Python 3. Only Python 2 works. Ubuntu 22.04 uses Python 3 by default (and this is perhaps the case with Ubuntu 20.04 also), which causes errors like the one seen in https://github.com/perlun/perlun.eu.org/actions/runs/5913115348/job/16037183000. Copying it here into the git commit log, since Github Actions logs are unfortunately not retained forever. bundle exec jekyll build Deprecation: The 'gems' configuration option has been renamed to 'plugins'. Please update your config file accordingly. Configuration file: /home/runner/work/perlun.eu.org/perlun.eu.org/_config.yml Source: /home/runner/work/perlun.eu.org/perlun.eu.org Destination: /home/runner/work/perlun.eu.org/perlun.eu.org/_site Incremental build: disabled. Enable with --incremental Generating... Building site for default language: "xx" to: /home/runner/work/perlun.eu.org/perlun.eu.org/_site Building site for language: "sv" to: /home/runner/work/perlun.eu.org/perlun.eu.org/_site/sv Loading translation from file /home/runner/work/perlun.eu.org/perlun.eu.org/_i18n/sv.yml Building site for language: "en" to: /home/runner/work/perlun.eu.org/perlun.eu.org/_site/en Conversion error: Jekyll::Converters::Markdown encountered an error while converting '_i18n/en/_posts/2017-03-17-new-features-in-c-sharp-6-0-and-7-0.md': No header received back. jekyll 3.9.2 | Error: No header received back.
See these GitHub issues for some more details: |
Should be fixed as of #54, I think. Let's try upgrading the CI to Ubuntu 22.04 now to see if it works. If we're really wild and crazy, we could even give 24.04 a shot (but I'm not sure GitHub supports it yet? Checked: public beta is available now: actions/runner-images#9691). |
|
Fixed in #56 indeed, and seems to works fine. 🎉 Closing away. |
Quoting #26 (comment), which in turn takes this from 81254d8:
We need to make this work, by the next year at the very latest, since Ubuntu 20.04 is going EOL then. It's unclear if/when GitHub will drop support for it, but let's rest assured that it will happen sooner or later.
The text was updated successfully, but these errors were encountered: