fastai / fastpages

An easy to use blogging platform, with enhanced support for Jupyter Notebooks.
https://fastpages.fast.ai/
Apache License 2.0
3.53k stars 756 forks source link

Pin pyaml #593

Closed hamelsmu closed 2 years ago

hamelsmu commented 2 years ago

If we don't pin pyaml, people cannot upgrade. The latest version of pyaml makes a breaking change and folks will get the error TypeError: load() missing 1 required positional argument: 'Loader', this is my mistake as I should have pinned this dependency.

Unfortunately, I cannot propagate this fix easily to all fastpages users. This will only fix the issue for new users, which is one of the flaws of fastpages, as certain files like this are permanently "vendored" in without a clean way to upgrade them, since this is the file that drives the upgrading

cc: @tmabraham