DariuszPorowski / mkdocs-file-filter-plugin

A MkDocs plugin that lets you exclude/include docs files using globs, regexes, gitignore-style file and Markdown/FrontMatter tags metadata.
https://pypi.org/project/mkdocs-file-filter-plugin/
MIT License
8 stars 3 forks source link

Allow for earlier versions of pyyaml #82

Closed wesleykendall closed 1 year ago

wesleykendall commented 1 year ago

💌 Description

Requiring pyyaml>=6 makes it impossible to install this tool if other dependencies in your project, such as awscli, require pyyaml<6.

Giving this dependency more flexibility will allow me to use it in my project. I assume it will not break the behavior of the tool. Please let me know if I'm wrong or if this project is directly depending on features only available in Pyyaml 6.

Thanks for making this!

DariuszPorowski commented 1 year ago

@wesleykendall will review and do test tomorrow :) I think it will work:)

codecov[bot] commented 1 year ago

Codecov Report

Merging #82 (a171be4) into main (6d24709) will not change coverage. The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #82   +/-   ##
=======================================
  Coverage   19.15%   19.15%           
=======================================
  Files           6        6           
  Lines         214      214           
=======================================
  Hits           41       41           
  Misses        173      173           
DariuszPorowski commented 1 year ago

Hi @wesleykendall, new version has been released. Did small adjustment to pyyaml >=5.1,<7. TO make sure min version follows MkDocs' pyyaml requirements.