Skip to content

Commit

Permalink
fix: revert the ruyaml dependency
Browse files Browse the repository at this point in the history
Until pycontribs/ruyaml#58 is resolved, the issue
#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/[email protected]#egg=ruyaml", # noqa E800
```

and run `make install`.
  • Loading branch information
lyz-code committed Nov 26, 2021
1 parent 9ec5361 commit 5ff60c1
Showing 1 changed file with 9 additions and 4 deletions.
13 changes: 9 additions & 4 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -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/[email protected]#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/[email protected]#egg=ruyaml", # noqa E800
# and run `make install`.
],
)

0 comments on commit 5ff60c1

Please sign in to comment.