myint / language-check

Python wrapper for LanguageTool grammar checker
https://pypi.python.org/pypi/language-check
GNU Lesser General Public License v3.0
326 stars 102 forks source link

CI timeouts during installation #44

Open jayvdb opened 7 years ago

jayvdb commented 7 years ago

As the installation can take quite a while, it would be useful to emit some progress indicators during the process so that CI doesnt fail because it hasnt seen any output.

coala is seeing lots of timeout failures due to this problem: https://circleci.com/gh/jayvdb/coala-bears

(But this is aggravated by a bug in our Circle CI (https://github.com/coala/coala-bears/issues/1863) , but fixing that doesnt entirely resolve this issue.)

jayvdb commented 7 years ago

Also occurring on Appveyor, which appears to not have a timeout. https://ci.appveyor.com/project/coala/coala-bears/build/1.0.6907

myint commented 7 years ago

There is a progress percentage printed out, but maybe it doesn't notice it. Or maybe pip is hiding it.

Travis CI does notice the output. But sometimes, the download just takes an hour for some reason:

https://travis-ci.org/myint/language-check/jobs/246270573#L156

jayvdb commented 7 years ago

Ah I see, yes pip was hiding it in most of these cases. Maybe there is a pip flag required to prevent that.

jayvdb commented 7 years ago

I believe this feature of pip 9 is the cause of the problem : https://github.com/pypa/pip/pull/3858

(edit: no, that aint it :/)

sils commented 7 years ago

But sometimes, the download just takes an hour for some reason

Is that a problem with the infrastructure of languagetool.org maybe? Alternative could be to put that stuff on GitHub.

Makman2 commented 7 years ago

Is there a possibility to cache language-check and necessary data?

jxmorris12 commented 4 years ago

Hi! Since this project has been abandoned, I started a new fork over at https://github.com/jxmorris12/language_tool_python.

My version supports new versions of Java and LanguageTool. language-check is stuck on Java 8 and LanguageTool 3.2; latest versions are Java 14 and LanguageTool 4.9!

I'm happy to help you with your issue if you raise it over at my repository! Thanks!