From 3ef85e12be9ad83afbf49a4978523a4da6dc24b1 Mon Sep 17 00:00:00 2001 From: Jerin Philip Date: Fri, 24 Jun 2022 08:57:39 +0100 Subject: [PATCH] Python package: pyyaml >= 5.1 (#429) Fixes issue on Colab which says vanilla YAML intall (3.x) does not have yaml.FullLoader (https://stackoverflow.com/a/55553392/4565794). Fix a broken link for presentation in PyPI. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index ddba0c6..51161a3 100644 --- a/setup.py +++ b/setup.py @@ -209,7 +209,7 @@ setup( python_requires=">=3.6", packages=["bergamot"], package_dir={"bergamot": "bindings/python"}, - install_requires=["requests", "pyyaml", "appdirs"], + install_requires=["requests", "pyyaml>=5.1", "appdirs"], entry_points={ "console_scripts": [ "bergamot = bergamot.__main__:main", @@ -241,7 +241,7 @@ setup( "Programming Language :: Python :: 3 :: Only", ], project_urls={ - "Bug Reports": "https://github.com/browsermt/bergamot-transator/issues", + "Bug Reports": "https://github.com/browsermt/bergamot-translator/issues", "Source": "https://github.com/browsermt/bergamot-translator/", "Documentation": "https://browser.mt/docs/main/python.html", },