Skip to content
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

Manubot upgrade required to fix broken builds #1

Open
dhimmel opened this issue Nov 11, 2020 · 0 comments
Open

Manubot upgrade required to fix broken builds #1

dhimmel opened this issue Nov 11, 2020 · 0 comments

Comments

@dhimmel
Copy link
Contributor

dhimmel commented Nov 11, 2020

Greetings Manubot manuscript user. On 2020-11-09, most Manubot manuscripts started encountering errors when building. This does not endanger the existing manuscript, but does make it so changes to the manuscript won't be automatically published by continuous integration.

The error occurs during pandoc-manubot-cite filter execution, when panflute detects an incompatible Pandoc version and raises TypeError: ('invalid api version', [1, 20]). The issue was triggered when version 2 of panflute was released, which dropped support for older Pandoc versions. We (the Manubot maintainers) had forgotten to pin the panflute dependency, so CI installs the most recent version from PyPI, which happens to be incompatible. See manubot/rootstock#387 for more information.

The suggested fix is to update to the latest version of manubot/rootstock, as described in SETUP: Merging upstream rootstock changes. We are happy to review upgrade pull requests (just mention it here). In addition, if you are having trouble upgrading, let us know and we can open a pull request to do so.

Upgrading to the current rootstock will also resolve manubot/rootstock#388, which relates to the following message you might have seen in your GitHub Actions CI logs:

The set-env command is deprecated and will be disabled on November 16th.

Thanks for being an early adopter of Manubot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant