From 5ff60c1206f3b34482088a2d6aaa0445c9da2092 Mon Sep 17 00:00:00 2001 From: Lyz Date: Fri, 26 Nov 2021 10:49:11 +0100 Subject: [PATCH] fix: revert the ruyaml dependency Until https://github.com/pycontribs/ruyaml/issues/58 is resolved, the issue https://github.com/lyz-code/yamlfix/issues/120 will remain because we can't hardcode dependencies from github in the `setup.py` because Pypi doesn't allow them. If you need that feature, please change the "ruyaml" line in the `setup.py` with: ```python "ruyaml @ git+git://github.com/pycontribs/ruyaml@0.90.0.2#egg=ruyaml", # noqa E800 ``` and run `make install`. --- setup.py | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/setup.py b/setup.py index dc97ced..406eca9 100644 --- a/setup.py +++ b/setup.py @@ -52,9 +52,14 @@ """, install_requires=[ "click", - # ruyaml pinned to 0.90.0.2 to include fix of anchors and aliases. - # This version is not available in pypi. - # See https://github.com/lyz-code/yamlfix/issues/120. - "ruyaml @ git+git://github.com/pycontribs/ruyaml@0.90.0.2#egg=ruyaml", + "ruyaml", + # Until https://github.com/pycontribs/ruyaml/issues/58 is resolved, the issue + # https://github.com/lyz-code/yamlfix/issues/120 will remain because we can't + # hardcode dependencies from github in the setup.py because Pypi doesn't allow + # them. + # + # If you need that feature, please change the "ruyaml" line above with + # "ruyaml @ git+git://github.com/pycontribs/ruyaml@0.90.0.2#egg=ruyaml", # noqa E800 + # and run `make install`. ], )