Repository: spyder-ide/qtsass (language: python)

Issue:
Drop support for Python 2.7, 3.5, and 3.6
Seems like `libssas-python` dropped support for Python 2.7 https://github.com/sass/libsass-python/commit/d333e3c419f48f4b2d96528cb4c83db1f02adaec (there is no release with that change for the moment but still I guess the latest release that supports Python 2.7 will be the current one `0.21.0`).

Taking the opportunity, maybe removing support for others already out of date Python versions like 3.5 and 3.6 could be worty.

Also, should we release QtSASS v0.3.2 adding a constraint to `libsass<=0.21.0` before proceeding with dropping the support for Python <=3.6 @ccordoba12 ?


Discussion / hints:
> Also, should we release QtSASS v0.3.2 adding a constraint to libsass<=0.21.0 before proceeding with dropping the support for Python <=3.6 @ccordoba12 ?

Yeah, I think that's a good idea. Then you can remove that constrain in version 0.4.0

Fix patch:
diff --git a/.authors.yml b/.authors.yml
index 62d560f..9e6f234 100644
--- a/.authors.yml
+++ b/.authors.yml
@@ -45,8 +45,14 @@
   num_commits: 22
   first_commit: 2015-08-16 05:22:05
   github: yann-lty
-- name: Daniel Althviz
+- name: Daniel Althviz Moré
   email: d.althviz10@uniandes.edu.co
   aliases:
   - dalthviz
-  github: dalthviz
\ No newline at end of file
+  - Daniel Althviz
+  github: dalthviz
+- name: Sebastian Weigand
+  email: s.weigand.phy@gmail.com
+  aliases:
+  - s-weigand
+  github: s-weigand
\ No newline at end of file
diff --git a/requirements/dev.txt b/requirements/dev.txt
index d249bdb..ae9a7cf 100644
--- a/requirements/dev.txt
+++ b/requirements/dev.txt
@@ -1,4 +1,5 @@
 codecov
+flaky
 isort==4.3.15
 pycodestyle==2.5.0
 pydocstyle==3.0.0
diff --git a/setup.py b/setup.py
index c33e4eb..642849b 100644
--- a/setup.py
+++ b/setup.py
@@ -81,7 +81,7 @@ def get_description():
         'Topic :: Software Development :: Libraries :: Python Modules',
     ),
     install_requires=[
-        'libsass',
+        'libsass<=0.21.0',
     ],
     keywords='qt sass qtsass scss css qss stylesheets',
 )


Test patch:
diff --git a/tests/test_watchers.py b/tests/test_watchers.py
index 89ba6d1..8485ad2 100644
--- a/tests/test_watchers.py
+++ b/tests/test_watchers.py
@@ -18,6 +18,7 @@
 import time
 
 # Third party imports
+from flaky import flaky
 import pytest
 
 # Local imports
@@ -42,6 +43,7 @@ def __call__(self, *args, **kwargs):
 @pytest.mark.parametrize(
     'Watcher', (PollingWatcher, QtWatcher),
 )
+@flaky(max_runs=3)
 def test_watchers(Watcher, tmpdir):
     """Stress test Watcher implementations"""